Searched refs:sha256_ctx (Results 1 – 8 of 8) sorted by relevance
/external/mmc-utils/3rdparty/hmac_sha/ |
D | sha2.h | 67 } sha256_ctx; typedef 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);
|
D | hmac_sha2.h | 60 sha256_ctx ctx_inside; 61 sha256_ctx ctx_outside; 64 sha256_ctx ctx_inside_reinit; 65 sha256_ctx ctx_outside_reinit;
|
D | hmac_sha2.c | 172 sizeof(sha256_ctx)); in hmac_sha256_init() 174 sizeof(sha256_ctx)); in hmac_sha256_init() 180 sizeof(sha256_ctx)); in hmac_sha256_reinit() 182 sizeof(sha256_ctx)); in hmac_sha256_reinit()
|
D | sha2.c | 216 void sha256_transf(sha256_ctx *ctx, const unsigned char *message, in sha256_transf() 333 sha256_ctx ctx; in sha256() 340 void sha256_init(sha256_ctx *ctx) in sha256_init() 358 void sha256_update(sha256_ctx *ctx, const unsigned char *message, in sha256_update() 392 void sha256_final(sha256_ctx *ctx, unsigned char *digest) in sha256_final()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | sha_utility.c | 24 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/fio/ |
D | verify.c | 467 struct fio_sha256_ctx sha256_ctx = { in verify_io_u_sha256() local 473 fio_sha256_init(&sha256_ctx); in verify_io_u_sha256() 474 fio_sha256_update(&sha256_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha256() 475 fio_sha256_final(&sha256_ctx); in verify_io_u_sha256() 477 if (!memcmp(vh->sha256, sha256_ctx.buf, sizeof(sha256))) in verify_io_u_sha256() 482 vc->bad_crc = sha256_ctx.buf; in verify_io_u_sha256() 893 struct fio_sha256_ctx sha256_ctx = { in fill_sha256() local 897 fio_sha256_init(&sha256_ctx); in fill_sha256() 898 fio_sha256_update(&sha256_ctx, p, len); in fill_sha256() 899 fio_sha256_final(&sha256_ctx); in fill_sha256()
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 98 VB_SHA256_CTX* sha256_ctx; member
|
/external/curl/src/ |
D | tool_metalink.c | 40 # define SHA256_CTX struct sha256_ctx
|