/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_aes_ext_dma.c | 62 keySizeId_t keySizeId; in mbedtls_aes_ext_dma_init() local 89 keySizeId = KEY_SIZE_128_BIT; in mbedtls_aes_ext_dma_init() 92 keySizeId = KEY_SIZE_192_BIT; in mbedtls_aes_ext_dma_init() 95 keySizeId = KEY_SIZE_256_BIT; in mbedtls_aes_ext_dma_init() 103 drvRc = AesExtDmaInit((cryptoDirection_t)encryptDecryptFlag, mode, keySizeId); in mbedtls_aes_ext_dma_init() 115 keySizeId_t keySizeId; in mbedtls_aes_ext_dma_set_key() local 140 keySizeId = KEY_SIZE_128_BIT; in mbedtls_aes_ext_dma_set_key() 143 keySizeId = KEY_SIZE_192_BIT; in mbedtls_aes_ext_dma_set_key() 146 keySizeId = KEY_SIZE_256_BIT; in mbedtls_aes_ext_dma_set_key() 155 drvRc = AesExtDmaSetKey(mode, keyBuffer, keySizeId); in mbedtls_aes_ext_dma_set_key()
|
D | mbedtls_ccm_internal.c | 617 aes_ccm_ctx->keySizeId = KEY_SIZE_128_BIT; in mbedtls_ccm_setkey_int() 622 aes_ccm_ctx->keySizeId = KEY_SIZE_192_BIT; in mbedtls_ccm_setkey_int() 627 aes_ccm_ctx->keySizeId = KEY_SIZE_256_BIT; in mbedtls_ccm_setkey_int()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/ |
D | aes_driver_ext_dma.c | 28 keySizeId_t keySizeId) in AesExtDmaInit() argument 103 switch (keySizeId) { in AesExtDmaInit() 108 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, aesCtrl, keySizeId); in AesExtDmaInit() 192 drvError_t AesExtDmaSetKey(aesMode_t mode, uint32_t *keyBuf, keySizeId_t keySizeId) in AesExtDmaSetKey() argument 198 …if ((keySizeId != KEY_SIZE_256_BIT) && (keySizeId != KEY_SIZE_192_BIT) && (keySizeId != KEY_SIZE_1… in AesExtDmaSetKey() 207 if (keySizeId == KEY_SIZE_192_BIT || keySizeId == KEY_SIZE_256_BIT) { in AesExtDmaSetKey() 211 if (keySizeId == KEY_SIZE_256_BIT) { in AesExtDmaSetKey()
|
D | aes_driver_ext_dma.h | 24 drvError_t AesExtDmaSetKey(aesMode_t mode, uint32_t *keyBuf, keySizeId_t keySizeId); 32 keySizeId_t keySizeId);
|
D | aesccm_driver.c | 77 switch (pAesCcmCtx->keySizeId) { in InitAesCcm() 81 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, aesControl, pAesCcmCtx->keySizeId); in InitAesCcm() 82 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY1, aesControl, pAesCcmCtx->keySizeId); in InitAesCcm() 129 if (pAesCcmCtx->keySizeId >= KEY_SIZE_192_BIT) { in LoadAesCcmdKey() 138 if (pAesCcmCtx->keySizeId == KEY_SIZE_256_BIT) { in LoadAesCcmdKey()
|
D | aesgcm_driver.c | 44 if (pAesGcmCtx->keySizeId > KEY_SIZE_128_BIT) { in loadAesGcmKey() 50 if (pAesGcmCtx->keySizeId > KEY_SIZE_192_BIT) { in loadAesGcmKey() 158 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, auxReg, pAesGcmCtx->keySizeId); in initAesGcm() 212 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, auxReg, pAesGcmCtx->keySizeId); in initAesGcm() 280 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, auxReg, pAesGcmCtx->keySizeId); in initAesGcm()
|
D | aesccm_driver.h | 42 keySizeId_t keySizeId; member
|
D | aes_driver.h | 23 keySizeId_t keySizeId; member
|
D | aes_driver.c | 112 switch (aesCtx->keySizeId) { in InitAes() 117 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, aesCtrl, aesCtx->keySizeId); in InitAes() 148 … if (aesCtx->keySizeId == KEY_SIZE_192_BIT || aesCtx->keySizeId == KEY_SIZE_256_BIT) { in LoadAesKey() 152 if (aesCtx->keySizeId == KEY_SIZE_256_BIT) in LoadAesKey()
|
D | aesgcm_driver.h | 80 keySizeId_t keySizeId; member
|
D | driver_defs.h | 74 typedef enum keySizeId { enum
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/ |
D | cc_util_cmac.c | 122 aesCtxBuf.keySizeId = KEY_SIZE_256_BIT; in UtilCmacDeriveKey() 127 aesCtxBuf.keySizeId = KEY_SIZE_128_BIT; in UtilCmacDeriveKey() 132 aesCtxBuf.keySizeId = KEY_SIZE_128_BIT; in UtilCmacDeriveKey() 144 aesCtxBuf.keySizeId = KEY_SIZE_128_BIT; in UtilCmacDeriveKey() 147 aesCtxBuf.keySizeId = KEY_SIZE_192_BIT; in UtilCmacDeriveKey() 150 aesCtxBuf.keySizeId = KEY_SIZE_256_BIT; in UtilCmacDeriveKey()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_aes.c | 66 ctx->keySizeId = KEY_SIZE_128_BIT; in aes_setkey() 69 ctx->keySizeId = KEY_SIZE_192_BIT; in aes_setkey() 72 ctx->keySizeId = KEY_SIZE_256_BIT; in aes_setkey()
|
D | cc3xx_psa_mac.c | 84 ctx->keySizeId = KEY_SIZE_128_BIT; in cmac_setkey() 87 ctx->keySizeId = KEY_SIZE_192_BIT; in cmac_setkey() 90 ctx->keySizeId = KEY_SIZE_256_BIT; in cmac_setkey()
|
D | cc3xx_internal_gcm.c | 67 ctx->keySizeId = KEY_SIZE_128_BIT; in gcm_setkey() 70 ctx->keySizeId = KEY_SIZE_192_BIT; in gcm_setkey() 73 ctx->keySizeId = KEY_SIZE_256_BIT; in gcm_setkey()
|
D | cc3xx_internal_ccm.c | 56 ctx->keySizeId = KEY_SIZE_128_BIT; in ccm_setkey() 60 ctx->keySizeId = KEY_SIZE_192_BIT; in ccm_setkey() 63 ctx->keySizeId = KEY_SIZE_256_BIT; in ccm_setkey()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/common/ |
D | prod_crypto_driver.c | 146 pAesCtx->keySizeId = KEY_SIZE_128_BIT; in CC_PROD_AesInit() 149 pAesCtx->keySizeId = KEY_SIZE_192_BIT; in CC_PROD_AesInit() 152 pAesCtx->keySizeId = KEY_SIZE_256_BIT; in CC_PROD_AesInit() 245 aesCtx.keySizeId = KEY_SIZE_128_BIT; in CC_PROD_KeyDerivation()
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | aes_alt.c | 97 aesCtx->keySizeId = KEY_SIZE_128_BIT; in aes_setkey() 100 aesCtx->keySizeId = KEY_SIZE_192_BIT; in aes_setkey() 103 aesCtx->keySizeId = KEY_SIZE_256_BIT; in aes_setkey()
|
D | cmac_alt.c | 112 ctx->keySizeId = KEY_SIZE_128_BIT; in cmac_setkey() 115 ctx->keySizeId = KEY_SIZE_192_BIT; in cmac_setkey() 118 ctx->keySizeId = KEY_SIZE_256_BIT; in cmac_setkey()
|
D | gcm_alt.c | 92 aes_gcm_ctx->keySizeId = KEY_SIZE_128_BIT; in mbedtls_gcm_setkey() 95 aes_gcm_ctx->keySizeId = KEY_SIZE_192_BIT; in mbedtls_gcm_setkey() 98 aes_gcm_ctx->keySizeId = KEY_SIZE_256_BIT; in mbedtls_gcm_setkey()
|