Lines Matching refs:insecret
165 const unsigned char *insecret, in tls13_generate_secret() argument
201 if (insecret != NULL) in tls13_generate_secret()
203 (unsigned char *)insecret, in tls13_generate_secret()
231 const unsigned char *insecret, in tls13_generate_handshake_secret() argument
236 insecret, insecretlen, in tls13_generate_handshake_secret()
351 const unsigned char *insecret, in derive_secret_key_and_iv() argument
370 if (!tls13_hkdf_expand(s, md, insecret, label, labellen, hash, hashlen, in derive_secret_key_and_iv()
472 unsigned char *insecret; in tls13_change_cipher_state() local
497 insecret = s->early_secret; in tls13_change_cipher_state()
568 if (!tls13_hkdf_expand(s, md, insecret, in tls13_change_cipher_state()
584 insecret = s->handshake_secret; in tls13_change_cipher_state()
605 insecret = s->master_secret; in tls13_change_cipher_state()
620 insecret = s->handshake_secret; in tls13_change_cipher_state()
631 insecret = s->master_secret; in tls13_change_cipher_state()
665 if (!tls13_hkdf_expand(s, ssl_handshake_md(s), insecret, in tls13_change_cipher_state()
680 insecret, hash, label, labellen, secret, key, in tls13_change_cipher_state()
689 if (!tls13_hkdf_expand(s, ssl_handshake_md(s), insecret, in tls13_change_cipher_state()
762 unsigned char *insecret; in tls13_update_key() local
779 insecret = s->server_app_traffic_secret; in tls13_update_key()
781 insecret = s->client_app_traffic_secret; in tls13_update_key()
786 insecret, NULL, in tls13_update_key()
794 memcpy(insecret, secret, hashlen); in tls13_update_key()
799 insecret, hashlen, key, keylen, iv, ivlen, NULL, 0, in tls13_update_key()