Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_ctr.c214 UCHAR aes_output[NX_CRYPTO_CTR_BLOCK_SIZE]; in _nx_crypto_ctr_encrypt() local
229 crypto_function(crypto_metadata, control_block, aes_output, block_size); in _nx_crypto_ctr_encrypt()
230 _nx_crypto_ctr_xor(&input[i], aes_output, &output[i]); in _nx_crypto_ctr_encrypt()
237 crypto_function(crypto_metadata, control_block, aes_output, block_size); in _nx_crypto_ctr_encrypt()
238 _nx_crypto_ctr_xor(&input[i], aes_output, aes_output); in _nx_crypto_ctr_encrypt()
239 NX_CRYPTO_MEMCPY(&output[i], aes_output, length - i); /* Use case of memcpy is verified. */ in _nx_crypto_ctr_encrypt()
243 NX_CRYPTO_MEMSET(aes_output, 0, sizeof(aes_output)); in _nx_crypto_ctr_encrypt()
Dnx_crypto_gcm.c372 UCHAR aes_output[NX_CRYPTO_GCM_BLOCK_SIZE]; in _nx_crypto_gcm_gctr() local
381 crypto_function(crypto_metadata, counter_block, aes_output, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_gctr()
384 _nx_crypto_gcm_xor(input, aes_output, output); in _nx_crypto_gcm_gctr()
396 crypto_function(crypto_metadata, counter_block, aes_output, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_gctr()
400 _nx_crypto_gcm_xor(input, aes_output, aes_output); in _nx_crypto_gcm_gctr()
401 NX_CRYPTO_MEMCPY(output, aes_output, length); /* Use case of memcpy is verified. */ in _nx_crypto_gcm_gctr()