Searched defs:sha256_ctx (Results 1 - 3 of 3) sorted by relevance

/external/mmc-utils/3rdparty/hmac_sha/
H A Dsha2.h67 } sha256_ctx; typedef in typeref:struct:__anon14803
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);
/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...]

Completed in 243 milliseconds