Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/libavb/
H A Davb_vbmeta_image.c23 AvbSHA512Ctx sha512_ctx; in avb_vbmeta_image_verify() local
172 avb_sha512_init(&sha512_ctx); in avb_vbmeta_image_verify()
174 &sha512_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
176 &sha512_ctx, auxiliary_block, h.auxiliary_data_block_size); in avb_vbmeta_image_verify()
177 computed_hash = avb_sha512_final(&sha512_ctx); in avb_vbmeta_image_verify()
H A Davb_slot_verify.c285 AvbSHA512Ctx sha512_ctx; in load_and_verify_hash_partition() local
286 avb_sha512_init(&sha512_ctx); in load_and_verify_hash_partition()
287 avb_sha512_update(&sha512_ctx, desc_salt, hash_desc.salt_len); in load_and_verify_hash_partition()
288 avb_sha512_update(&sha512_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
289 digest = avb_sha512_final(&sha512_ctx); in load_and_verify_hash_partition()
/openbmc/google-misc/subprojects/libcr51sign/src/
H A Dlibcr51sign_support.c49 SHA512_Init(&hash_context->sha512_ctx); in hash_init()
74 SHA512_Update(&hash_context->sha512_ctx, data, size); in hash_update()
97 rv = SHA512_Final(hash, &hash_context->sha512_ctx); in hash_final()
/openbmc/qemu/tests/tcg/multiarch/
H A Dsha512.c132 struct sha512_ctx { struct
163 void sha512_init(struct sha512_ctx *ctx);
198 void sha512_update(struct sha512_ctx *ctx, const void *p, size_t size);
208 void sha512_done(struct sha512_ctx *sha512, struct sha512 *res);
226 static void invalidate_sha512(struct sha512_ctx *ctx) in invalidate_sha512()
231 static void check_sha512(struct sha512_ctx *ctx UNUSED) in check_sha512()
380 static void add(struct sha512_ctx *ctx, const void *p, size_t len) in add()
415 void sha512_init(struct sha512_ctx *ctx) in sha512_init()
417 struct sha512_ctx init = SHA512_INIT; in sha512_init()
421 void sha512_update(struct sha512_ctx *ctx, const void *p, size_t size) in sha512_update()
[all …]
/openbmc/google-misc/subprojects/libcr51sign/include/libcr51sign/
H A Dlibcr51sign_support.h34 SHA512_CTX sha512_ctx; member
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/cdrkit/files/
H A D0001-define-__THROW-to-avoid-build-issue-with-musl.patch46 struct sha512_ctx
/openbmc/qemu/crypto/
H A Dhash-nettle.c47 struct sha512_ctx sha512;
H A Dhmac-nettle.c39 struct hmac_sha512_ctx sha512_ctx; /* equals hmac_sha384_ctx */ member
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dibbler/dibbler/
H A D0001-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch104 @@ -190,7 +190,17 @@ sha512_process_bytes (const void *buffer, size_t len, struct sha512_ctx *ctx)