Home
last modified time | relevance | path

Searched refs:drvError_t (Results 1 – 25 of 39) sorted by relevance

12

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Dhash_driver.h56 drvError_t InitHashDrv(void *pCtx);
57 drvError_t ProcessHashDrv(void *pCtx, CCBuffInfo_t *pInputBuffInfo, uint32_t dataInSize);
58 drvError_t FinishHashDrv(void *pCtx);
61 drvError_t InitSwHash512(void *pCtx);
62 drvError_t ProcessSwHash512(void *pCtx, CCBuffInfo_t *pInputBuffInfo, uint32_t dataInSize );
63 drvError_t FinishSwHash512(void *pCtx);
Daes_driver_ext_dma.h17 drvError_t finalizeAesExtDma(aesMode_t mode, uint32_t *pIv);
18 drvError_t terminateAesExtDma(void);
21 drvError_t AesExtDmaSetIv(aesMode_t mode, uint32_t *pIv);
24 drvError_t AesExtDmaSetKey(aesMode_t mode, uint32_t *keyBuf, keySizeId_t keySizeId);
30 drvError_t AesExtDmaInit(cryptoDirection_t encryptDecryptFlag,
Daes_driver_ext_dma.c26 drvError_t AesExtDmaInit(cryptoDirection_t encryptDecryptFlag, in AesExtDmaInit()
33 drvError_t rc = AES_DRV_OK; in AesExtDmaInit()
141 drvError_t AesExtDmaSetIv(aesMode_t mode, uint32_t *pIv) in AesExtDmaSetIv()
143 drvError_t rc = AES_DRV_OK; in AesExtDmaSetIv()
171 drvError_t AesExtDmaStoreIv(aesMode_t mode, uint32_t *pIv) in AesExtDmaStoreIv()
173 drvError_t rc = AES_DRV_OK; in AesExtDmaStoreIv()
192 drvError_t AesExtDmaSetKey(aesMode_t mode, uint32_t *keyBuf, keySizeId_t keySizeId) in AesExtDmaSetKey()
225 drvError_t finalizeAesExtDma(aesMode_t mode, uint32_t *pIv) in finalizeAesExtDma()
227 drvError_t drvRc = AES_DRV_OK; in finalizeAesExtDma()
237 drvError_t terminateAesExtDma(void) in terminateAesExtDma()
[all …]
Dhash_driver_ext_dma.h14 drvError_t FinishHashExtDma(hashMode_t mode, uint32_t * digest);
15 drvError_t InitHashExtDma(hashMode_t mode, uint32_t dataSize);
16 drvError_t terminateHashExtDma(void);
Dchacha_driver_ext_dma.c30 static drvError_t LoadChachaExtDmaState(uint32_t *pNonceBuf, chachaNonceSize_t nonceSizeFlag, uint3… in LoadChachaExtDmaState()
56 static drvError_t LoadChachaKeyExtDma(uint32_t *pKey) in LoadChachaKeyExtDma()
75 drvError_t InitChachaExtDma(uint32_t *pNonceBuf, chachaNonceSize_t nonceSizeFlag, uint32_t *keyBuf,… in InitChachaExtDma()
79 drvError_t drvRc = CHACHA_DRV_OK; in InitChachaExtDma()
80 drvError_t rc = AES_DRV_OK; in InitChachaExtDma()
151 drvError_t terminateChachaExtDma(void) in terminateChachaExtDma()
153 drvError_t rc = AES_DRV_OK; in terminateChachaExtDma()
Dchacha_driver_ext_dma.h14 drvError_t FinishChachaExtDma(hashMode_t mode, uint32_t * digest);
15 drvError_t InitChachaExtDma(uint32_t *nonceBuf, chachaNonceSize_t nonceSizeFlag, uint32_t *keyBuf, …
16 drvError_t terminateChachaExtDma(void);
Dhash_driver_ext_dma.c59 drvError_t InitHashExtDma(hashMode_t mode, uint32_t dataSize) in InitHashExtDma()
63 drvError_t drvRc = HASH_DRV_OK; in InitHashExtDma()
171 drvError_t FinishHashExtDma(hashMode_t mode, uint32_t * digest) in FinishHashExtDma()
175 drvError_t rc = AES_DRV_OK; in FinishHashExtDma()
199 drvError_t terminateHashExtDma(void) in terminateHashExtDma()
201 drvError_t rc = AES_DRV_OK; in terminateHashExtDma()
Dchacha_driver.c32 static drvError_t InitChacha(ChachaContext_t *chachaCtx) in InitChacha()
74 static drvError_t LoadChachaState(ChachaContext_t *chachaCtx) in LoadChachaState()
101 static drvError_t StoreChachaState(ChachaContext_t *chachaCtx) in StoreChachaState()
127 static drvError_t LoadChachaKey(ChachaContext_t *chachaCtx) in LoadChachaKey()
146 drvError_t ProcessChacha(ChachaContext_t *chachaCtx, CCBuffInfo_t *pInputBuffInfo, CCBuffInfo_t *pO… in ProcessChacha()
150 drvError_t drvRc = CHACHA_DRV_OK; in ProcessChacha()
Daes_driver.h56 drvError_t ProcessAesDrv(AesContext_t *aesCtx, CCBuffInfo_t *pInputBuffInfo, CCBuffInfo_t *pOutputB…
70 drvError_t FinishAesDrv(AesContext_t *aesCtx, CCBuffInfo_t *pInputBuffInfo, CCBuffInfo_t *pOutputBu…
Daes_driver.c40 static drvError_t InitAes(AesContext_t *aesCtx) in InitAes()
132 static drvError_t LoadAesKey(AesContext_t *aesCtx) in LoadAesKey()
229 static drvError_t LoadIVState(AesContext_t *aesCtx) in LoadIVState()
261 static drvError_t StoreIVState(AesContext_t *aesCtx) in StoreIVState()
294 static drvError_t finalizeCmac(AesContext_t *aesCtx, CCBuffInfo_t *pInputBuffInfo, uint32_t blockSi… in finalizeCmac()
296 drvError_t drvRc = AES_DRV_OK; in finalizeCmac()
412 drvError_t ProcessAesDrv(AesContext_t *aesCtx, CCBuffInfo_t *pInputBuffInfo, CCBuffInfo_t *pOutputB… in ProcessAesDrv()
415 drvError_t drvRc = AES_DRV_OK; in ProcessAesDrv()
524 drvError_t FinishAesDrv(AesContext_t *aesCtx, CCBuffInfo_t *pInputBuffInfo, CCBuffInfo_t *pOutputBu… in FinishAesDrv()
526 drvError_t drvRc = AES_DRV_OK; in FinishAesDrv()
Ddriver_common.c17 drvError_t SetDataBuffersInfo(const uint8_t *pDataIn, size_t dataInSize, CCBuffInfo_t *pInputBuffIn… in SetDataBuffersInfo()
20 drvError_t drvRet = CC_OK; in SetDataBuffersInfo()
Ddriver_defs.h28 typedef uint32_t drvError_t; typedef
202 typedef drvError_t (*llf_hash_init_operation_func)(void *);
203 typedef drvError_t (*llf_hash_update_operation_func)(void *, CCBuffInfo_t *pInputBuffInfo, uint32_t…
204 typedef drvError_t (*llf_hash_finish_operation_func)(void *);
383 drvError_t SetDataBuffersInfo(const uint8_t *pDataIn, size_t dataInSize, CCBuffInfo_t *pInputBuffIn…
Dhash_driver.c69 drvError_t InitHashDrv(void *pCtx) in InitHashDrv()
98 drvError_t ProcessHashDrv( void *pCtx, in ProcessHashDrv()
103 drvError_t drvRc = HASH_DRV_OK; in ProcessHashDrv()
256 drvError_t FinishHashDrv(void *pCtx) in FinishHashDrv()
Dbypass_driver.h29 drvError_t ProcessBypass(CCBuffInfo_t *pInputBuffInf, dataAddrType_t inputDataAddrType,
Dbypass_driver.c24 drvError_t ProcessBypass(CCBuffInfo_t *pInputBuffInfo, dataAddrType_t inputDataAddrType, in ProcessBypass()
28 drvError_t drvRc = BYPASS_DRV_OK; in ProcessBypass()
Daesccm_driver.h71 drvError_t ProcessAesCcmDrv(AesCcmContext_t *pAesCcmCtx, CCBuffInfo_t *pInputBuffInfo, CCBuffInfo…
Dchacha_driver.h60 drvError_t ProcessChacha(ChachaContext_t *chachaCtx, CCBuffInfo_t *pInputBuffInfo, CCBuffInfo_t *pO…
Daesgcm_driver.h112 drvError_t ProcessAesGcm(AesGcmContext_t *pAesGcmCtx, CCBuffInfo_t *pInputBuffInfo, CCBuffInfo_t *p…
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_aes_ext_dma.c60 drvError_t drvRc = AES_DRV_OK; in mbedtls_aes_ext_dma_init()
113 drvError_t drvRc = AES_DRV_OK; in mbedtls_aes_ext_dma_set_key()
114 drvError_t rc = AES_DRV_OK; in mbedtls_aes_ext_dma_set_key()
172 drvError_t drvRc = AES_DRV_OK; in mbedtls_aes_ext_dma_set_data_size()
173 drvError_t rc = AES_DRV_OK; in mbedtls_aes_ext_dma_set_data_size()
217 drvError_t drvRc = AES_DRV_OK; in mbedtls_aes_ext_dma_set_iv()
261 drvError_t drvRc = AES_DRV_OK; in mbedtls_aes_ext_dma_finish()
262 drvError_t rc = AES_DRV_OK; in mbedtls_aes_ext_dma_finish()
Dmbedtls_chacha_ext_dma.c18 static CCError_t Driver2ExtDMAChachaErr(drvError_t drvRc) in Driver2ExtDMAChachaErr()
41 drvError_t drvRc = CHACHA_DRV_OK; in mbedtls_ext_dma_chacha_init()
92 drvError_t drvRc = CHACHA_DRV_OK; in mbedtls_chacha_ext_dma_finish()
Dmbedtls_hash_ext_dma.c22 static int Driver2ExtDmaHashErr(drvError_t drvRc) in Driver2ExtDmaHashErr()
37 drvError_t drvRc = HASH_DRV_OK; in mbedtls_hash_ext_dma_init()
73 drvError_t rc = HASH_DRV_OK; in mbedtls_hash_ext_dma_finish()
Dmbedtls_cc_chacha.c18 static CCError_t Driver2CCChachaErr(drvError_t drvRc) in Driver2CCChachaErr()
43 drvError_t drvRc = CHACHA_DRV_OK; in ChachaBlock()
Dmbedtls_ccm_internal.c45 drvError_t rc; in ccm_init()
176 drvError_t rc; in ccm_ass_data()
278 drvError_t rc; in ccm_text_data()
401 drvError_t rc; in ccm_finish()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dgcm_alt.c121 drvError_t rc; in gcm_calc_h()
162 drvError_t rc; in gcm_init()
244 drvError_t rc; in gcm_process_j0()
310 drvError_t rc = 0; in gcm_process_aad()
348 drvError_t rc; in gcm_process_cipher()
383 drvError_t rc; in gcm_process_lenA_lenC()
Daes_alt.c166 drvError_t drvRet; in mbedtls_aes_crypt_ecb()
223 drvError_t drvRet; in mbedtls_aes_crypt_cbc()
339 drvError_t drvRet; in aes_crypt_ctr_ofb()

12