/external/mmc-utils/3rdparty/hmac_sha/ |
sha2.h | 74 } sha512_ctx; typedef in typeref:struct:__anon20483 76 typedef sha512_ctx sha384_ctx; 100 void sha512_init(sha512_ctx *ctx); 101 void sha512_update(sha512_ctx *ctx, const unsigned char *message, 103 void sha512_final(sha512_ctx *ctx, unsigned char *digest);
|
hmac_sha2.h | 84 sha512_ctx ctx_inside; 85 sha512_ctx ctx_outside; 88 sha512_ctx ctx_inside_reinit; 89 sha512_ctx ctx_outside_reinit;
|
hmac_sha2.c | 344 sizeof(sha512_ctx)); 346 sizeof(sha512_ctx)); 352 sizeof(sha512_ctx)); 354 sizeof(sha512_ctx));
|
sha2.c | 432 void sha512_transf(sha512_ctx *ctx, const unsigned char *message, 530 sha512_ctx ctx; 537 void sha512_init(sha512_ctx *ctx) 555 void sha512_update(sha512_ctx *ctx, const unsigned char *message, 589 void sha512_final(sha512_ctx *ctx, unsigned char *digest) [all...] |
/external/vboot_reference/firmware/lib/cryptolib/ |
sha_utility.c | 29 ctx->sha512_ctx = (VB_SHA512_CTX*) VbExMalloc(sizeof(VB_SHA512_CTX)); 30 SHA512_init(ctx->sha512_ctx); 48 SHA512_update(ctx->sha512_ctx, data, len); 72 Memcpy(digest, SHA512_final(ctx->sha512_ctx), SHA512_DIGEST_SIZE); 73 VbExFree(ctx->sha512_ctx);
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
sha.h | 99 VB_SHA512_CTX* sha512_ctx; member in struct:DigestContext
|
/external/fio/ |
verify.c | 442 struct fio_sha512_ctx sha512_ctx = { local 448 fio_sha512_init(&sha512_ctx); 449 fio_sha512_update(&sha512_ctx, p, hdr->len - hdr_size(hdr)); 451 if (!memcmp(vh->sha512, sha512_ctx.buf, sizeof(sha512))) 456 vc->bad_crc = sha512_ctx.buf; 882 struct fio_sha512_ctx sha512_ctx = { local 886 fio_sha512_init(&sha512_ctx); 887 fio_sha512_update(&sha512_ctx, p, len); [all...] |