Home
last modified time | relevance | path

Searched refs:RunItError_t (Results 1 – 24 of 24) sorted by relevance

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_test_api.h14 RunItError_t runIt_aesTest(void);
15 RunItError_t runIt_rsaTest(void);
16 RunItError_t runIt_ccmTest(void);
17 RunItError_t runIt_gcmTest(void);
18 RunItError_t runIt_shaTest(void);
19 RunItError_t runIt_ecdsaTest(void);
20 RunItError_t runIt_eciesTest(void);
21 RunItError_t runIt_ecdhTest(void);
22 RunItError_t runIt_ctrDrbgTest(void);
23 RunItError_t runIt_keyDerivationTest(void);
[all …]
Drun_integration_sha.c31 static RunItError_t runIt_sha1Test(void);
32 static RunItError_t runIt_sha224Test(void);
33 static RunItError_t runIt_sha256Test(void);
34 static RunItError_t runIt_sha384Test(void);
35 static RunItError_t runIt_sha512Test(void);
42 static RunItError_t runIt_sha1Test(void) in runIt_sha1Test()
44 RunItError_t rc = RUNIT_ERROR__OK; in runIt_sha1Test()
96 static RunItError_t runIt_sha224Test(void) in runIt_sha224Test()
98 RunItError_t rc = RUNIT_ERROR__OK; in runIt_sha224Test()
152 static RunItError_t runIt_sha256Test(void) in runIt_sha256Test()
[all …]
Drun_integration_aes.c42 static RunItError_t runIt_aesOfbTest(void);
43 static RunItError_t runIt_aesCtrTestProfiling(size_t data_len);
44 static RunItError_t runIt_aesCtrTest(void);
45 static RunItError_t runIt_aesCbcTest(void);
46 static RunItError_t runIt_aesEcbTest(void);
54 static RunItError_t runIt_aesOfbTest(void) in runIt_aesOfbTest()
56 RunItError_t rc = RUNIT_ERROR__OK; in runIt_aesOfbTest()
126 static RunItError_t runIt_aesCtrTestProfiling(size_t data_len) in runIt_aesCtrTestProfiling()
128 RunItError_t rc = RUNIT_ERROR__OK; in runIt_aesCtrTestProfiling()
184 static RunItError_t runIt_aesCtrTest(void) in runIt_aesCtrTest()
[all …]
Drun_integration_asset_prov.c48 static RunItError_t runIt_assetProv(void);
56 static RunItError_t runIt_assetProv(void) in runIt_assetProv()
58 RunItError_t rc = RUNIT_ERROR__OK; in runIt_assetProv()
169 static RunItError_t runIt_assetProv(void) in runIt_assetProv()
171 RunItError_t rc = RUNIT_ERROR__OK; in runIt_assetProv()
223 RunItError_t runIt_assetProvTest(void) in runIt_assetProvTest()
225 RunItError_t rc = RUNIT_ERROR__OK; in runIt_assetProvTest()
Drun_integration_rsa.c120 static RunItError_t runIt_rsaPublic(void);
121 static RunItError_t runIt_rsaPublicGeneral(const RunItRsaData_t *pData);
122 static RunItError_t runIt_rsaPrivate(void);
123 static RunItError_t runIt_rsaPrivateGeneral(const RunItRsaData_t *pData);
124 static RunItError_t runIt_rsaCheckPubpriv(void);
125 static RunItError_t runIt_rsaCheckPrivkey(void);
126 static RunItError_t runIt_rsaGenKey(void);
127 static RunItError_t runIt_rsaPkcsV21Test(void);
128 static RunItError_t runIt_rsaPkcsV21TestGeneral(const RunItRsaData_t *pData);
135 RunItError_t runIt_buildPrivateKey(mbedtls_rsa_context* ctx) in runIt_buildPrivateKey()
[all …]
Drun_integration_key_derivation.c54 static RunItError_t runIt_hmacKeyDerivTest(void);
55 static RunItError_t runIt_cmacKeyDerivTest(void);
56 static RunItError_t runIt_cmacRootKeyDerivTest(void);
57 static RunItError_t runIt_hkdfKeyDerivTest(void);
64 static RunItError_t runIt_hmacKeyDerivTest(void) in runIt_hmacKeyDerivTest()
66 RunItError_t rc = RUNIT_ERROR__OK; in runIt_hmacKeyDerivTest()
126 static RunItError_t runIt_cmacKeyDerivTest(void) in runIt_cmacKeyDerivTest()
128 RunItError_t rc = RUNIT_ERROR__OK; in runIt_cmacKeyDerivTest()
185 static RunItError_t runIt_cmacRootKeyDerivTest(void) in runIt_cmacRootKeyDerivTest()
187 RunItError_t rc = RUNIT_ERROR__OK; in runIt_cmacRootKeyDerivTest()
[all …]
Drun_integration_chacha.c40 static RunItError_t runIt_Chacha(void);
41 static RunItError_t runIt_ChachaPolyEncrypt(void);
42 static RunItError_t runIt_ChachaPolyDecrypt(void);
49 static RunItError_t runIt_Chacha(void) in runIt_Chacha()
51 RunItError_t rc = RUNIT_ERROR__OK; in runIt_Chacha()
123 static RunItError_t runIt_ChachaPolyEncrypt(void) in runIt_ChachaPolyEncrypt()
125 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ChachaPolyEncrypt()
189 static RunItError_t runIt_ChachaPolyDecrypt(void) in runIt_ChachaPolyDecrypt()
191 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ChachaPolyDecrypt()
256 static RunItError_t runIt_Poly(void) in runIt_Poly()
[all …]
Drun_integration_secure_boot.c242 static RunItError_t runIt_loadParams(RunItBinaryFile_t* pCertBin,
246 static RunItError_t runIt_flashLoadSecureBootCertificates(void);
247 static RunItError_t runIt_prepareFlash(void);
461 static RunItError_t runIt_loadParams(RunItBinaryFile_t* pCertBin, in runIt_loadParams()
466 RunItError_t rc = RUNIT_ERROR__OK; in runIt_loadParams()
496 static RunItError_t runIt_flashLoadSecureBootCertificates(void) in runIt_flashLoadSecureBootCertificates()
498 RunItError_t rc = RUNIT_ERROR__OK; in runIt_flashLoadSecureBootCertificates()
532 static RunItError_t runIt_prepareOtp(void) in runIt_prepareOtp()
534 RunItError_t rc = RUNIT_ERROR__OK; in runIt_prepareOtp()
542 static RunItError_t runIt_prepareFlash(void) in runIt_prepareFlash()
[all …]
Drun_integration_mac.c32 static RunItError_t runIt_hmac(void);
33 static RunItError_t runIt_cmac(void);
34 static RunItError_t runIt_cmacProfiling(size_t data_len);
41 static RunItError_t runIt_hmac(void) in runIt_hmac()
43 RunItError_t rc = RUNIT_ERROR__OK; in runIt_hmac()
126 static RunItError_t runIt_cmacProfiling(size_t data_len) in runIt_cmacProfiling()
128 RunItError_t rc = RUNIT_ERROR__OK; in runIt_cmacProfiling()
192 static RunItError_t runIt_cmac(void) in runIt_cmac()
194 RunItError_t rc = RUNIT_ERROR__OK; in runIt_cmac()
290 RunItError_t runIt_macTest(void) in runIt_macTest()
[all …]
Drun_integration_ecdsa.c46 static RunItError_t runIt_ecdsaPrimRandomTest(void);
47 static RunItError_t runIt_ecdsaPrimVectorsTest(void);
48 static RunItError_t runIt_ecdsaDetVectorsTest(void);
49 static RunItError_t runIt_ecdsaWriteReadRandomTest(void);
50 static RunItError_t runIt_ecdsaPrimRandomEdwTest(void);
63 static RunItError_t runIt_ecdsaPrimRandomTest(void) in runIt_ecdsaPrimRandomTest()
65 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ecdsaPrimRandomTest()
116 static RunItError_t runIt_ecdsaPrimRandomEdwTest(void) in runIt_ecdsaPrimRandomEdwTest()
118 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ecdsaPrimRandomEdwTest()
161 static RunItError_t runIt_ecdsaPrimVectorsTest(void) in runIt_ecdsaPrimVectorsTest()
[all …]
Drun_integration_drbg.c30 static RunItError_t runIt_ctrDrbgEntropyUsageTest(void);
31 static RunItError_t runIt_ctrDrbgVectorTest(void);
54 static RunItError_t runIt_ctrDrbgEntropyUsageTest(void) in runIt_ctrDrbgEntropyUsageTest()
56 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ctrDrbgEntropyUsageTest()
148 static RunItError_t runIt_ctrDrbgVectorTest(void) in runIt_ctrDrbgVectorTest()
150 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ctrDrbgVectorTest()
209 RunItError_t runIt_ctrDrbgTest(void) in runIt_ctrDrbgTest()
211 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ctrDrbgTest()
Drun_integration_ccm.c34 static RunItError_t runIt_ccm(void);
41 static RunItError_t runIt_ccmStarEncOnly(void) in runIt_ccmStarEncOnly()
43 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ccmStarEncOnly()
101 static RunItError_t runIt_ccmStar(void) in runIt_ccmStar()
103 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ccmStar()
161 static RunItError_t runIt_ccm(void) in runIt_ccm()
163 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ccm()
220 RunItError_t runIt_ccmTest(void) in runIt_ccmTest()
222 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ccmTest()
Drun_integration_ecdh.c37 static RunItError_t runIt_ecdhPrimRandom(void);
38 static RunItError_t runIt_ecdhExchange(void);
40 static RunItError_t runIt_ecdhExange25519(void);
47 static RunItError_t runIt_ecdhPrimRandom(void) in runIt_ecdhPrimRandom()
49 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ecdhPrimRandom()
172 static RunItError_t runIt_ecdhExchange(void) in runIt_ecdhExchange()
174 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ecdhExchange()
225 static RunItError_t runIt_ecdhExange25519(void) in runIt_ecdhExange25519()
227 RunItError_t rc = RUNIT_ERROR__OK; in runIt_ecdhExange25519()
286 RunItError_t runIt_ecdhTest(void) in runIt_ecdhTest()
[all …]
Drun_integration_ext_dma.c38 static RunItError_t runIt_extDma(void);
45 static RunItError_t runIt_extDma(void) in runIt_extDma()
47 RunItError_t rc = RUNIT_ERROR__OK; in runIt_extDma()
139 RunItError_t runIt_extDmaTest(void) in runIt_extDmaTest()
141 RunItError_t rc = RUNIT_ERROR__OK; in runIt_extDmaTest()
Drun_integration_gcm.c33 static RunItError_t runIt_gcmProfiling(size_t data_len);
34 static RunItError_t runIt_gcm(void);
42 static RunItError_t runIt_gcmProfiling(size_t data_len) in runIt_gcmProfiling()
45 RunItError_t rc = RUNIT_ERROR__OK; in runIt_gcmProfiling()
117 static RunItError_t runIt_gcm(void) in runIt_gcm()
119 RunItError_t rc = RUNIT_ERROR__OK; in runIt_gcm()
258 RunItError_t runIt_gcmTest(void) in runIt_gcmTest()
260 RunItError_t rc = RUNIT_ERROR__OK; in runIt_gcmTest()
Drun_integration_ecies.c43 static RunItError_t runIt_eciesRandom(void);
44 static RunItError_t runIt_eciesVector(void);
57 static RunItError_t runIt_eciesRandom(void) in runIt_eciesRandom()
59 RunItError_t rc = RUNIT_ERROR__OK; in runIt_eciesRandom()
185 static RunItError_t runIt_eciesVector(void) in runIt_eciesVector()
187 RunItError_t rc = RUNIT_ERROR__OK; in runIt_eciesVector()
311 RunItError_t runIt_eciesTest(void) in runIt_eciesTest()
313 RunItError_t rc = RUNIT_ERROR__OK; in runIt_eciesTest()
Drun_integration_dhm.c32 static RunItError_t runIt_dhm(void);
38 static RunItError_t runIt_dhm(void) in runIt_dhm()
40 RunItError_t rc = RUNIT_ERROR__OK; in runIt_dhm()
165 RunItError_t runIt_dhmTest(void) in runIt_dhmTest()
167 RunItError_t rc = RUNIT_ERROR__OK; in runIt_dhmTest()
Drun_integration_srp.c43 static RunItError_t runIt_srp(void);
50 static RunItError_t runIt_srp(void) in runIt_srp()
53 RunItError_t rc = RUNIT_ERROR__OK; in runIt_srp()
203 RunItError_t runIt_srpTest(void) in runIt_srpTest()
205 RunItError_t rc = RUNIT_ERROR__OK; in runIt_srpTest()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Drun_integration_otp.h25 RunItError_t runIt_getLcs(unsigned int *lcs);
34 RunItError_t runIt_checkLcs(unsigned int lcs);
44 RunItError_t runIt_setKceicvInOtpBuff(unsigned int *otp, unsigned int *kceicvBuff);
54 RunItError_t runIt_setKceInOtpBuff(unsigned int *otp, unsigned int *kceBuff);
64 RunItError_t runIt_setKpicvInOtpBuff(unsigned int *otp, unsigned int *kpicvBuff);
74 RunItError_t runIt_setKpcInOtpBuff(unsigned int *otp, unsigned int *kcpBuff);
88 RunItError_t runIt_setHbkOtpBuff(uint32_t *otp, uint32_t *hbkBuff, uint8_t isFullHbk);
98 RunItError_t runIt_setSwVerInOtpBuff(uint32_t *otp, uint8_t isFullHbk);
107 RunItError_t runIt_printOtp(uint32_t otpBuf[TEST_OTP_SIZE_IN_WORDS]);
118 RunItError_t runIt_burnOtp(unsigned int *otpBuf, unsigned int nextLcs);
Drun_integration_flash.c23 static RunItError_t runIt_flashValidateInput(uint32_t addr, size_t len, uint8_t* buff);
41 static RunItError_t runIt_flashValidateInput(uint32_t addr, size_t len, uint8_t* buff) in runIt_flashValidateInput()
68 RunItError_t runIt_flashFinalize(void) in runIt_flashFinalize()
83 RunItError_t runIt_flashInit(size_t flashSize) in runIt_flashInit()
109 RunItError_t runIt_flashWrite(uint32_t addr, uint8_t* pBuff, size_t len) in runIt_flashWrite()
111 RunItError_t rc = runIt_flashValidateInput(addr, len, pBuff); in runIt_flashWrite()
125 RunItError_t runIt_flashRead(uint32_t addr, uint8_t* pBuff, size_t len) in runIt_flashRead()
127 RunItError_t rc = runIt_flashValidateInput(addr, len, pBuff); in runIt_flashRead()
Drun_integration_flash.h21 RunItError_t runIt_flashInit(size_t flashSize);
29 RunItError_t runIt_flashFinalize(void);
40 RunItError_t runIt_flashWrite(uint32_t addr, uint8_t* buff, size_t len);
51 RunItError_t runIt_flashRead(uint32_t addr, uint8_t* buff, size_t len);
Drun_integration_test.h18 typedef enum RunItError_t enum
22 }RunItError_t; typedef
42 RunItError_t runIt_all(void);
Drun_integration_otp.c76 RunItError_t runIt_getLcs(unsigned int *lcs) in runIt_getLcs()
92 RunItError_t runIt_checkLcs(unsigned int lcs) in runIt_checkLcs()
113 RunItError_t runIt_burnOtp(unsigned int *otpBuf, unsigned int nextLcs) in runIt_burnOtp()
115 RunItError_t rc = RUNIT_ERROR__OK; in runIt_burnOtp()
Drun_integration_test.c107 static RunItError_t runIt_init(void);
116 RunItError_t g_runIt_executerRc = RUNIT_ERROR__FAIL;
154 static RunItError_t runIt_init(void) in runIt_init()
156 RunItError_t rc = RUNIT_ERROR__OK; in runIt_init()
691 RunItError_t rc = RUNIT_ERROR__OK; in runIt_executer()
768 RunItError_t runIt_all(void) in runIt_all()
770 RunItError_t rc = RUNIT_ERROR__OK; in runIt_all()