Searched refs:psk_entry (Results 1 – 3 of 3) sorted by relevance
/NetX-Duo-v6.3.0/nx_secure/src/ |
D | nx_secure_tls_psk_binder_generate.c | 100 …ure_tls_psk_binder_generate(NX_SECURE_TLS_SESSION *tls_session, NX_SECURE_TLS_PSK_STORE *psk_entry) in _nx_secure_tls_psk_binder_generate() argument 168 if(psk_entry->nx_secure_tls_psk_binder_ciphersuite != NX_NULL) in _nx_secure_tls_psk_binder_generate() 170 hash_method = psk_entry->nx_secure_tls_psk_binder_ciphersuite->nx_secure_tls_hash; in _nx_secure_tls_psk_binder_generate() 171 hash_size = psk_entry->nx_secure_tls_psk_binder_ciphersuite->nx_secure_tls_hash_size; in _nx_secure_tls_psk_binder_generate() 183 status = _nx_secure_tls_1_3_generate_psk_secret(tls_session, psk_entry, hash_method); in _nx_secure_tls_psk_binder_generate() 190 binder_key = psk_entry->nx_secure_tls_psk_finished_key; in _nx_secure_tls_psk_binder_generate() 191 binder_key_len = psk_entry->nx_secure_tls_psk_finished_key_size; in _nx_secure_tls_psk_binder_generate() 199 psk_binder = &psk_entry->nx_secure_tls_psk_binder[0]; in _nx_secure_tls_psk_binder_generate() 316 psk_entry->nx_secure_tls_psk_binder_size = hash_size; in _nx_secure_tls_psk_binder_generate()
|
D | nx_secure_tls_1_3_generate_keys.c | 100 …psk_secret(NX_SECURE_TLS_SESSION *tls_session, NX_SECURE_TLS_PSK_STORE *psk_entry, const NX_CRYPTO… in _nx_secure_tls_1_3_generate_psk_secret() argument 115 psk_secret = (UCHAR *)psk_entry->nx_secure_tls_psk_data; in _nx_secure_tls_1_3_generate_psk_secret() 116 psk_secret_length = psk_entry->nx_secure_tls_psk_data_size; in _nx_secure_tls_1_3_generate_psk_secret() 125 … psk_entry->nx_secure_tls_psk_early_secret, hash_length, hash_method); in _nx_secure_tls_1_3_generate_psk_secret() 132 psk_entry->nx_secure_tls_psk_early_secret_size = hash_length; in _nx_secure_tls_1_3_generate_psk_secret() 141 …tatus = _nx_secure_tls_derive_secret(tls_session, psk_entry->nx_secure_tls_psk_early_secret, psk_e… in _nx_secure_tls_1_3_generate_psk_secret() 144 … psk_entry->nx_secure_tls_psk_binder_key, hash_length, hash_method); in _nx_secure_tls_1_3_generate_psk_secret() 151 psk_entry->nx_secure_tls_psk_binder_key_size = hash_length; in _nx_secure_tls_1_3_generate_psk_secret() 156 …us = _nx_secure_tls_hkdf_expand_label(tls_session, psk_entry->nx_secure_tls_psk_binder_key, psk_en… in _nx_secure_tls_1_3_generate_psk_secret() 158 … psk_entry->nx_secure_tls_psk_finished_key, hash_length, hash_method); in _nx_secure_tls_1_3_generate_psk_secret() [all …]
|
/NetX-Duo-v6.3.0/nx_secure/inc/ |
D | nx_secure_tls.h | 1484 …re_tls_psk_binder_generate(NX_SECURE_TLS_SESSION *tls_session, NX_SECURE_TLS_PSK_STORE *psk_entry); 1491 NX_SECURE_TLS_PSK_STORE *psk_entry,
|