Hakushu
Due to Shinbutsu-shūgō the origins of this practice are unclear. Shinto and Buddhism have been together so long that many things could come from either. The origin must be ancient though as it is found in the Wajinden describing the Yayoi rituals.