Home
last modified time | relevance | path

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

/NetX-Duo-v6.3.0/crypto_libraries/src/
Dnx_crypto_cbc.c128 NX_CRYPTO_KEEP UINT _nx_crypto_cbc_encrypt(VOID *crypto_metadata, NX_CRYPTO_CBC *cbc_metadata, in _nx_crypto_cbc_encrypt() argument
147 if (block_size > sizeof(cbc_metadata -> nx_crypto_cbc_last_block)) in _nx_crypto_cbc_encrypt()
153 last_cipher = cbc_metadata -> nx_crypto_cbc_last_block; in _nx_crypto_cbc_encrypt()
171 …NX_CRYPTO_MEMCPY(cbc_metadata -> nx_crypto_cbc_last_block, last_cipher, block_size); /* Use case o… in _nx_crypto_cbc_encrypt()
229 NX_CRYPTO_KEEP UINT _nx_crypto_cbc_decrypt(VOID *crypto_metadata, NX_CRYPTO_CBC *cbc_metadata, in _nx_crypto_cbc_decrypt() argument
249 if (block_size > sizeof(cbc_metadata -> nx_crypto_cbc_last_block)) in _nx_crypto_cbc_decrypt()
254 last_cipher = cbc_metadata -> nx_crypto_cbc_last_block; in _nx_crypto_cbc_decrypt()
323 NX_CRYPTO_KEEP UINT _nx_crypto_cbc_encrypt_init(NX_CRYPTO_CBC *cbc_metadata, UCHAR *iv, UINT iv_len) in _nx_crypto_cbc_encrypt_init() argument
327 if (iv_len > sizeof(cbc_metadata -> nx_crypto_cbc_last_block)) in _nx_crypto_cbc_encrypt_init()
333 …NX_CRYPTO_MEMCPY(cbc_metadata -> nx_crypto_cbc_last_block, iv, iv_len); /* Use case of memcpy is v… in _nx_crypto_cbc_encrypt_init()
/NetX-Duo-v6.3.0/crypto_libraries/inc/
Dnx_crypto_cbc.h76 NX_CRYPTO_KEEP UINT _nx_crypto_cbc_encrypt(VOID *crypto_metadata, NX_CRYPTO_CBC *cbc_metadata,
80 NX_CRYPTO_KEEP UINT _nx_crypto_cbc_decrypt(VOID *crypto_metadata, NX_CRYPTO_CBC *cbc_metadata,
84 NX_CRYPTO_KEEP UINT _nx_crypto_cbc_encrypt_init(NX_CRYPTO_CBC *cbc_metadata, UCHAR *iv, UINT iv_len…