Home
last modified time | relevance | path

Searched refs:SHA256_DIGEST_LENGTH (Results 1 – 15 of 15) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c23 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/
Dsha256t.c21 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()
Dsha256.c37 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) \
Dsha.h127 #define SHA256_DIGEST_LENGTH 32 macro
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.h50 #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*));
Dsha2.c338 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/
Ddsa_gen.c117 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/
Deap_server_pwd.c43 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/
Dsecure_hash_openssl.cc32 ScopedOpenSSLSafeSizeBuffer<SHA256_DIGEST_LENGTH> result( in Finish()
/external/openssl/crypto/evp/
Dm_sha1.c140 SHA256_DIGEST_LENGTH,
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c467 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/
Dsha.h127 #define SHA256_DIGEST_LENGTH 32 macro
/external/chromium/chrome/common/net/
Dx509_certificate_model_openssl.cc197 unsigned char sha256_data[SHA256_DIGEST_LENGTH] = {0}; in HashCertSHA256()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2046 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/
Dspeed.c364 unsigned char sha256[SHA256_DIGEST_LENGTH]; in MAIN()