Lines Matching defs:key
2 * TLS 1.3 key schedule
50 * This function creates a HkdfLabel structure used in the TLS 1.3 key schedule.
55 * uint16 length; // Length of expanded key material
61 * - desired_length: Length of expanded key material
112 /* Add the size of the expanded key material.
114 * TLS 1.3 HKDF key expansion to more than 255 Bytes. */
224 unsigned char *key, size_t key_len,
232 MBEDTLS_SSL_TLS1_3_LBL_WITH_LEN(key),
234 key, key_len);
253 * - The desired lengths of key and IV.
257 * [sender]_write_key = HKDF-Expand-Label( Secret, "key", "", key_length )
655 * \brief Transition into application stage of TLS 1.3 key schedule.
657 * The TLS 1.3 key schedule can be viewed as a simple state machine
664 * \param ssl The SSL context to operate on. This must be in key schedule
705 mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT;
750 status = psa_import_key(&attributes, finished_key, hash_len, &key);
756 status = psa_mac_compute(key, alg, transcript, hash_len,
762 status = psa_destroy_key(key);
1125 * ssl_tls13_generate_early_key() generates the key necessary for protecting
1129 * NOTE: Only one key is generated, the key for the traffic from the client to
1131 * a key for server early traffic.
1239 /* Next evolution in key schedule: Establish early_data secret and
1240 * key material. */
1326 * key schedule stage \c Handshake, see
1450 * \brief Transition into handshake stage of TLS 1.3 key schedule.
1452 * The TLS 1.3 key schedule can be viewed as a simple state machine
1459 * \param ssl The SSL context to operate on. This must be in key schedule
1561 * encrypted under the application traffic key.
1564 * key schedule stage \c Application, see
1679 MBEDTLS_SSL_DEBUG_BUF(4, "server application write key",
1711 /* Next evolution in key schedule: Establish handshake secret and
1712 * key material. */