/hal_espressif-2.7.6/components/wpa_supplicant/src/tls/ |
D | tlsv1_client_write.c | 465 size_t rlen, hlen, clen; in tls_write_client_certificate_verify() local 508 hlen = SHA256_MAC_LEN; in tls_write_client_certificate_verify() 510 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_write_client_certificate_verify() 533 os_memmove(hash + 19, hash, hlen); in tls_write_client_certificate_verify() 534 hlen += 19; in tls_write_client_certificate_verify() 541 hlen = MD5_MAC_LEN; in tls_write_client_certificate_verify() 543 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) in tls_write_client_certificate_verify() 557 hlen = SHA1_MAC_LEN; in tls_write_client_certificate_verify() 559 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_write_client_certificate_verify() 568 hlen += MD5_MAC_LEN; in tls_write_client_certificate_verify() [all …]
|
D | tlsv1_common.c | 346 size_t hlen; in tlsv12_key_x_server_params_hash() local 353 hlen = SHA256_MAC_LEN; in tlsv12_key_x_server_params_hash() 364 if (crypto_hash_finish(ctx, hash, &hlen) < 0) in tlsv12_key_x_server_params_hash() 367 return hlen; in tlsv12_key_x_server_params_hash() 378 size_t hlen; in tls_key_x_server_params_hash() local 389 hlen = MD5_MAC_LEN; in tls_key_x_server_params_hash() 390 if (crypto_hash_finish(ctx, hash, &hlen) < 0) in tls_key_x_server_params_hash() 392 hpos += hlen; in tls_key_x_server_params_hash() 400 hlen = hash + sizeof(hash) - hpos; in tls_key_x_server_params_hash() 401 if (crypto_hash_finish(ctx, hpos, &hlen) < 0) in tls_key_x_server_params_hash() [all …]
|
D | tlsv1_server_read.c | 773 size_t hlen, buflen; in tls_process_certificate_verify() local 872 hlen = SHA256_MAC_LEN; in tls_process_certificate_verify() 874 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) < in tls_process_certificate_verify() 886 hlen = MD5_MAC_LEN; in tls_process_certificate_verify() 888 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0) in tls_process_certificate_verify() 902 hlen = SHA1_MAC_LEN; in tls_process_certificate_verify() 904 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) { in tls_process_certificate_verify() 913 hlen += MD5_MAC_LEN; in tls_process_certificate_verify() 919 wpa_hexdump(MSG_MSGDUMP, "TLSv1: CertificateVerify hash", hash, hlen); in tls_process_certificate_verify() 993 if (buflen != hlen || os_memcmp(buf, hash, buflen) != 0) { in tls_process_certificate_verify() [all …]
|
D | tlsv1_client_read.c | 474 int hlen; in tlsv1_process_diffie_hellman() local 497 hlen = tlsv12_key_x_server_params_hash( in tlsv1_process_diffie_hellman() 507 hlen = tls_key_x_server_params_hash( in tlsv1_process_diffie_hellman() 513 if (hlen < 0) in tlsv1_process_diffie_hellman() 516 hash, hlen); in tlsv1_process_diffie_hellman() 520 hash, hlen, pos, end - pos, in tlsv1_process_diffie_hellman() 817 size_t left, len, hlen; in tls_process_server_finished() local 876 hlen = SHA256_MAC_LEN; in tls_process_server_finished() 878 crypto_hash_finish(conn->verify.sha256_server, hash, &hlen) < 0) { in tls_process_server_finished() 887 hlen = MD5_MAC_LEN; in tls_process_server_finished() [all …]
|
D | tlsv1_record.c | 286 size_t i, rlen, hlen; in tlsv1_record_receive() local 457 hlen = sizeof(hash); in tlsv1_record_receive() 458 if ((int)crypto_hash_finish(hmac, hash, &hlen) < 0) { in tlsv1_record_receive() 464 if (hlen != rl->hash_size || in tlsv1_record_receive() 465 os_memcmp(hash, out_data + plen, hlen) != 0 || in tlsv1_record_receive()
|
D | tlsv1_server_write.c | 577 size_t rlen, hlen; in tls_write_server_finished() local 589 hlen = SHA256_MAC_LEN; in tls_write_server_finished() 591 crypto_hash_finish(conn->verify.sha256_server, hash, &hlen) in tls_write_server_finished() 602 hlen = MD5_MAC_LEN; in tls_write_server_finished() 604 crypto_hash_finish(conn->verify.md5_server, hash, &hlen) < 0) { in tls_write_server_finished() 613 hlen = SHA1_MAC_LEN; in tls_write_server_finished() 616 &hlen) < 0) { in tls_write_server_finished() 623 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_write_server_finished() 631 "server finished", hash, hlen, in tls_write_server_finished()
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/utils/ |
D | common.c | 274 size_t tlen, hlen = os_strlen(value); in wpa_config_parse_string() local 276 if (hlen & 1) in wpa_config_parse_string() 279 if (hlen == 5 || hlen == 13) { in wpa_config_parse_string() 280 *len = hlen; in wpa_config_parse_string() 290 tlen = hlen / 2; in wpa_config_parse_string()
|
/hal_espressif-2.7.6/components/lwip/include/apps/dhcpserver/ |
D | dhcpserver.h | 25 u8_t op, htype, hlen, hops; member
|
/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/ |
D | crypto.h | 903 const struct crypto_bignum *s, struct crypto_key *csign, int hlen);
|
D | crypto_mbedtls-ec.c | 775 const struct crypto_bignum *r, const struct crypto_bignum *s, struct crypto_key *csign, int hlen) in crypto_edcsa_sign_verify() argument 790 if((ret = mbedtls_ecdsa_verify(&ctx->grp, hash, hlen, in crypto_edcsa_sign_verify()
|
/hal_espressif-2.7.6/components/lwip/apps/dhcpserver/ |
D | dhcpserver.c | 428 m->hlen = 6; in create_msg()
|