/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);
|
hmac_sha2.h | 60 sha256_ctx ctx_inside; 61 sha256_ctx ctx_outside; 64 sha256_ctx ctx_inside_reinit; 65 sha256_ctx ctx_outside_reinit;
|
hmac_sha2.c | 172 sizeof(sha256_ctx)); 174 sizeof(sha256_ctx)); 180 sizeof(sha256_ctx)); 182 sizeof(sha256_ctx));
|
sha2.c | 216 void sha256_transf(sha256_ctx *ctx, const unsigned char *message, 333 sha256_ctx ctx; 340 void sha256_init(sha256_ctx *ctx) 358 void sha256_update(sha256_ctx *ctx, const unsigned char *message, 392 void sha256_final(sha256_ctx *ctx, unsigned char *digest) [all...] |
/external/vboot_reference/firmware/lib/cryptolib/ |
sha_utility.c | 24 ctx->sha256_ctx = (VB_SHA256_CTX*) VbExMalloc(sizeof(VB_SHA256_CTX)); 25 SHA256_init(ctx->sha256_ctx); 44 SHA256_update(ctx->sha256_ctx, data, len); 66 Memcpy(digest, SHA256_final(ctx->sha256_ctx), SHA256_DIGEST_SIZE); 67 VbExFree(ctx->sha256_ctx);
|
/system/keymaster/ |
ocb_utils.cpp | 80 SHA256_CTX sha256_ctx; 94 Eraser sha256_ctx_eraser(sha256_ctx); 95 SHA256_Init(&sha256_ctx); 96 SHA256_Update(&sha256_ctx, derivation_data.get(), derivation_data_length); 97 SHA256_Final(hash_buf.get(), &sha256_ctx);
|
/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...] |
/external/curl/src/ |
tool_metalink.c | 40 # define SHA256_CTX struct sha256_ctx 45 # define SHA256_CTX gcry_md_hd_t 51 # define SHA256_CTX void * 59 # define SHA256_CTX sha256_context 90 # define SHA256_CTX struct win32_crypto_hash 159 static int SHA256_Init(SHA256_CTX *ctx) 165 static void SHA256_Update(SHA256_CTX *ctx, 172 static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx) 217 static int SHA256_Init(SHA256_CTX *ctx [all...] |