Searched refs:sha256_ctx (Results 1 - 12 of 12) sorted by relevance

/external/mmc-utils/3rdparty/hmac_sha/
H A Dsha2.h67 } sha256_ctx; typedef in typeref:struct:__anon15376
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);
H A Dhmac_sha2.h60 sha256_ctx ctx_inside;
61 sha256_ctx ctx_outside;
64 sha256_ctx ctx_inside_reinit;
65 sha256_ctx ctx_outside_reinit;
H A Dhmac_sha2.c172 sizeof(sha256_ctx));
174 sizeof(sha256_ctx));
180 sizeof(sha256_ctx));
182 sizeof(sha256_ctx));
H A Dsha2.c216 void sha256_transf(sha256_ctx *ctx, const unsigned char *message,
333 sha256_ctx ctx;
340 void sha256_init(sha256_ctx *ctx)
358 void sha256_update(sha256_ctx *ctx, const unsigned char *message,
392 void sha256_final(sha256_ctx *ctx, unsigned char *digest)
/external/vboot_reference/firmware/lib/cryptolib/
H A Dsha_utility.c24 ctx->sha256_ctx = (VB_SHA256_CTX*) VbExMalloc(sizeof(VB_SHA256_CTX));
25 SHA256_init(ctx->sha256_ctx);
44 SHA256_update(ctx->sha256_ctx, data, len);
66 Memcpy(digest, SHA256_final(ctx->sha256_ctx), SHA256_DIGEST_SIZE);
67 VbExFree(ctx->sha256_ctx);
/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.c146 AvbSHA256Ctx sha256_ctx; local
147 avb_sha256_init(&sha256_ctx);
148 avb_sha256_update(&sha256_ctx, desc_salt, hash_desc.salt_len);
149 avb_sha256_update(&sha256_ctx, image_buf, hash_desc.image_size);
150 digest = avb_sha256_final(&sha256_ctx);
/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/vboot_reference/firmware/lib/cryptolib/include/
H A Dsha.h98 VB_SHA256_CTX* sha256_ctx; member in struct:DigestContext
/external/fio/
H A Dverify.c467 struct fio_sha256_ctx sha256_ctx = { local
473 fio_sha256_init(&sha256_ctx);
474 fio_sha256_update(&sha256_ctx, p, hdr->len - hdr_size(hdr));
475 fio_sha256_final(&sha256_ctx);
477 if (!memcmp(vh->sha256, sha256_ctx.buf, sizeof(sha256)))
482 vc->bad_crc = sha256_ctx.buf;
893 struct fio_sha256_ctx sha256_ctx = { local
897 fio_sha256_init(&sha256_ctx);
898 fio_sha256_update(&sha256_ctx, p, len);
899 fio_sha256_final(&sha256_ctx);
[all...]
/external/curl/src/
H A Dtool_metalink.c40 # define SHA256_CTX struct sha256_ctx
/external/curl/lib/vtls/
H A Dgtls.c1611 struct sha256_ctx SHA256pw;

Completed in 348 milliseconds