/NetX-Duo-v6.3.0/crypto_libraries/src/ |
D | nx_crypto_xcbc_mac.c | 178 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()
|
D | nx_crypto_ccm.c | 164 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()
|
D | nx_crypto_drbg.c | 229 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 …]
|
D | nx_crypto_gcm.c | 210 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()
|
D | nx_crypto_hmac.c | 172 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()
|
D | nx_crypto_method_self_test_hmac_md5.c | 146 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()
|
D | nx_crypto_tls_prf_sha256.c | 163 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()
|
D | nx_crypto_tls_prf_sha384.c | 164 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()
|
D | nx_crypto_tls_prf_sha512.c | 164 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()
|
D | nx_crypto_method_self_test_rsa.c | 626 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()
|
D | nx_crypto_ctr.c | 244 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()
|
D | nx_crypto_tls_prf_1.c | 163 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()
|
D | nx_crypto_method_self_test_md5.c | 130 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_md5()
|
D | nx_crypto_method_self_test_hmac_sha.c | 359 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()
|
D | nx_crypto_ecdh.c | 103 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()
|
D | nx_crypto_method_self_test_drbg.c | 381 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()
|
D | nx_crypto_hmac_md5.c | 156 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_MD5_HMAC)); in _nx_crypto_method_hmac_md5_cleanup()
|
D | nx_crypto_hmac_sha1.c | 156 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_SHA1_HMAC)); in _nx_crypto_method_hmac_sha1_cleanup()
|
D | nx_crypto_method_self_test_sha.c | 321 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_sha()
|
D | nx_crypto_cbc.c | 272 NX_CRYPTO_MEMSET(save_input, 0, sizeof(save_input)); in _nx_crypto_cbc_decrypt()
|
D | nx_crypto_hmac_sha2.c | 157 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_SHA256_HMAC)); in _nx_crypto_method_hmac_sha256_cleanup()
|
D | nx_crypto_method_self_test_pkcs1.c | 191 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_pkcs1()
|
D | nx_crypto_method_self_test_prf.c | 221 NX_CRYPTO_MEMSET(output, 0, sizeof(output)); in _nx_crypto_method_self_test_prf()
|
D | nx_crypto_phash.c | 131 NX_CRYPTO_MEMSET(temp_A, 0, temp_A_size); in _nx_crypto_phash()
|
/NetX-Duo-v6.3.0/crypto_libraries/inc/ |
D | nx_crypto.h | 143 #ifndef NX_CRYPTO_MEMSET 144 #define NX_CRYPTO_MEMSET _nx_crypto_memset_ptr macro
|