Searched refs:sha256_ctx (Results 1 – 2 of 2) sorted by relevance
22 AvbSHA256Ctx sha256_ctx; in avb_vbmeta_image_verify() local162 avb_sha256_init(&sha256_ctx); in avb_vbmeta_image_verify()164 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()166 &sha256_ctx, auxiliary_block, h.auxiliary_data_block_size); in avb_vbmeta_image_verify()167 computed_hash = avb_sha256_final(&sha256_ctx); in avb_vbmeta_image_verify()
374 AvbSHA256Ctx sha256_ctx; in load_and_verify_hash_partition() local383 avb_sha256_init(&sha256_ctx); in load_and_verify_hash_partition()384 avb_sha256_update(&sha256_ctx, desc_salt, hash_desc.salt_len); in load_and_verify_hash_partition()385 avb_sha256_update(&sha256_ctx, image_buf, image_size_to_hash); in load_and_verify_hash_partition()386 digest = avb_sha256_final(&sha256_ctx); in load_and_verify_hash_partition()
Completed in 6 milliseconds