Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cryptolib/
Dsha_utility.c24 ctx->sha256_ctx = (VB_SHA256_CTX*) VbExMalloc(sizeof(VB_SHA256_CTX)); in DigestInit()
25 SHA256_init(ctx->sha256_ctx); in DigestInit()
44 SHA256_update(ctx->sha256_ctx, data, len); in DigestUpdate()
66 Memcpy(digest, SHA256_final(ctx->sha256_ctx), SHA256_DIGEST_SIZE); in DigestFinal()
67 VbExFree(ctx->sha256_ctx); in DigestFinal()
/external/avb/libavb/
Davb_vbmeta_image.c41 AvbSHA256Ctx sha256_ctx; in avb_vbmeta_image_verify() local
181 avb_sha256_init(&sha256_ctx); in avb_vbmeta_image_verify()
183 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
185 &sha256_ctx, auxiliary_block, h.auxiliary_data_block_size); in avb_vbmeta_image_verify()
186 computed_hash = avb_sha256_final(&sha256_ctx); in avb_vbmeta_image_verify()
Davb_slot_verify.c391 AvbSHA256Ctx sha256_ctx; in load_and_verify_hash_partition() local
400 avb_sha256_init(&sha256_ctx); in load_and_verify_hash_partition()
401 avb_sha256_update(&sha256_ctx, desc_salt, hash_desc.salt_len); in load_and_verify_hash_partition()
402 avb_sha256_update(&sha256_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()
403 digest = avb_sha256_final(&sha256_ctx); in load_and_verify_hash_partition()
/external/curl/lib/
Dsha256.c76 typedef struct sha256_ctx SHA256_CTX;
199 struct sha256_ctx { struct
203 typedef struct sha256_ctx SHA256_CTX; argument
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h98 VB_SHA256_CTX* sha256_ctx; member
/external/curl/src/
Dtool_metalink.c43 # define SHA256_CTX struct sha256_ctx
/external/curl/lib/vtls/
Dgtls.c1634 struct sha256_ctx SHA256pw; in Curl_gtls_sha256sum()