Searched refs:encryptDecryptFlag (Results 1 – 11 of 11) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_cc_chacha_poly.c | 20 mbedtls_chacha_encrypt_mode_t encryptDecryptFlag, in mbedtls_chacha_poly() argument 53 if (encryptDecryptFlag == CC_CHACHA_Encrypt) { in mbedtls_chacha_poly() 55 } else if (encryptDecryptFlag == CC_CHACHA_Decrypt) { in mbedtls_chacha_poly() 72 if (encryptDecryptFlag == CC_CHACHA_Encrypt) { in mbedtls_chacha_poly() 73 …rc = mbedtls_chacha(pNonce, CC_CHACHA_Nonce96BitSize, pKey, 1, encryptDecryptFlag, (uint8_t *)pDat… in mbedtls_chacha_poly() 87 if (encryptDecryptFlag == CC_CHACHA_Encrypt) { in mbedtls_chacha_poly() 97 …rc = mbedtls_chacha(pNonce, CC_CHACHA_Nonce96BitSize, pKey, 1, encryptDecryptFlag, (uint8_t *)pDat… in mbedtls_chacha_poly()
|
D | mbedtls_aes_ext_dma.c | 57 int encryptDecryptFlag, in mbedtls_aes_ext_dma_init() argument 74 if (CC_AES_DECRYPT != encryptDecryptFlag && CC_AES_ENCRYPT != encryptDecryptFlag) { in mbedtls_aes_ext_dma_init() 81 (encryptDecryptFlag != CC_AES_ENCRYPT) ) { in mbedtls_aes_ext_dma_init() 103 drvRc = AesExtDmaInit((cryptoDirection_t)encryptDecryptFlag, mode, keySizeId); in mbedtls_aes_ext_dma_init()
|
D | mbedtls_cc_chacha.c | 211 mbedtls_chacha_encrypt_mode_t encryptDecryptFlag, in mbedtls_chacha() argument 235 …r = mbedtls_chacha_init(&UserContext, pNonce, nonceSize, pKey, initialCounter, encryptDecryptFlag); in mbedtls_chacha()
|
D | mbedtls_ccm_internal.c | 32 cryptoDirection_t encryptDecryptFlag, in ccm_init() argument 51 if (encryptDecryptFlag >= CRYPTO_DIRECTION_NUM_OF_ENC_MODES) in ccm_init() 113 pAesCcmCtx->dir = encryptDecryptFlag; in ccm_init()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/ |
D | aes_driver_ext_dma.c | 26 drvError_t AesExtDmaInit(cryptoDirection_t encryptDecryptFlag, in AesExtDmaInit() argument 50 if ( (encryptDecryptFlag != CRYPTO_DIRECTION_ENCRYPT) && in AesExtDmaInit() 51 (encryptDecryptFlag != CRYPTO_DIRECTION_DECRYPT) ) { in AesExtDmaInit() 97 dir = encryptDecryptFlag; in AesExtDmaInit()
|
D | aes_driver_ext_dma.h | 30 drvError_t AesExtDmaInit(cryptoDirection_t encryptDecryptFlag,
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/ |
D | mbedtls_cc_chacha_poly.h | 45 …mbedtls_chacha_encrypt_mode_t encryptDecryptFlag, /*!< [in] A flag specifying which operation t…
|
D | mbedtls_aes_ext_dma.h | 41 int encryptDecryptFlag,
|
D | mbedtls_cc_chacha.h | 186 …mbedtls_chacha_encrypt_mode_t encryptDecryptFlag, /*!< [in] A flag specifying which operation t…
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | gcm_alt.c | 150 cryptoDirection_t encryptDecryptFlag, in gcm_init() argument 165 if (CRYPTO_DIRECTION_NUM_OF_ENC_MODES <= encryptDecryptFlag) { in gcm_init() 223 pAesGcmCtx->dir = MBEDTLS_2_DRIVER_DIRECTION(encryptDecryptFlag); in gcm_init()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_ccm.c | 130 cryptoDirection_t encryptDecryptFlag, in ccm_init() argument 145 if (encryptDecryptFlag >= CRYPTO_DIRECTION_NUM_OF_ENC_MODES) { in ccm_init() 202 context->dir = encryptDecryptFlag; in ccm_init()
|