Searched defs:sha256_ctx (Results 1 - 6 of 6) sorted by relevance

/external/avb/libavb/
H A Davb_vbmeta_image.c41 AvbSHA256Ctx sha256_ctx; local
180 avb_sha256_init(&sha256_ctx);
182 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader));
184 &sha256_ctx, auxiliary_block, h.auxiliary_data_block_size);
185 computed_hash = avb_sha256_final(&sha256_ctx);
H A Davb_slot_verify.c185 AvbSHA256Ctx sha256_ctx; local
186 avb_sha256_init(&sha256_ctx);
187 avb_sha256_update(&sha256_ctx, desc_salt, hash_desc.salt_len);
188 avb_sha256_update(&sha256_ctx, image_buf, hash_desc.image_size);
189 digest = avb_sha256_final(&sha256_ctx);
/external/mmc-utils/3rdparty/hmac_sha/
H A Dsha2.h67 } sha256_ctx; typedef in typeref:struct:__anon16128
77 typedef sha256_ctx sha224_ctx;
86 void sha256_init(sha256_ctx * ctx);
87 void sha256_update(sha256_ctx *ctx, const unsigned char *message,
89 void sha256_final(sha256_ctx *ctx, unsigned char *digest);
/external/vboot_reference/firmware/lib/cryptolib/include/
H A Dsha.h98 VB_SHA256_CTX* sha256_ctx; member in struct:DigestContext
/external/syslinux/com32/libutil/
H A Dsha256crypt.c22 struct sha256_ctx { struct
64 sha256_process_block(const void *buffer, size_t len, struct sha256_ctx *ctx)
160 static void sha256_init_ctx(struct sha256_ctx *ctx)
180 static void *sha256_finish_ctx(struct sha256_ctx *ctx, void *resbuf)
211 sha256_process_bytes(const void *buffer, size_t len, struct sha256_ctx *ctx)
298 struct sha256_ctx ctx;
299 struct sha256_ctx alt_ctx;
626 struct sha256_ctx ctx;
/external/fio/
H A Dverify.c555 struct fio_sha256_ctx sha256_ctx = { local
561 fio_sha256_init(&sha256_ctx);
562 fio_sha256_update(&sha256_ctx, p, hdr->len - hdr_size(vc->td, hdr));
563 fio_sha256_final(&sha256_ctx);
565 if (!memcmp(vh->sha256, sha256_ctx.buf, sizeof(sha256)))
570 vc->bad_crc = sha256_ctx.buf;
1089 struct fio_sha256_ctx sha256_ctx = { local
1093 fio_sha256_init(&sha256_ctx);
1094 fio_sha256_update(&sha256_ctx, p, len);
1095 fio_sha256_final(&sha256_ctx);
[all...]

Completed in 239 milliseconds