Lines Matching refs:hashsize
246 size_t hashsize; in test_secret() local
253 if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashsize)) { in test_secret()
258 if (!tls13_hkdf_expand(s, md, prk, label, labellen, hash, hashsize, in test_secret()
259 gensecret, hashsize, 1)) { in test_secret()
264 if (!TEST_mem_eq(gensecret, hashsize, ref_secret, hashsize)) in test_secret()
292 size_t hashsize; in test_handshake_secrets() local
330 hashsize = EVP_MD_get_size(ssl_handshake_md(s)); in test_handshake_secrets()
331 if (!TEST_size_t_eq(sizeof(client_hts), hashsize)) in test_handshake_secrets()
346 if (!TEST_size_t_eq(sizeof(server_hts), hashsize)) in test_handshake_secrets()
368 s->handshake_secret, hashsize, in test_handshake_secrets()
380 if (!TEST_size_t_eq(sizeof(client_ats), hashsize)) in test_handshake_secrets()
395 if (!TEST_size_t_eq(sizeof(server_ats), hashsize)) in test_handshake_secrets()