Home
last modified time | relevance | path

Searched refs:HASH_LEN (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Drk_atags.c15 #define HASH_LEN sizeof(u32) macro
278 length = (t->hdr.size << 2) - sizeof(struct tag_header) - HASH_LEN; in atags_set_tag()
280 hash = js_hash(t, (size << 2) - HASH_LEN); in atags_set_tag()
281 memcpy((char *)&t->u + length, &hash, HASH_LEN); in atags_set_tag()
337 hash = (u32 *)((ulong)t + (size << 2) - HASH_LEN); in atags_get_tag()
342 calc_hash = js_hash(t, (size << 2) - HASH_LEN); in atags_get_tag()