Home
last modified time | relevance | path

Searched refs:RUNIT_API (Results 1 – 12 of 12) sorted by relevance

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_sha.c65 RUNIT_API(mbedtls_sha1_init(pCtx)); in runIt_sha1Test()
68 RUNIT_API(mbedtls_sha1_clone(pCtxCloned, pCtx)); in runIt_sha1Test()
79 RUNIT_API(mbedtls_sha1((const unsigned char*)INPUT_MESSAGE, strlen(INPUT_MESSAGE), sha1sum)); in runIt_sha1Test()
85 RUNIT_API(mbedtls_sha1_free(pCtx)); in runIt_sha1Test()
86 RUNIT_API(mbedtls_sha1_free(pCtxCloned)); in runIt_sha1Test()
121 RUNIT_API(mbedtls_sha256_init(pCtx)); in runIt_sha224Test()
124 RUNIT_API(mbedtls_sha256_clone(pCtxCloned, pCtx)); in runIt_sha224Test()
135RUNIT_API(mbedtls_sha256((const unsigned char*)INPUT_MESSAGE, strlen(INPUT_MESSAGE), sha224sum, IS… in runIt_sha224Test()
141 RUNIT_API(mbedtls_sha256_free(pCtx)); in runIt_sha224Test()
142 RUNIT_API(mbedtls_sha256_free(pCtxCloned)); in runIt_sha224Test()
[all …]
Drun_integration_drbg.c76 RUNIT_API(mbedtls_ctr_drbg_init(pCtx)); in runIt_ctrDrbgEntropyUsageTest()
105 RUNIT_API(mbedtls_ctr_drbg_set_reseed_interval(pCtx, 2 * reps)); in runIt_ctrDrbgEntropyUsageTest()
120 RUNIT_API(mbedtls_ctr_drbg_update(pCtx, pEntropy, MBEDTLS_CTR_DRBG_MAX_SEED_INPUT)); in runIt_ctrDrbgEntropyUsageTest()
123 RUNIT_API(mbedtls_ctr_drbg_set_prediction_resistance(pCtx, MBEDTLS_CTR_DRBG_PR_ON)); in runIt_ctrDrbgEntropyUsageTest()
128 RUNIT_API(mbedtls_ctr_drbg_set_entropy_len(pCtx, 42)); in runIt_ctrDrbgEntropyUsageTest()
133 RUNIT_API(mbedtls_ctr_drbg_set_entropy_len(pCtx, 13)); in runIt_ctrDrbgEntropyUsageTest()
139 RUNIT_API(mbedtls_ctr_drbg_free(pCtx)); in runIt_ctrDrbgEntropyUsageTest()
169 RUNIT_API(mbedtls_ctr_drbg_init(pCtx)); in runIt_ctrDrbgVectorTest()
176 RUNIT_API(mbedtls_ctr_drbg_set_prediction_resistance(pCtx, MBEDTLS_CTR_DRBG_PR_ON)); in runIt_ctrDrbgVectorTest()
181 RUNIT_API(mbedtls_ctr_drbg_free(pCtx)); in runIt_ctrDrbgVectorTest()
[all …]
Drun_integration_gcm.c83 RUNIT_API(mbedtls_gcm_init(pCtx)); in runIt_gcmProfiling()
85 RUNIT_API(mbedtls_gcm_setkey(pCtx, MBEDTLS_CIPHER_ID_AES, key, key_len)); in runIt_gcmProfiling()
100 RUNIT_API(mbedtls_gcm_free(pCtx)); in runIt_gcmProfiling()
158 RUNIT_API(mbedtls_gcm_init(pCtx)); in runIt_gcm()
160 RUNIT_API(mbedtls_gcm_setkey(pCtx, MBEDTLS_CIPHER_ID_AES, key, key_len)); in runIt_gcm()
183 RUNIT_API(mbedtls_gcm_free(pCtx)); in runIt_gcm()
191 RUNIT_API(mbedtls_gcm_init(pCtx)); in runIt_gcm()
193 RUNIT_API(mbedtls_gcm_setkey(pCtx, MBEDTLS_CIPHER_ID_AES, key, key_len)); in runIt_gcm()
210 RUNIT_API(mbedtls_gcm_free(pCtx)); in runIt_gcm()
218 RUNIT_API(mbedtls_gcm_init(pCtx)); in runIt_gcm()
[all …]
Drun_integration_aes.c75 RUNIT_API(mbedtls_aes_init(&ctx)); in runIt_aesOfbTest()
118 RUNIT_API(mbedtls_aes_free(&ctx)); in runIt_aesOfbTest()
155 RUNIT_API(mbedtls_aes_init(&ctx)); in runIt_aesCtrTestProfiling()
175 RUNIT_API(mbedtls_aes_free(&ctx)); in runIt_aesCtrTestProfiling()
207 RUNIT_API(mbedtls_aes_init(&ctx)); in runIt_aesCtrTest()
255 RUNIT_API(mbedtls_aes_free(&ctx)); in runIt_aesCtrTest()
284 RUNIT_API(mbedtls_aes_init(&ctx)); in runIt_aesCbcTest()
329 RUNIT_API(mbedtls_aes_free(&ctx)); in runIt_aesCbcTest()
354 RUNIT_API(mbedtls_aes_init(&ctx)); in runIt_aesEcbTest()
393 RUNIT_API(mbedtls_aes_free(&ctx)); in runIt_aesEcbTest()
Drun_integration_rsa.c215 RUNIT_API(mbedtls_rsa_init(pCtx, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE)); in runIt_rsaPublicGeneral()
216 RUNIT_API(mbedtls_rsa_init(pCtx2, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE)); in runIt_rsaPublicGeneral()
251 RUNIT_API(mbedtls_rsa_free(pCtx)); in runIt_rsaPublicGeneral()
252 RUNIT_API(mbedtls_rsa_free(pCtx2)); in runIt_rsaPublicGeneral()
326 RUNIT_API(mbedtls_rsa_init(pCtx, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE)); in runIt_rsaPrivateGeneral()
327 RUNIT_API(mbedtls_rsa_init(pCtx2, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE)); in runIt_rsaPrivateGeneral()
373 RUNIT_API(mbedtls_rsa_free(pCtx)); in runIt_rsaPrivateGeneral()
374 RUNIT_API(mbedtls_rsa_free(pCtx2)); in runIt_rsaPrivateGeneral()
428 RUNIT_API(mbedtls_rsa_init( pPub, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE)); in runIt_rsaCheckPubpriv()
429 RUNIT_API(mbedtls_rsa_init( pPrv, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE)); in runIt_rsaCheckPubpriv()
[all …]
Drun_integration_ccm.c70 RUNIT_API(mbedtls_ccm_init(pCtx)); in runIt_ccmStarEncOnly()
92 RUNIT_API(mbedtls_ccm_free(pCtx)); in runIt_ccmStarEncOnly()
130 RUNIT_API(mbedtls_ccm_init(pCtx)); in runIt_ccmStar()
152 RUNIT_API(mbedtls_ccm_free(pCtx)); in runIt_ccmStar()
183 RUNIT_API(mbedtls_ccm_init(pCtx)); in runIt_ccm()
205 RUNIT_API(mbedtls_ccm_free(pCtx)); in runIt_ccm()
Drun_integration_ecdh.c195 RUNIT_API(mbedtls_ecdh_init(pSrv)); in runIt_ecdhExchange()
196 RUNIT_API(mbedtls_ecdh_init(pCli)); in runIt_ecdhExchange()
213 RUNIT_API(mbedtls_ecdh_free(pSrv)); in runIt_ecdhExchange()
214 RUNIT_API(mbedtls_ecdh_free(pCli)); in runIt_ecdhExchange()
248 RUNIT_API(mbedtls_ecdh_init(pSrv)); in runIt_ecdhExange25519()
249 RUNIT_API(mbedtls_ecdh_init(pCli)); in runIt_ecdhExange25519()
269 RUNIT_API(mbedtls_ecdh_free(pSrv)); in runIt_ecdhExange25519()
270 RUNIT_API(mbedtls_ecdh_free(pCli)); in runIt_ecdhExange25519()
Drun_integration_chacha.c90 RUNIT_API(mbedtls_chacha20_init(&ctx)); in runIt_Chacha()
109 RUNIT_API(mbedtls_chacha20_free(&ctx)); in runIt_Chacha()
156 RUNIT_API(mbedtls_chachapoly_init(&ctx)); in runIt_ChachaPolyEncrypt()
182 RUNIT_API(mbedtls_chachapoly_free(&ctx)); in runIt_ChachaPolyEncrypt()
224 RUNIT_API(mbedtls_chachapoly_init(&ctx)); in runIt_ChachaPolyDecrypt()
249 RUNIT_API(mbedtls_chachapoly_free(&ctx)); in runIt_ChachaPolyDecrypt()
Drun_integration_dhm.c82 RUNIT_API(mbedtls_dhm_init(pCtxSrv)); in runIt_dhm()
83 RUNIT_API(mbedtls_dhm_init(pCtxCli)); in runIt_dhm()
150 RUNIT_API(mbedtls_dhm_free(pCtxSrv)); in runIt_dhm()
151 RUNIT_API(mbedtls_dhm_free(pCtxCli)); in runIt_dhm()
Drun_integration_mac.c93 RUNIT_API(mbedtls_md_init(&ctx)); in runIt_hmac()
160 RUNIT_API(mbedtls_cipher_init( ctx )); in runIt_cmacProfiling()
180 RUNIT_API(mbedtls_cipher_free( ctx )); in runIt_cmacProfiling()
231 RUNIT_API(mbedtls_cipher_init( ctx )); in runIt_cmac()
272 RUNIT_API(mbedtls_cipher_free( ctx )); in runIt_cmac()
Drun_integration_ecdsa.c141 RUNIT_API(mbedtls_ecdsa_init(pCtx)); in runIt_ecdsaPrimRandomEdwTest()
152 RUNIT_API(mbedtls_ecdsa_free(pCtx)); in runIt_ecdsaPrimRandomEdwTest()
395 RUNIT_API(mbedtls_ecdsa_init(pCtx)); in runIt_ecdsaWriteReadRandomTest()
408 RUNIT_API(mbedtls_ecdsa_free(pCtx)); in runIt_ecdsaWriteReadRandomTest()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Drun_integration_helper.h155 #define RUNIT_API(_c) \ macro