/external/mmc-utils/3rdparty/hmac_sha/ |
sha2.h | 67 } sha256_ctx; typedef in typeref:struct:__anon20482 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/ |
sha.h | 98 VB_SHA256_CTX* sha256_ctx; member in struct:DigestContext
|
/bootable/recovery/ |
verifier.cpp | 203 SHA256_CTX sha256_ctx; local 205 SHA256_Init(&sha256_ctx); 216 if (need_sha256) SHA256_Update(&sha256_ctx, addr + so_far, size); 229 SHA256_Final(sha256, &sha256_ctx);
|
/external/fio/ |
verify.c | 467 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...] |