/third_party/ltp/testcases/kernel/security/integrity/ima/src/ |
D | ima_boot_aggregate.c | 36 static unsigned char boot_aggregate[SHA_DIGEST_LENGTH]; 42 u_int8_t digest[SHA_DIGEST_LENGTH]; 49 unsigned char digest[SHA_DIGEST_LENGTH]; 56 for (i = 0; i < SHA_DIGEST_LENGTH; i++) in display_sha1_digest() 74 memset(&pcr[i].digest, 0, SHA_DIGEST_LENGTH); in do_test() 90 SHA_DIGEST_LENGTH); in do_test() 92 SHA_DIGEST_LENGTH); in do_test() 109 memset(&boot_aggregate, 0, SHA_DIGEST_LENGTH); in do_test() 116 SHA1_Update(&c, pcr[i].digest, SHA_DIGEST_LENGTH); in do_test()
|
/third_party/openh264/test/utils/ |
D | HashFunctions.h | 17 char hashStrCmp[SHA_DIGEST_LENGTH * 2 + 1]; in CompareHash() 18 ToHashStr (hashStrCmp, digest, SHA_DIGEST_LENGTH); in CompareHash() 23 char hashStrCmp[SHA_DIGEST_LENGTH * 2 + 1]; in CompareHashAnyOf() 24 ToHashStr (hashStrCmp, digest, SHA_DIGEST_LENGTH); in CompareHashAnyOf()
|
/third_party/openssl/crypto/evp/ |
D | e_aes_cbc_hmac_sha1.c | 425 ((plen + SHA_DIGEST_LENGTH + in aesni_cbc_hmac_sha1_cipher() 460 SHA1_Update(&key->md, out + plen, SHA_DIGEST_LENGTH); in aesni_cbc_hmac_sha1_cipher() 464 plen += SHA_DIGEST_LENGTH; in aesni_cbc_hmac_sha1_cipher() 476 unsigned int u[SHA_DIGEST_LENGTH / sizeof(unsigned int)]; in aesni_cbc_hmac_sha1_cipher() 477 unsigned char c[32 + SHA_DIGEST_LENGTH]; in aesni_cbc_hmac_sha1_cipher() 498 if (len < (AES_BLOCK_SIZE + SHA_DIGEST_LENGTH + 1)) in aesni_cbc_hmac_sha1_cipher() 507 } else if (len < (SHA_DIGEST_LENGTH + 1)) in aesni_cbc_hmac_sha1_cipher() 527 maxpad = len - (SHA_DIGEST_LENGTH + 1); in aesni_cbc_hmac_sha1_cipher() 541 inp_len = len - (SHA_DIGEST_LENGTH + pad + 1); in aesni_cbc_hmac_sha1_cipher() 574 len -= SHA_DIGEST_LENGTH; /* amend mac */ in aesni_cbc_hmac_sha1_cipher() [all …]
|
D | m_md5_sha1.c | 54 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in ctrl() 126 MD5_DIGEST_LENGTH + SHA_DIGEST_LENGTH,
|
D | e_des3.c | 319 unsigned char icv[8], iv[8], sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_unwrap() 353 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap() 365 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in des_ede3_wrap() 373 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_wrap()
|
D | m_sha1.c | 38 unsigned char sha1tmp[SHA_DIGEST_LENGTH]; in ctrl() 97 SHA_DIGEST_LENGTH,
|
/third_party/openssl/crypto/ocsp/ |
D | ocsp_srv.c | 265 unsigned char md[SHA_DIGEST_LENGTH]; in OCSP_RESPID_set_by_key() 275 if (!(ASN1_OCTET_STRING_set(byKey, md, SHA_DIGEST_LENGTH))) { in OCSP_RESPID_set_by_key() 289 unsigned char md[SHA_DIGEST_LENGTH]; in OCSP_RESPID_match() 298 return (ASN1_STRING_length(respid->value.byKey) == SHA_DIGEST_LENGTH) in OCSP_RESPID_match() 300 SHA_DIGEST_LENGTH) == 0); in OCSP_RESPID_match()
|
D | ocsp_vfy.c | 173 unsigned char tmphash[SHA_DIGEST_LENGTH], *keyhash; in ocsp_find_signer_sk() 183 if (id->value.byKey->length != SHA_DIGEST_LENGTH) in ocsp_find_signer_sk() 190 if (!memcmp(keyhash, tmphash, SHA_DIGEST_LENGTH)) in ocsp_find_signer_sk()
|
/third_party/openssl/crypto/srp/ |
D | srp_vfy.c | 532 unsigned char digv[SHA_DIGEST_LENGTH]; in SRP_VBASE_get1_by_user() 533 unsigned char digs[SHA_DIGEST_LENGTH]; in SRP_VBASE_get1_by_user() 556 if (RAND_priv_bytes(digv, SHA_DIGEST_LENGTH) <= 0) in SRP_VBASE_get1_by_user() 568 BN_bin2bn(digs, SHA_DIGEST_LENGTH, NULL), in SRP_VBASE_get1_by_user() 569 BN_bin2bn(digv, SHA_DIGEST_LENGTH, NULL))) in SRP_VBASE_get1_by_user()
|
D | srp_lib.c | 25 unsigned char digest[SHA_DIGEST_LENGTH]; in srp_Calc_xy() 122 unsigned char dig[SHA_DIGEST_LENGTH]; in SRP_Calc_x()
|
/third_party/openh264/test/ |
D | sha1.h | 79 #define SHA_DIGEST_LENGTH 20 macro
|
/third_party/openssl/crypto/sha/ |
D | sha1_one.c | 18 static unsigned char m[SHA_DIGEST_LENGTH]; in SHA1()
|
/third_party/openssl/include/crypto/ |
D | x509.h | 109 unsigned char sha1_hash[SHA_DIGEST_LENGTH]; 184 unsigned char sha1_hash[SHA_DIGEST_LENGTH];
|
/third_party/openssl/crypto/x509/ |
D | t_x509.c | 227 unsigned char SHA1md[SHA_DIGEST_LENGTH]; in X509_ocspid_print() 244 for (i = 0; i < SHA_DIGEST_LENGTH; i++) { in X509_ocspid_print() 266 for (i = 0; i < SHA_DIGEST_LENGTH; i++) { in X509_ocspid_print()
|
/third_party/openssl/test/ |
D | bad_dtls_test.c | 294 pad = 15 - ((len + SHA_DIGEST_LENGTH) % 16); in send_record() 295 enc = OPENSSL_malloc(len + SHA_DIGEST_LENGTH + 1 + pad); in send_record() 317 len += SHA_DIGEST_LENGTH; in send_record()
|
D | rc4test.c | 99 unsigned char md[SHA_DIGEST_LENGTH]; in test_rc_bulk()
|
/third_party/openssl/doc/man3/ |
D | SHA256_Init.pod | 55 SHA_DIGEST_LENGTH == 20 bytes of output). If B<md> is NULL, the digest 67 for SHA_DIGEST_LENGTH == 20 bytes of output, and erases the B<SHA_CTX>.
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_sha1.c | 40 #define SHA_DIGEST_LENGTH (20) macro 60 PK11_DigestFinal(ctx->pk11_ctx, digest, &output_len, SHA_DIGEST_LENGTH); in sctp_sha1_final()
|
/third_party/openh264/test/api/ |
D | decoder_test.cpp | 84 unsigned char digest[SHA_DIGEST_LENGTH]; in TEST_P()
|
D | thread_decoder_test.cpp | 83 unsigned char digest[SHA_DIGEST_LENGTH]; in TEST_P()
|
/third_party/openssl/include/openssl/ |
D | sha.h | 32 # define SHA_DIGEST_LENGTH 20 macro
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | tls_openssl_ocsp.c | 463 unsigned char hash[SHA_DIGEST_LENGTH]; in ocsp_find_signer() 471 if (rid->value.byKey->length != SHA_DIGEST_LENGTH) in ocsp_find_signer() 478 SHA_DIGEST_LENGTH) == 0) in ocsp_find_signer()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | tls_openssl_ocsp.c | 463 unsigned char hash[SHA_DIGEST_LENGTH]; in ocsp_find_signer() 471 if (rid->value.byKey->length != SHA_DIGEST_LENGTH) in ocsp_find_signer() 478 SHA_DIGEST_LENGTH) == 0) in ocsp_find_signer()
|
/third_party/openssl/crypto/ts/ |
D | ts_rsp_verify.c | 287 unsigned char cert_sha1[SHA_DIGEST_LENGTH]; in ts_find_cert() 302 if (cid->hash->length == SHA_DIGEST_LENGTH in ts_find_cert() 303 && memcmp(cid->hash->data, cert_sha1, SHA_DIGEST_LENGTH) == 0) { in ts_find_cert()
|
/third_party/openssl/engines/ |
D | e_dasync.c | 227 || !EVP_MD_meth_set_result_size(_hidden_sha1_md, SHA_DIGEST_LENGTH) in bind_dasync() 627 return ((len + SHA_DIGEST_LENGTH + AES_BLOCK_SIZE) in dasync_cipher_ctrl_helper() 630 return SHA_DIGEST_LENGTH; in dasync_cipher_ctrl_helper()
|