Home
last modified time | relevance | path

Searched refs:nonce_len (Results 1 – 11 of 11) sorted by relevance

/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_tls_process_newsessionticket.c78 UINT nonce_len; in _nx_secure_tls_process_newsessionticket() local
173 nonce_len = packet_buffer[0]; in _nx_secure_tls_process_newsessionticket()
177 if(nonce_len > message_length || nonce_len > NX_SECURE_TLS_MAX_PSK_NONCE_SIZE) in _nx_secure_tls_process_newsessionticket()
182 packet_buffer = &packet_buffer[nonce_len]; in _nx_secure_tls_process_newsessionticket()
202 …atus = _nx_secure_tls_1_3_session_psk_generate(tls_session, ticket_psk, (UCHAR *)nonce, nonce_len); in _nx_secure_tls_process_newsessionticket()
Dnx_secure_tls_send_newsessionticket.c78 UINT nonce_len; in _nx_secure_tls_send_newsessionticket() local
178 nonce_len = 4; in _nx_secure_tls_send_newsessionticket()
181 packet_buffer[length] = (UCHAR)(nonce_len & 0xFF); in _nx_secure_tls_send_newsessionticket()
189 length += nonce_len; in _nx_secure_tls_send_newsessionticket()
Dnx_secure_tls_1_3_generate_keys.c666 …SECURE_TLS_SESSION *tls_session, NX_SECURE_TLS_PSK_STORE *ticket_psk, UCHAR *nonce, UINT nonce_len) in _nx_secure_tls_1_3_session_psk_generate() argument
694 (UCHAR *)"resumption", 10, nonce, nonce_len, hash_length, in _nx_secure_tls_1_3_session_psk_generate()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_aes_test.c76 UINT nonce_len; in thread_0_entry() local
161 nonce_len = 0; in thread_0_entry()
167 nonce_len = 4; in thread_0_entry()
212 nonce_len, in thread_0_entry()
262 nonce_len, in thread_0_entry()
Dnx_secure_crypto_method_cleanup_test.c1036 UINT nonce_len = 32; in crypto_method_cleanup_drbg_test() local
1084 nonce_len << 3, in crypto_method_cleanup_drbg_test()
/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_ctr.c294 UCHAR *nonce, UINT nonce_len) in _nx_crypto_ctr_encrypt_init() argument
299 if ((iv_len != 8) || (nonce_len != 4)) in _nx_crypto_ctr_encrypt_init()
Dnx_crypto_method_self_test_drbg.c350 UINT nonce_len; in _nx_crypto_method_self_test_drbg() local
372 nonce_len = sizeof(nonce_aes128); in _nx_crypto_method_self_test_drbg()
431 nonce_len << 3, in _nx_crypto_method_self_test_drbg()
Dnx_crypto_drbg.c277 UINT nonce_len, in _nx_crypto_drbg_instantiate() argument
298 …if (entropy_len + nonce_len + personalization_string_len + NX_CRYPTO_DRBG_DF_INPUT_OFFSET >= NX_CR… in _nx_crypto_drbg_instantiate()
313 NX_CRYPTO_MEMCPY(df_input, nonce, nonce_len); /* Use case of memcpy is verified. */ in _nx_crypto_drbg_instantiate()
314 df_input += nonce_len; in _nx_crypto_drbg_instantiate()
318 …_nx_crypto_drbg_block_cipher_df(drbg_ptr, entropy_len + nonce_len + personalization_string_len, se… in _nx_crypto_drbg_instantiate()
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_ctr.h78 UCHAR *nonce, UINT nonce_len);
Dnx_crypto_drbg.h165 UINT nonce_len,
/NetX-Duo-v6.2.1/nx_secure/inc/
Dnx_secure_tls.h1488 …ECURE_TLS_SESSION *tls_session, NX_SECURE_TLS_PSK_STORE *ticket_psk, UCHAR *nonce, UINT nonce_len);