Home
last modified time | relevance | path

Searched refs:NX_CRYPTO_MEMSET (Results 1 – 25 of 44) sorted by relevance

12

/NetX-Duo-v6.3.0/crypto_libraries/src/
Dnx_crypto_xcbc_mac.c178 NX_CRYPTO_MEMSET(K1, 1, sizeof(K1)); in _nx_crypto_xcbc_mac()
183 NX_CRYPTO_MEMSET(E, 0, sizeof(E)); in _nx_crypto_xcbc_mac()
203 NX_CRYPTO_MEMSET(K2, 2, sizeof(K2)); in _nx_crypto_xcbc_mac()
209 NX_CRYPTO_MEMSET(K2, 3, sizeof(K2)); in _nx_crypto_xcbc_mac()
212 NX_CRYPTO_MEMSET(pad, 0, sizeof(pad)); in _nx_crypto_xcbc_mac()
231 NX_CRYPTO_MEMSET(K1, 0, sizeof(K1)); in _nx_crypto_xcbc_mac()
232 NX_CRYPTO_MEMSET(E, 0, sizeof(E)); in _nx_crypto_xcbc_mac()
233 NX_CRYPTO_MEMSET(K2, 0, sizeof(K2)); in _nx_crypto_xcbc_mac()
234 NX_CRYPTO_MEMSET(pad, 0, sizeof(pad)); in _nx_crypto_xcbc_mac()
Dnx_crypto_ccm.c164 NX_CRYPTO_MEMSET(output + length - i, 0, block_size - (length - i)); in _nx_crypto_ccm_cbc_pad()
180 NX_CRYPTO_MEMSET(last_cipher, 0, sizeof(last_cipher)); in _nx_crypto_ccm_cbc_pad()
194 NX_CRYPTO_MEMSET(B, 0, NX_CRYPTO_CCM_BLOCK_SIZE); in _nx_crypto_ccm_authentication_init()
195 NX_CRYPTO_MEMSET(X, 0, NX_CRYPTO_CCM_BLOCK_SIZE); in _nx_crypto_ccm_authentication_init()
244 NX_CRYPTO_MEMSET(B, 0, sizeof(B)); in _nx_crypto_ccm_authentication_init()
331 NX_CRYPTO_MEMSET(A, 0, sizeof(ccm_metadata -> nx_crypto_ccm_A)); in _nx_crypto_ccm_encrypt_init()
447 NX_CRYPTO_MEMSET(X, 0, sizeof(X)); in _nx_crypto_ccm_encrypt_update()
529 NX_CRYPTO_MEMSET(ccm_metadata, 0, sizeof(NX_CRYPTO_CCM)); in _nx_crypto_ccm_encrypt_calculate()
616 NX_CRYPTO_MEMSET(ccm_metadata, 0, sizeof(NX_CRYPTO_CCM)); in _nx_crypto_ccm_decrypt_calculate()
Dnx_crypto_drbg.c229 NX_CRYPTO_MEMSET(temp, 0, sizeof(temp)); in _nx_crypto_drbg_update()
336 NX_CRYPTO_MEMSET(&seed_material[personalization_string_len], 0, in _nx_crypto_drbg_instantiate()
361 NX_CRYPTO_MEMSET(drbg_ptr -> nx_crypto_drbg_key, 0, sizeof(drbg_ptr -> nx_crypto_drbg_key)); in _nx_crypto_drbg_instantiate()
362 NX_CRYPTO_MEMSET(drbg_ptr -> nx_crypto_drbg_v, 0, sizeof(drbg_ptr -> nx_crypto_drbg_v)); in _nx_crypto_drbg_instantiate()
369 NX_CRYPTO_MEMSET(seed_material, 0, sizeof(seed_material)); in _nx_crypto_drbg_instantiate()
467 NX_CRYPTO_MEMSET(&seed_material[additional_input_len], 0, in _nx_crypto_drbg_reseed()
497 NX_CRYPTO_MEMSET(seed_material, 0, sizeof(seed_material)); in _nx_crypto_drbg_reseed()
606 NX_CRYPTO_MEMSET(&addition[additional_input_len], 0, in _nx_crypto_drbg_generate()
697 NX_CRYPTO_MEMSET(addition, 0, sizeof(addition)); in _nx_crypto_drbg_generate()
698 NX_CRYPTO_MEMSET(temp, 0, sizeof(temp)); in _nx_crypto_drbg_generate()
[all …]
Dnx_crypto_gcm.c210 NX_CRYPTO_MEMSET(output, 0, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_multi()
316 NX_CRYPTO_MEMSET(&tmp_block[input_length], 0, sizeof(tmp_block) - input_length); in _nx_crypto_gcm_ghash_update()
477 NX_CRYPTO_MEMSET(hkey, 0, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_encrypt_init()
498 NX_CRYPTO_MEMSET(j0, 0, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_encrypt_init()
502 NX_CRYPTO_MEMSET(tmp_block, 0, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_encrypt_init()
509 NX_CRYPTO_MEMSET(s, 0, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_encrypt_init()
520 NX_CRYPTO_MEMSET(tmp_block, 0, sizeof(tmp_block)); in _nx_crypto_gcm_encrypt_init()
689 NX_CRYPTO_MEMSET(tmp_block, 0, sizeof(tmp_block)); in _nx_crypto_gcm_encrypt_calculate()
851 NX_CRYPTO_MEMSET(tmp_block, 0, sizeof(tmp_block)); in _nx_crypto_gcm_decrypt_calculate()
Dnx_crypto_hmac.c172 NX_CRYPTO_MEMSET(hmac_metadata -> k_ipad, 0, hmac_metadata -> block_size); in _nx_crypto_hmac_initialize()
174 NX_CRYPTO_MEMSET(hmac_metadata -> k_opad, 0, hmac_metadata -> block_size); in _nx_crypto_hmac_initialize()
192 NX_CRYPTO_MEMSET(temp_key, 0, sizeof(temp_key)); in _nx_crypto_hmac_initialize()
318 NX_CRYPTO_MEMSET(icv_ptr, 0, sizeof(icv_ptr)); in _nx_crypto_hmac_digest_calculate()
764 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_HMAC)); in _nx_crypto_method_hmac_cleanup()
Dnx_crypto_method_self_test_hmac_md5.c146 NX_CRYPTO_MEMSET(output, 0xFF, sizeof(output)); in _nx_crypto_method_self_test_hmac_md5()
176 NX_CRYPTO_MEMSET(output, 0xFF, sizeof(output)); in _nx_crypto_method_self_test_hmac_md5()
Dnx_crypto_tls_prf_sha256.c163 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_TLS_PRF_SHA256)); in _nx_crypto_method_prf_sha_256_cleanup()
305 NX_CRYPTO_MEMSET(output, 0, output_length_in_byte); in _nx_crypto_method_prf_sha_256_operation()
Dnx_crypto_tls_prf_sha384.c164 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_TLS_PRF_SHA384)); in _nx_crypto_method_prf_sha384_cleanup()
305 NX_CRYPTO_MEMSET(output, 0, output_length_in_byte); in _nx_crypto_method_prf_sha384_operation()
Dnx_crypto_tls_prf_sha512.c164 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_TLS_PRF_SHA512)); in _nx_crypto_method_prf_sha512_cleanup()
305 NX_CRYPTO_MEMSET(output, 0, output_length_in_byte); in _nx_crypto_method_prf_sha512_operation()
Dnx_crypto_method_self_test_rsa.c626 NX_CRYPTO_MEMSET(output, 0xFF, sizeof(output)); in _nx_crypto_method_self_test_rsa()
673 NX_CRYPTO_MEMSET(output, 0xFF, sizeof(output)); in _nx_crypto_method_self_test_rsa()
720 NX_CRYPTO_MEMSET(output, 0xFF, sizeof(output)); in _nx_crypto_method_self_test_rsa()
Dnx_crypto_ctr.c244 NX_CRYPTO_MEMSET(aes_output, 0, sizeof(aes_output)); in _nx_crypto_ctr_encrypt()
309 NX_CRYPTO_MEMSET(control_block, 0x0, 16); in _nx_crypto_ctr_encrypt_init()
Dnx_crypto_tls_prf_1.c163 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_TLS_PRF_1)); in _nx_crypto_method_prf_1_cleanup()
304 NX_CRYPTO_MEMSET(output, 0, output_length_in_byte); in _nx_crypto_method_prf_1_operation()
Dnx_crypto_method_self_test_md5.c130 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_md5()
Dnx_crypto_method_self_test_hmac_sha.c359 NX_CRYPTO_MEMSET(output, 0xFF, sizeof(output)); in _nx_crypto_method_self_test_hmac_sha()
389 NX_CRYPTO_MEMSET(output, 0xFF, sizeof(output)); in _nx_crypto_method_self_test_hmac_sha()
Dnx_crypto_ecdh.c103 NX_CRYPTO_MEMSET(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer, 0, in _nx_crypto_ecdh_key_pair_import()
288 NX_CRYPTO_MEMSET(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer, 0, in _nx_crypto_ecdh_setup()
574 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_ECDH)); in _nx_crypto_method_ecdh_cleanup()
1057 NX_CRYPTO_MEMSET(ecdh_ptr -> nx_crypto_ecdh_private_key_buffer, 0, in _nx_crypto_ecdh_setup_x25519_448()
Dnx_crypto_method_self_test_drbg.c381 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_drbg()
517 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_drbg()
Dnx_crypto_hmac_md5.c156 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_MD5_HMAC)); in _nx_crypto_method_hmac_md5_cleanup()
Dnx_crypto_hmac_sha1.c156 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_SHA1_HMAC)); in _nx_crypto_method_hmac_sha1_cleanup()
Dnx_crypto_method_self_test_sha.c321 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_sha()
Dnx_crypto_cbc.c272 NX_CRYPTO_MEMSET(save_input, 0, sizeof(save_input)); in _nx_crypto_cbc_decrypt()
Dnx_crypto_hmac_sha2.c157 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_SHA256_HMAC)); in _nx_crypto_method_hmac_sha256_cleanup()
Dnx_crypto_method_self_test_pkcs1.c191 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_pkcs1()
Dnx_crypto_method_self_test_prf.c221 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_prf()
Dnx_crypto_phash.c131 NX_CRYPTO_MEMSET(temp_A, 0, temp_A_size); in _nx_crypto_phash()
/NetX-Duo-v6.3.0/crypto_libraries/inc/
Dnx_crypto.h143 #ifndef NX_CRYPTO_MEMSET
144 #define NX_CRYPTO_MEMSET _nx_crypto_memset_ptr macro

12