Searched refs:sha512_ctx (Results 1 - 3 of 3) sorted by relevance

/external/vboot_reference/firmware/lib/cryptolib/
H A Dsha_utility.c29 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/
H A Dsha.h99 VB_SHA512_CTX* sha512_ctx; member in struct:DigestContext
/external/fio/
H A Dverify.c442 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);

Completed in 173 milliseconds