Home
last modified time | relevance | path

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/
Dmbedtls_cc_chacha_poly.c20 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()
Dmbedtls_aes_ext_dma.c57 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()
Dmbedtls_cc_chacha.c211 mbedtls_chacha_encrypt_mode_t encryptDecryptFlag, in mbedtls_chacha() argument
235 …r = mbedtls_chacha_init(&UserContext, pNonce, nonceSize, pKey, initialCounter, encryptDecryptFlag); in mbedtls_chacha()
Dmbedtls_ccm_internal.c32 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/
Daes_driver_ext_dma.c26 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()
Daes_driver_ext_dma.h30 drvError_t AesExtDmaInit(cryptoDirection_t encryptDecryptFlag,
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/
Dmbedtls_cc_chacha_poly.h45 …mbedtls_chacha_encrypt_mode_t encryptDecryptFlag, /*!< [in] A flag specifying which operation t…
Dmbedtls_aes_ext_dma.h41 int encryptDecryptFlag,
Dmbedtls_cc_chacha.h186 …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/
Dgcm_alt.c150 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/
Dcc3xx_internal_ccm.c130 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()