Home
last modified time | relevance | path

Searched refs:ALLOC (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_chacha.c69 ALLOC(dataOutPtr, pDataOut, DATA_OUT_SIZE); in runIt_Chacha()
151 ALLOC(ccDataOutBuffPtr, pCcDataOutBuff, sizeof(pExpectedDataOut)); in runIt_ChachaPolyEncrypt()
152 ALLOC(macBuffRawPtr, pMacBuffRaw, MBEDTLS_POLY_MAC_SIZE_BYTES); in runIt_ChachaPolyEncrypt()
217 ALLOC(ccDataOutBuffPtr, pCcDataOutBuff, sizeof(pExpectedDataOut)); in runIt_ChachaPolyDecrypt()
218 ALLOC(macBuffRawPtr, pMacBuffRaw, MBEDTLS_POLY_MAC_SIZE_BYTES); in runIt_ChachaPolyDecrypt()
278 ALLOC(dataInPtr, pDataIn, sizeof(DATA_IN)); in runIt_Poly()
279 ALLOC(keyPtr, pKey, sizeof(KEY)); in runIt_Poly()
280 ALLOC(macBuffPtr, pMacBuff, MBEDTLS_POLY_MAC_SIZE_BYTES); in runIt_Poly()
Drun_integration_mac.c149 ALLOC(ketPtr, key, keybits / 8); in runIt_cmacProfiling()
150 ALLOC(dataPtr, data, data_len); in runIt_cmacProfiling()
152 ALLOC(outputPtr, output, MBEDTLS_CIPHER_BLKSIZE_MAX); in runIt_cmacProfiling()
220 ALLOC(ketPtr, key, keybits / 8); in runIt_cmac()
221 ALLOC(block1Ptr, block1, block1_len); in runIt_cmac()
222 ALLOC(expectedResultPtr, expected_result, block_size); in runIt_cmac()
224 ALLOC(outputPtr, output, MBEDTLS_CIPHER_BLKSIZE_MAX); in runIt_cmac()
Drun_integration_ecies.c90 ALLOC(senderSecretPtr, pSenderSecret, SECRET_KEY_LEN_BYTES); in runIt_eciesRandom()
91 ALLOC(recieverSecretPtr, pRecieverSecret, SECRET_KEY_LEN_BYTES); in runIt_eciesRandom()
92 ALLOC(ciphertPtr, pCipher, MBEDTLS_ECIES_MAX_CIPHER_LEN_BYTES); in runIt_eciesRandom()
223 ALLOC(senderSecretPtr, pSenderSecret, SECRET_KEY_LEN_BYTES); in runIt_eciesVector()
224 ALLOC(recieverSecretPtr, pRecieverSecret, SECRET_KEY_LEN_BYTES); in runIt_eciesVector()
225 ALLOC(ciphertPtr, pCipher, MBEDTLS_ECIES_MAX_CIPHER_LEN_BYTES); in runIt_eciesVector()
Drun_integration_dhm.c76 ALLOC(skePrt, pSke, BUF_SIZE); in runIt_dhm()
77 ALLOC(pubCliPrt, pPubCli, BUF_SIZE); in runIt_dhm()
78 ALLOC(secSrvPrt, pSecSrv, BUF_SIZE); in runIt_dhm()
79 ALLOC(secCliPrt, pSecCli, BUF_SIZE); in runIt_dhm()
Drun_integration_gcm.c69 ALLOC(cipherPtr, pCipher, data_len); in runIt_gcmProfiling()
70 ALLOC(plainBufPtr, pPlainBuf, data_len); in runIt_gcmProfiling()
71 ALLOC(tagBufPtr, pTagBuf, tag_len); in runIt_gcmProfiling()
146 ALLOC(bufPtr, pBuf, ct_len); in runIt_gcm()
149 ALLOC(tagBufPtr, pTagBuf, tag_len); in runIt_gcm()
Drun_integration_key_derivation.c92 ALLOC(dataOutPtr, pDataOut, dataOutLength); in runIt_hmacKeyDerivTest()
154 ALLOC(dataOutPtr, pDataOut, dataOutLength); in runIt_cmacKeyDerivTest()
219 ALLOC(dataOutPtr, pDataOut, dataOutLength); in runIt_cmacRootKeyDerivTest()
220 ALLOC(dataOutRefPtr, pDataOutRef, dataOutLength); in runIt_cmacRootKeyDerivTest()
293 ALLOC(okmDataBuff, pOKMDataBuff, 4096); in runIt_hkdfKeyDerivTest()
Drun_integration_rsa.c209 ALLOC(messageStrPtr, pMessageStr, BUF_SIZE); in runIt_rsaPublicGeneral()
210 ALLOC(outputPtr, pOutput, BUF_SIZE); in runIt_rsaPublicGeneral()
211 ALLOC(outputStrPtr, pOutputStr, BUF_SIZE); in runIt_rsaPublicGeneral()
315 ALLOC(messageStrPtr, pMessageStr, BUF_SIZE); in runIt_rsaPrivateGeneral()
316 ALLOC(outputPtr, pOutput, BUF_SIZE); in runIt_rsaPrivateGeneral()
317 ALLOC(outputStrPtr, pOutputStr, BUF_SIZE); in runIt_rsaPrivateGeneral()
619 ALLOC(rsaPlaintextPtr, pRsaPlaintext, PT_LEN); in runIt_rsaPkcsV21TestGeneral()
620 ALLOC(rsaDecryptedPtr, pRsaDecrypted, PT_LEN); in runIt_rsaPkcsV21TestGeneral()
621 ALLOC(rsaCiphertextPtr, pRsaCiphertext, KEY_LEN / 8); in runIt_rsaPkcsV21TestGeneral()
623 ALLOC(sha1SumPtr, pSha1Sum, 20); in runIt_rsaPkcsV21TestGeneral()
Drun_integration_ecdsa.c82 ALLOC(bufPtr, pBuf, DIGEST_SIZE); in runIt_ecdsaPrimRandomTest()
139 ALLOC(dataPtr, pDataIn, data_len); in runIt_ecdsaPrimRandomEdwTest()
197 ALLOC(hashPtr, pHash, 66); in runIt_ecdsaPrimVectorsTest()
198 ALLOC(rndBufPtr, pRndBuf, 66); in runIt_ecdsaPrimVectorsTest()
306 ALLOC(hashPtr, pHash, MBEDTLS_MD_MAX_SIZE); in runIt_ecdsaDetVectorsTest()
393 ALLOC(sigPtr, pSig, 200); in runIt_ecdsaWriteReadRandomTest()
Drun_integration_srp.c109 ALLOC(userNamePtr, pUserName, RUNIT_SRP_DATA_SIZE_MAX); in runIt_srp()
110 ALLOC(userPwdPtr, pUserPwd, RUNIT_SRP_DATA_SIZE_MAX); in runIt_srp()
111 ALLOC(saltPtr, pSalt, saltSize); in runIt_srp()
Drun_integration_ecdh.c85 ALLOC(rndBufAPtr, pRndBufA, MBEDTLS_ECP_MAX_BYTES); in runIt_ecdhPrimRandom()
86 ALLOC(rndBufBPtr, pRndBufB, MBEDTLS_ECP_MAX_BYTES); in runIt_ecdhPrimRandom()
193 ALLOC(bufPtr, pBuf, BUF_SIZE); in runIt_ecdhExchange()
246 ALLOC(bufPtr, pBuf, BUF_SIZE); in runIt_ecdhExange25519()
Drun_integration_drbg.c73 ALLOC(entropyPtr, pEntropy, 1024); in runIt_ctrDrbgEntropyUsageTest()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Drun_integration_helper.h61 #define ALLOC(_buff, _pStruct, _size) \ macro
82 ALLOC(_buff, _pStruct, _size); \
91 ALLOC(_buff, _pStruct, _size); \
100 ALLOC(_buff, _pStruct, _size); \