Lines Matching refs:cryptoMode

97 int32_t         CryptoCC32XX_aesProcess(uint32_t cryptoMode , uint32_t cryptoDirection, uint8_t* pI…
98 int32_t CryptoCC32XX_desProcess(uint32_t cryptoMode , uint32_t cryptoDirection, uint8_t* pI…
99 int32_t CryptoCC32XX_shamd5Process(uint32_t cryptoMode , uint8_t* pBuff, uint32_t len, uint…
286 uint32_t cryptoMode = CryptoCC32XX_getMode((uint32_t)method); in CryptoCC32XX_encrypt() local
303 …status = CryptoCC32XX_aesProcess(cryptoMode , AES_CFG_DIR_ENCRYPT, pInBuff, inLen, pOutBuff , pPar… in CryptoCC32XX_encrypt()
306 …status = CryptoCC32XX_desProcess(cryptoMode , DES_CFG_DIR_ENCRYPT, pInBuff, inLen, pOutBuff , pPar… in CryptoCC32XX_encrypt()
325 uint32_t cryptoMode = CryptoCC32XX_getMode((uint32_t)method); in CryptoCC32XX_decrypt() local
342 …status = CryptoCC32XX_aesProcess(cryptoMode , AES_CFG_DIR_DECRYPT, pInBuff, inLen, pOutBuff , pPar… in CryptoCC32XX_decrypt()
345 …status = CryptoCC32XX_desProcess(cryptoMode , DES_CFG_DIR_DECRYPT, pInBuff, inLen, pOutBuff , pPar… in CryptoCC32XX_decrypt()
364 uint32_t cryptoMode = CryptoCC32XX_getMode((uint32_t)method); in CryptoCC32XX_sign() local
381 status = CryptoCC32XX_shamd5Process(cryptoMode , pBuff, len, pSignature , pParams); in CryptoCC32XX_sign()
399 uint32_t cryptoMode = CryptoCC32XX_getMode((uint32_t)method); in CryptoCC32XX_verify() local
418 shamd5SignatureSize = CryptoCC32XX_SHAMD5GetSignatureSize(cryptoMode); in CryptoCC32XX_verify()
427 … status = CryptoCC32XX_shamd5Process(cryptoMode , pBuff, len, pSignature , pParams); in CryptoCC32XX_verify()
453 int32_t CryptoCC32XX_shamd5Process(uint32_t cryptoMode , uint8_t *pBuff, uint32_t len, uint8_t *pSi… in CryptoCC32XX_shamd5Process() argument
509 MAP_SHAMD5ConfigSet(SHAMD5_BASE, cryptoMode, 0, 0, 1, 0); in CryptoCC32XX_shamd5Process()
513 MAP_SHAMD5ConfigSet(SHAMD5_BASE, cryptoMode, 1, 0, 0, 0); in CryptoCC32XX_shamd5Process()
521 MAP_SHAMD5ConfigSet(SHAMD5_BASE, cryptoMode, 0, 0, 0, 0); in CryptoCC32XX_shamd5Process()
535 MAP_SHAMD5ConfigSet(SHAMD5_BASE, cryptoMode, 0, 1, 1, 1); in CryptoCC32XX_shamd5Process()
539 MAP_SHAMD5ConfigSet(SHAMD5_BASE, cryptoMode, 1, 1, 0, 0); in CryptoCC32XX_shamd5Process()
549 MAP_SHAMD5ConfigSet(SHAMD5_BASE, cryptoMode, 0, 1, 0, 1); in CryptoCC32XX_shamd5Process()
553 MAP_SHAMD5ConfigSet(SHAMD5_BASE, cryptoMode, 0, 1, 0, 0); in CryptoCC32XX_shamd5Process()
654 int32_t CryptoCC32XX_aesProcess(uint32_t cryptoMode , uint32_t cryptoDirection, uint8_t *pInBuff, u… in CryptoCC32XX_aesProcess() argument
684 …MAP_AESConfigSet(AES_BASE, cryptoDirection | cryptoMode | CryptoCC32XX_getAesKeySize(pParams->aes.… in CryptoCC32XX_aesProcess()
687 if ((cryptoMode == AES_CFG_MODE_CBC) || (cryptoMode == AES_CFG_MODE_CFB) || in CryptoCC32XX_aesProcess()
688 (cryptoMode == AES_CFG_MODE_CTR) || (cryptoMode == AES_CFG_MODE_ICM) || in CryptoCC32XX_aesProcess()
689 (cryptoMode == AES_CFG_MODE_CCM) || (cryptoMode == AES_CFG_MODE_GCM_HY0CALC)) in CryptoCC32XX_aesProcess()
699 if (cryptoMode == AES_CFG_MODE_CCM) in CryptoCC32XX_aesProcess()
705 if ((cryptoMode == AES_CFG_MODE_CCM) || (cryptoMode == AES_CFG_MODE_GCM_HY0CALC)) in CryptoCC32XX_aesProcess()
716 if ((cryptoMode == AES_CFG_MODE_CBC) || (cryptoMode == AES_CFG_MODE_CFB) || in CryptoCC32XX_aesProcess()
717 (cryptoMode == AES_CFG_MODE_CTR) || (cryptoMode == AES_CFG_MODE_ICM) || in CryptoCC32XX_aesProcess()
718 (cryptoMode == AES_CFG_MODE_CCM) || (cryptoMode == AES_CFG_MODE_GCM_HY0CALC)) in CryptoCC32XX_aesProcess()
730 int32_t CryptoCC32XX_desProcess(uint32_t cryptoMode , uint32_t cryptoDirection, uint8_t *pInBuff, u… in CryptoCC32XX_desProcess() argument
760 …MAP_DESConfigSet(DES_BASE, cryptoDirection | cryptoMode | CryptoCC32XX_getDesKeySize(pParams->des.… in CryptoCC32XX_desProcess()
766 if((cryptoMode & DES_CFG_MODE_CBC) || (cryptoMode & DES_CFG_MODE_CFB)) in CryptoCC32XX_desProcess()