Home
last modified time | relevance | path

Searched refs:key_offset (Results 1 – 2 of 2) sorted by relevance

/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_session_keys_set.c88 UINT key_offset; in _nx_secure_session_keys_set() local
112 key_offset = 0; in _nx_secure_session_keys_set()
128 NX_SECURE_MEMCPY(&tls_key_material -> nx_secure_tls_key_material_data[key_offset], in _nx_secure_session_keys_set()
129 …&tls_key_material -> nx_secure_tls_new_key_material_data[key_offset], hash_size); /* Use case of m… in _nx_secure_session_keys_set()
131 tls_key_material -> nx_secure_tls_client_write_mac_secret = key_block + key_offset; in _nx_secure_session_keys_set()
132 key_offset += hash_size; in _nx_secure_session_keys_set()
137 NX_SECURE_MEMCPY(&tls_key_material -> nx_secure_tls_key_material_data[key_offset], in _nx_secure_session_keys_set()
138 …&tls_key_material -> nx_secure_tls_new_key_material_data[key_offset], hash_size); /* Use case of m… in _nx_secure_session_keys_set()
140 tls_key_material -> nx_secure_tls_server_write_mac_secret = key_block + key_offset; in _nx_secure_session_keys_set()
141 key_offset += hash_size; in _nx_secure_session_keys_set()
[all …]
Dnx_secure_tls_1_3_generate_keys.c220 UINT key_offset; in _nx_secure_tls_1_3_generate_handshake_keys() local
285 key_offset = 0; in _nx_secure_tls_1_3_generate_handshake_keys()
288 … &key_block[key_offset], (key_block_size - key_offset), hash_method); in _nx_secure_tls_1_3_generate_handshake_keys()
295 … tls_session -> nx_secure_tls_key_material.nx_secure_tls_client_write_key = &key_block[key_offset]; in _nx_secure_tls_1_3_generate_handshake_keys()
297 key_offset += key_size; in _nx_secure_tls_1_3_generate_handshake_keys()
302 … &key_block[key_offset], (key_block_size - key_offset), hash_method); in _nx_secure_tls_1_3_generate_handshake_keys()
309 tls_session -> nx_secure_tls_key_material.nx_secure_tls_client_iv = &key_block[key_offset]; in _nx_secure_tls_1_3_generate_handshake_keys()
311 key_offset += iv_size; in _nx_secure_tls_1_3_generate_handshake_keys()
316 … &key_block[key_offset], (key_block_size - key_offset), hash_method); in _nx_secure_tls_1_3_generate_handshake_keys()
323 … tls_session -> nx_secure_tls_key_material.nx_secure_tls_server_write_key = &key_block[key_offset]; in _nx_secure_tls_1_3_generate_handshake_keys()
[all …]