Lines Matching refs:hashlen
45 size_t hashlen; in tls13_hkdf_expand_ex() local
70 hashlen = (size_t)ret; in tls13_hkdf_expand_ex()
76 (unsigned char *)secret, hashlen); in tls13_hkdf_expand_ex()
274 size_t len = 0, hashlen; in tls13_final_finish_mac() local
288 if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashlen)) { in tls13_final_finish_mac()
300 finsecret, hashlen)) in tls13_final_finish_mac()
306 params, key, hashlen, hash, hashlen, in tls13_final_finish_mac()
360 size_t hashlen; in derive_secret_key_and_iv() local
368 hashlen = (size_t)hashleni; in derive_secret_key_and_iv()
370 if (!tls13_hkdf_expand(s, md, insecret, label, labellen, hash, hashlen, in derive_secret_key_and_iv()
371 secret, hashlen, 1)) { in derive_secret_key_and_iv()
477 size_t labellen, hashlen = 0; in tls13_change_cipher_state() local
565 hashlen = hashlenui; in tls13_change_cipher_state()
571 hashval, hashlen, in tls13_change_cipher_state()
572 s->early_exporter_master_secret, hashlen, in tls13_change_cipher_state()
579 s->early_exporter_master_secret, hashlen)) { in tls13_change_cipher_state()
644 || !ssl_handshake_hash(s, hashval, sizeof(hashval), &hashlen)) { in tls13_change_cipher_state()
655 memcpy(s->server_finished_hash, hashval, hashlen); in tls13_change_cipher_state()
658 memcpy(s->handshake_traffic_hash, hashval, hashlen); in tls13_change_cipher_state()
668 hashval, hashlen, s->resumption_master_secret, in tls13_change_cipher_state()
669 hashlen, 1)) { in tls13_change_cipher_state()
687 memcpy(s->server_app_traffic_secret, secret, hashlen); in tls13_change_cipher_state()
692 hash, hashlen, s->exporter_master_secret, in tls13_change_cipher_state()
693 hashlen, 1)) { in tls13_change_cipher_state()
699 hashlen)) { in tls13_change_cipher_state()
704 memcpy(s->client_app_traffic_secret, secret, hashlen); in tls13_change_cipher_state()
706 if (!ssl_log_secret(s, log_label, secret, hashlen)) { in tls13_change_cipher_state()
733 level, secret, hashlen, key, keylen, iv, in tls13_change_cipher_state()
760 size_t hashlen; in tls13_update_key() local
776 hashlen = (size_t)l; 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()
808 if (!ssl_log_secret(s, log_label, secret, hashlen)) { in tls13_update_key()