Searched refs:sha512_ctx (Results 1 – 7 of 7) sorted by relevance
/external/mmc-utils/3rdparty/hmac_sha/ |
D | sha2.h | 74 } sha512_ctx; typedef 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);
|
D | 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;
|
D | hmac_sha2.c | 344 sizeof(sha512_ctx)); in hmac_sha512_init() 346 sizeof(sha512_ctx)); in hmac_sha512_init() 352 sizeof(sha512_ctx)); in hmac_sha512_reinit() 354 sizeof(sha512_ctx)); in hmac_sha512_reinit()
|
D | sha2.c | 432 void sha512_transf(sha512_ctx *ctx, const unsigned char *message, in sha512_transf() 530 sha512_ctx ctx; in sha512() 537 void sha512_init(sha512_ctx *ctx) in sha512_init() 555 void sha512_update(sha512_ctx *ctx, const unsigned char *message, in sha512_update() 589 void sha512_final(sha512_ctx *ctx, unsigned char *digest) in sha512_final()
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | sha_utility.c | 29 ctx->sha512_ctx = (VB_SHA512_CTX*) VbExMalloc(sizeof(VB_SHA512_CTX)); in DigestInit() 30 SHA512_init(ctx->sha512_ctx); in DigestInit() 48 SHA512_update(ctx->sha512_ctx, data, len); in DigestUpdate() 72 Memcpy(digest, SHA512_final(ctx->sha512_ctx), SHA512_DIGEST_SIZE); in DigestFinal() 73 VbExFree(ctx->sha512_ctx); in DigestFinal()
|
/external/fio/ |
D | verify.c | 442 struct fio_sha512_ctx sha512_ctx = { in verify_io_u_sha512() local 448 fio_sha512_init(&sha512_ctx); in verify_io_u_sha512() 449 fio_sha512_update(&sha512_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha512() 451 if (!memcmp(vh->sha512, sha512_ctx.buf, sizeof(sha512))) in verify_io_u_sha512() 456 vc->bad_crc = sha512_ctx.buf; in verify_io_u_sha512() 882 struct fio_sha512_ctx sha512_ctx = { in fill_sha512() local 886 fio_sha512_init(&sha512_ctx); in fill_sha512() 887 fio_sha512_update(&sha512_ctx, p, len); in fill_sha512()
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 99 VB_SHA512_CTX* sha512_ctx; member
|