Searched refs:hashsize (Results 1 – 4 of 4) sorted by relevance
/openssl-master/test/ |
A D | tls13secretstest.c | 234 size_t hashsize; in test_secret() local 241 if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashsize)) { in test_secret() 246 if (!tls13_hkdf_expand(s, md, prk, label, labellen, hash, hashsize, in test_secret() 247 gensecret, hashsize, 1)) { in test_secret() 252 if (!TEST_mem_eq(gensecret, hashsize, ref_secret, hashsize)) in test_secret() 279 size_t hashsize; in test_handshake_secrets() local 317 hashsize = EVP_MD_get_size(ssl_handshake_md(s)); in test_handshake_secrets() 318 if (!TEST_size_t_eq(sizeof(client_hts), hashsize)) in test_handshake_secrets() 333 if (!TEST_size_t_eq(sizeof(server_hts), hashsize)) in test_handshake_secrets() 367 if (!TEST_size_t_eq(sizeof(client_ats), hashsize)) in test_handshake_secrets() [all …]
|
/openssl-master/ssl/ |
A D | tls13_enc.c | 815 unsigned int hashsize, datalen; in tls13_export_keying_material() local 826 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material() 831 data, datalen, exportsecret, hashsize, 0) in tls13_export_keying_material() 833 sizeof(exporterlabel) - 1, hash, hashsize, in tls13_export_keying_material() 857 unsigned int hashsize, datalen; in tls13_export_keying_material_early() local 889 || EVP_DigestFinal_ex(ctx, hash, &hashsize) <= 0 in tls13_export_keying_material_early() 894 data, datalen, exportsecret, hashsize, 0) in tls13_export_keying_material_early() 896 sizeof(exporterlabel) - 1, hash, hashsize, in tls13_export_keying_material_early()
|
/openssl-master/ssl/statem/ |
A D | extensions.c | 1453 size_t bindersize, labelsize, hashsize; in tls_psk_do_binder() local 1463 hashsize = (size_t)hashsizei; in tls_psk_do_binder() 1512 hashsize, binderkey, hashsize, 1)) { in tls_psk_do_binder() 1518 if (!tls13_derive_finishedkey(s, md, binderkey, finishedkey, hashsize)) { in tls_psk_do_binder() 1578 hashsize); in tls_psk_do_binder() 1587 bindersize = hashsize; in tls_psk_do_binder() 1590 || EVP_DigestSignUpdate(mctx, hash, hashsize) <= 0 in tls_psk_do_binder() 1592 || bindersize != hashsize) { in tls_psk_do_binder() 1601 ret = (CRYPTO_memcmp(binderin, binderout, hashsize) == 0); in tls_psk_do_binder()
|
A D | extensions_srvr.c | 981 size_t binderoffset, hashsize; in tls_parse_ctos_psk() local 1174 hashsize = EVP_MD_get_size(md); in tls_parse_ctos_psk() 1188 if (PACKET_remaining(&binder) != hashsize) { in tls_parse_ctos_psk()
|
Completed in 12 milliseconds