Searched refs:SHA256_DIGEST_LENGTH (Results 1 – 15 of 15) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 23 u8 allzero[SHA256_DIGEST_LENGTH]; in H_Init() 25 os_memset(allzero, 0, SHA256_DIGEST_LENGTH); in H_Init() 26 HMAC_Init(ctx, allzero, SHA256_DIGEST_LENGTH, EVP_sha256()); in H_Init() 38 unsigned int mdlen = SHA256_DIGEST_LENGTH; in H_Final() 50 unsigned char digest[SHA256_DIGEST_LENGTH]; in eap_pwd_kdf() 53 unsigned int mdlen = SHA256_DIGEST_LENGTH; in eap_pwd_kdf() 95 unsigned char pwe_digest[SHA256_DIGEST_LENGTH], *prfbuf = NULL, ctr; in compute_password_element() 184 BN_bin2bn(pwe_digest, SHA256_DIGEST_LENGTH, rnd); in compute_password_element() 186 eap_pwd_kdf(pwe_digest, SHA256_DIGEST_LENGTH, in compute_password_element() 272 u8 mk[SHA256_DIGEST_LENGTH], *cruft; in compute_keys() [all …]
|
/external/openssl/crypto/sha/ |
D | sha256t.c | 21 unsigned char app_b1[SHA256_DIGEST_LENGTH] = { 27 unsigned char app_b2[SHA256_DIGEST_LENGTH] = { 33 unsigned char app_b3[SHA256_DIGEST_LENGTH] = { 58 { unsigned char md[SHA256_DIGEST_LENGTH]; in main()
|
D | sha256.c | 37 c->md_len=SHA256_DIGEST_LENGTH; in SHA256_Init() 57 static unsigned char m[SHA256_DIGEST_LENGTH]; in SHA256() 93 case SHA256_DIGEST_LENGTH: \ 94 for (nn=0;nn<SHA256_DIGEST_LENGTH/4;nn++) \ 98 if ((c)->md_len > SHA256_DIGEST_LENGTH) \
|
D | sha.h | 127 #define SHA256_DIGEST_LENGTH 32 macro
|
/external/ipsec-tools/src/racoon/missing/crypto/sha2/ |
D | sha2.h | 50 #define SHA256_DIGEST_LENGTH 32 macro 51 #define SHA256_DIGEST_STRING_LENGTH (SHA256_DIGEST_LENGTH * 2 + 1) 125 void SHA256_Final __P((u_int8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*));
|
D | sha2.c | 338 bcopy(sha256_initial_hash_value, context->state, SHA256_DIGEST_LENGTH); in SHA256_Init() 620 bcopy(context->state, d, SHA256_DIGEST_LENGTH); in SHA256_Final() 630 sha2_byte digest[SHA256_DIGEST_LENGTH], *d = digest; in SHA256_End() 639 for (i = 0; i < SHA256_DIGEST_LENGTH; i++) { in SHA256_End() 648 bzero(digest, SHA256_DIGEST_LENGTH); in SHA256_End() 1128 SHA256_DIGEST_LENGTH,
|
/external/openssl/crypto/dsa/ |
D | dsa_gen.c | 117 unsigned char seed[SHA256_DIGEST_LENGTH]; in dsa_builtin_paramgen() 118 unsigned char md[SHA256_DIGEST_LENGTH]; in dsa_builtin_paramgen() 119 unsigned char buf[SHA256_DIGEST_LENGTH],buf2[SHA256_DIGEST_LENGTH]; in dsa_builtin_paramgen() 130 qsize != SHA256_DIGEST_LENGTH) in dsa_builtin_paramgen()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 43 u8 my_confirm[SHA256_DIGEST_LENGTH]; 290 u8 conf[SHA256_DIGEST_LENGTH], *cruft = NULL, *ptr; in eap_pwd_build_confirm_req() 375 os_memcpy(data->my_confirm, conf, SHA256_DIGEST_LENGTH); in eap_pwd_build_confirm_req() 378 sizeof(struct eap_pwd_hdr) + SHA256_DIGEST_LENGTH, in eap_pwd_build_confirm_req() 384 wpabuf_put_data(req, conf, SHA256_DIGEST_LENGTH); in eap_pwd_build_confirm_req() 626 u8 conf[SHA256_DIGEST_LENGTH], *cruft = NULL, *ptr; in eap_pwd_process_confirm_resp() 704 if (os_memcmp(conf, ptr, SHA256_DIGEST_LENGTH)) { in eap_pwd_process_confirm_resp()
|
/external/chromium/crypto/ |
D | secure_hash_openssl.cc | 32 ScopedOpenSSLSafeSizeBuffer<SHA256_DIGEST_LENGTH> result( in Finish()
|
/external/openssl/crypto/evp/ |
D | m_sha1.c | 140 SHA256_DIGEST_LENGTH,
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 467 u8 conf[SHA256_DIGEST_LENGTH], *cruft = NULL, *ptr; in eap_pwd_perform_confirm_exchange() 551 if (os_memcmp(conf, ptr, SHA256_DIGEST_LENGTH)) { in eap_pwd_perform_confirm_exchange() 617 sizeof(struct eap_pwd_hdr) + SHA256_DIGEST_LENGTH, in eap_pwd_perform_confirm_exchange() 623 wpabuf_put_data(resp, conf, SHA256_DIGEST_LENGTH); in eap_pwd_perform_confirm_exchange()
|
/external/openssl/include/openssl/ |
D | sha.h | 127 #define SHA256_DIGEST_LENGTH 32 macro
|
/external/chromium/chrome/common/net/ |
D | x509_certificate_model_openssl.cc | 197 unsigned char sha256_data[SHA256_DIGEST_LENGTH] = {0}; in HashCertSHA256()
|
/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.c | 2046 if ((res = vmalloc(SHA256_DIGEST_LENGTH)) == 0) 2054 if (SHA256_DIGEST_LENGTH != res->l) { 2301 if ((res = vmalloc(SHA256_DIGEST_LENGTH)) == 0) 2320 return SHA256_DIGEST_LENGTH << 3; in eay_sha2_256_hashlen()
|
/external/openssl/apps/ |
D | speed.c | 364 unsigned char sha256[SHA256_DIGEST_LENGTH]; in MAIN()
|