| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
| D | run_integration_test_api.h | 14 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 …]
|
| D | run_integration_sha.c | 31 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 …]
|
| D | run_integration_aes.c | 42 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 …]
|
| D | run_integration_asset_prov.c | 48 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()
|
| D | run_integration_rsa.c | 120 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 …]
|
| D | run_integration_key_derivation.c | 54 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 …]
|
| D | run_integration_chacha.c | 40 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 …]
|
| D | run_integration_secure_boot.c | 242 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 …]
|
| D | run_integration_mac.c | 32 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 …]
|
| D | run_integration_ecdsa.c | 46 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 …]
|
| D | run_integration_drbg.c | 30 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()
|
| D | run_integration_ccm.c | 34 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()
|
| D | run_integration_ecdh.c | 37 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 …]
|
| D | run_integration_ext_dma.c | 38 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()
|
| D | run_integration_gcm.c | 33 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()
|
| D | run_integration_ecies.c | 43 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()
|
| D | run_integration_dhm.c | 32 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()
|
| D | run_integration_srp.c | 43 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/ |
| D | run_integration_otp.h | 25 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);
|
| D | run_integration_flash.c | 23 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()
|
| D | run_integration_flash.h | 21 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);
|
| D | run_integration_test.h | 18 typedef enum RunItError_t enum 22 }RunItError_t; typedef 42 RunItError_t runIt_all(void);
|
| D | run_integration_otp.c | 76 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()
|
| D | run_integration_test.c | 107 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()
|