Searched refs:hkdf_label (Results 1 – 2 of 2) sorted by relevance
/external/scapy/scapy/layers/tls/crypto/ |
D | hkdf.py | 38 hkdf_label = struct.pack("!H", length) 39 hkdf_label += struct.pack("B", 9 + len(label)) 40 hkdf_label += b"TLS 1.3, " 41 hkdf_label += label 42 hkdf_label += struct.pack("B", len(hash_value)) 43 hkdf_label += hash_value 44 return self.expand(secret, hkdf_label, length)
|
/external/boringssl/src/ssl/ |
D | tls13_enc.cc | 78 Array<uint8_t> hkdf_label; in hkdf_expand_label() local 88 !CBBFinishArray(cbb.get(), &hkdf_label)) { in hkdf_expand_label() 92 return HKDF_expand(out, len, digest, secret, secret_len, hkdf_label.data(), in hkdf_expand_label() 93 hkdf_label.size()); in hkdf_expand_label()
|