Lines Matching refs:transcript
37 if (!hs->transcript.InitHash(version, cipher)) { in init_key_schedule()
41 hs->hash_len = hs->transcript.DigestLen(); in init_key_schedule()
55 hs->transcript.FreeBuffer(); in tls13_init_key_schedule()
56 return HKDF_extract(hs->secret, &hs->hash_len, hs->transcript.Digest(), psk, in tls13_init_key_schedule()
65 HKDF_extract(hs->secret, &hs->hash_len, hs->transcript.Digest(), psk, in tls13_init_early_key_schedule()
103 hs->transcript.Digest(), nullptr)) { in tls13_advance_key_schedule()
107 if (!hkdf_expand_label(hs->secret, hs->transcript.Digest(), hs->secret, in tls13_advance_key_schedule()
114 return HKDF_extract(hs->secret, &hs->hash_len, hs->transcript.Digest(), in, in tls13_advance_key_schedule()
125 if (!hs->transcript.GetHash(context_hash, &context_hash_len)) { in derive_secret()
129 return hkdf_expand_label(out, hs->transcript.Digest(), hs->secret, in derive_secret()
406 if (!hs->transcript.GetHash(context_hash, &context_hash_len) || in tls13_finished_mac()
407 !tls13_verify_data(hs->transcript.Digest(), hs->ssl->version, out, in tls13_finished_mac()
505 !EVP_DigestUpdate(ctx.get(), hs->transcript.buffer().data(), in tls13_write_psk_binder()
506 hs->transcript.buffer().size()) || in tls13_write_psk_binder()
526 size_t hash_len = hs->transcript.DigestLen(); in tls13_verify_psk_binder()
540 context, &context_len, hs->transcript.Digest(), NULL)) { in tls13_verify_psk_binder()
546 if (!tls13_psk_binder(verify_data, hs->ssl->version, hs->transcript.Digest(), in tls13_verify_psk_binder()