Lines Matching refs:keySch
81 static status_t mmcau_AesCrypt(const uint8_t *in, const uint8_t *keySch, uint32_t aesRounds, uint8_… in mmcau_AesCrypt() argument
87 (NULL == keySch)) in mmcau_AesCrypt()
118 keySchWork = mmcau_align_const(keySch, keySchAlign, keySchSize); in mmcau_AesCrypt()
257 status_t MMCAU_AES_SetKey(const uint8_t *key, const size_t keySize, uint8_t *keySch) in MMCAU_AES_SetKey() argument
262 …f (((keySize != 16u) && (keySize != 24u) && (keySize != 32u)) || (NULL == key) || (NULL == keySch)) in MMCAU_AES_SetKey()
276 keySchWork = mmcau_align(keySch, keySchAlign, ©Out); in MMCAU_AES_SetKey()
297 mmcau_memcpy(keySch, keySchAlign, sizeOut); in MMCAU_AES_SetKey()
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()