Searched refs:aesRounds (Results 1 – 2 of 2) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/mmcau/ |
D | fsl_mmcau.c | 81 static status_t mmcau_AesCrypt(const uint8_t *in, const uint8_t *keySch, uint32_t aesRounds, uint8_… in mmcau_AesCrypt() argument 86 …if (((aesRounds != 10u) && (aesRounds != 12u) && (aesRounds != 14u)) || (NULL == in) || (NULL == o… in mmcau_AesCrypt() 103 if (aesRounds == 10u) in mmcau_AesCrypt() 107 else if (aesRounds == 12u) in mmcau_AesCrypt() 124 cau_aes_encrypt(inWork, keySchWork, (int)aesRounds, outWork); in mmcau_AesCrypt() 128 cau_aes_decrypt(inWork, keySchWork, (int)aesRounds, outWork); in mmcau_AesCrypt() 306 status_t MMCAU_AES_EncryptEcb(const uint8_t *in, const uint8_t *keySch, uint32_t aesRounds, uint8_t… in MMCAU_AES_EncryptEcb() argument 308 return mmcau_AesCrypt(in, keySch, aesRounds, out, true /* true for encryption */); in MMCAU_AES_EncryptEcb() 311 status_t MMCAU_AES_DecryptEcb(const uint8_t *in, const uint8_t *keySch, uint32_t aesRounds, uint8_t… in MMCAU_AES_DecryptEcb() argument 313 return mmcau_AesCrypt(in, keySch, aesRounds, out, false /* false for decryption */); in MMCAU_AES_DecryptEcb()
|
D | fsl_mmcau.h | 64 status_t MMCAU_AES_EncryptEcb(const uint8_t *in, const uint8_t *keySch, uint32_t aesRounds, uint8_t… 85 status_t MMCAU_AES_DecryptEcb(const uint8_t *in, const uint8_t *keySch, uint32_t aesRounds, uint8_t…
|