/external/elfutils/0.153/lib/ |
sha1.h | 42 struct sha1_ctx struct 56 extern void sha1_init_ctx (struct sha1_ctx *ctx); 63 struct sha1_ctx *ctx); 70 struct sha1_ctx *ctx); 79 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf); 88 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
|
/external/chromium_org/net/cert/ |
x509_certificate_ios.cc | 196 CC_SHA1_CTX sha1_ctx; local 197 CC_SHA1_Init(&sha1_ctx); 203 CC_SHA1_Update(&sha1_ctx, 207 CC_SHA1_Final(sha1.data, &sha1_ctx);
|
x509_certificate_nss.cc | 233 HASHContext* sha1_ctx = HASH_Create(HASH_AlgSHA1); local 234 if (!sha1_ctx) 236 HASH_Begin(sha1_ctx); 239 HASH_Update(sha1_ctx, ca_cert->derCert.data, ca_cert->derCert.len); 242 HASH_End(sha1_ctx, sha1.data, &result_len, HASH_ResultLenContext(sha1_ctx)); 243 HASH_Destroy(sha1_ctx);
|
x509_certificate_mac.cc | 384 CC_SHA1_CTX sha1_ctx; local 385 CC_SHA1_Init(&sha1_ctx); 391 CC_SHA1_Update(&sha1_ctx, cert_data.Data, cert_data.Length); 393 CC_SHA1_Final(sha1.data, &sha1_ctx);
|
x509_certificate_openssl.cc | 238 SHA_CTX sha1_ctx; local 239 SHA1_Init(&sha1_ctx); 244 SHA1_Update(&sha1_ctx, der.data(), der.length()); 246 SHA1_Final(sha1.data, &sha1_ctx);
|
x509_certificate_win.cc | 327 SHA1Context* sha1_ctx = SHA1_NewContext(); local 328 if (!sha1_ctx) 330 SHA1_Begin(sha1_ctx); 333 SHA1_Update(sha1_ctx, ca_cert->pbCertEncoded, ca_cert->cbCertEncoded); 336 SHA1_End(sha1_ctx, sha1.data, &result_len, SHA1_LENGTH); 337 SHA1_DestroyContext(sha1_ctx, PR_TRUE);
|
/bootable/recovery/ |
verifier.cpp | 202 SHA_CTX sha1_ctx; local 204 SHA_init(&sha1_ctx); 213 if (need_sha1) SHA_update(&sha1_ctx, addr + so_far, size); 224 const uint8_t* sha1 = SHA_final(&sha1_ctx);
|
/external/fio/ |
verify.c | 506 struct fio_sha1_ctx sha1_ctx = { local 512 fio_sha1_init(&sha1_ctx); 513 fio_sha1_update(&sha1_ctx, p, hdr->len - hdr_size(hdr)); 515 if (!memcmp(vh->sha1, sha1_ctx.H, sizeof(sha1))) 520 vc->bad_crc = sha1_ctx.H; 919 struct fio_sha1_ctx sha1_ctx = { local 923 fio_sha1_init(&sha1_ctx); 924 fio_sha1_update(&sha1_ctx, p, len);
|