Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/tools/rockchip/
H A Dsha2.h119 } sha512_ctx; typedef
121 typedef sha512_ctx sha384_ctx;
128 sha512_ctx ctx512[1];
134 void sha512_compile(sha512_ctx ctx[1]);
146 void sha512_begin(sha512_ctx ctx[1]);
147 void sha512_hash(sha512_ctx ctx[1], const unsigned char data[], unsigned long len);
148 void sha512_end(sha512_ctx ctx[1], unsigned char hval[]);
H A Dsha2.c486 void sha512_compile(sha512_ctx ctx[1]) in sha512_compile()
529 void sha512_hash(sha512_ctx ctx[1], const unsigned char data[], in sha512_hash()
566 static void sha_end(sha512_ctx ctx[1], unsigned char hval[], in sha_end()
656 void sha512_begin(sha512_ctx ctx[1]) in sha512_begin()
662 void sha512_end(sha512_ctx ctx[1], unsigned char hval[]) in sha512_end()
670 sha512_ctx cx[1]; in sha512()
/OK3568_Linux_fs/u-boot/lib/avb/libavb/
H A Davb_vbmeta_image.c42 AvbSHA512Ctx sha512_ctx; in avb_vbmeta_image_verify() local
195 sha512_ctx.tot_len = sizeof(AvbVBMetaImageHeader) + in avb_vbmeta_image_verify()
197 avb_sha512_init(&sha512_ctx); in avb_vbmeta_image_verify()
199 &sha512_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
201 &sha512_ctx, auxiliary_block, h.auxiliary_data_block_size); in avb_vbmeta_image_verify()
202 computed_hash = avb_sha512_final(&sha512_ctx); in avb_vbmeta_image_verify()
H A Davb_slot_verify.c400 AvbSHA512Ctx sha512_ctx; in load_and_verify_hash_partition() local
415 sha512_ctx.tot_len = hash_desc.salt_len + image_size_to_hash; in load_and_verify_hash_partition()
416 avb_sha512_init(&sha512_ctx); in load_and_verify_hash_partition()
417 avb_sha512_update(&sha512_ctx, desc_salt, hash_desc.salt_len); in load_and_verify_hash_partition()
418 avb_sha512_update(&sha512_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()
419 digest = avb_sha512_final(&sha512_ctx); in load_and_verify_hash_partition()
/OK3568_Linux_fs/buildroot/package/cdrkit/
H A D0002-define-__THROW-to-avoid-build-issue-with-musl.patch44 struct sha512_ctx
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-multimedia/cdrkit/files/
H A D0001-define-__THROW-to-avoid-build-issue-with-musl.patch44 struct sha512_ctx