/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_gcm.c | 33 static RunItError_t runIt_gcmProfiling(size_t data_len); 42 static RunItError_t runIt_gcmProfiling(size_t data_len) in runIt_gcmProfiling() argument 66 snprintf(testParam, PARAM_LEN - 1, "%"PRIu32"B", (uint32_t)data_len); in runIt_gcmProfiling() 69 ALLOC(cipherPtr, pCipher, data_len); in runIt_gcmProfiling() 70 ALLOC(plainBufPtr, pPlainBuf, data_len); in runIt_gcmProfiling() 81 RUNIT_ASSERT(runIt_buildRandomBuffer(pPlainBuf, data_len) == 0); in runIt_gcmProfiling() 89 data_len, in runIt_gcmProfiling() 110 (uint32_t)key_len, (uint32_t)data_len, (uint32_t)add_len); in runIt_gcmProfiling()
|
D | run_integration_mac.c | 34 static RunItError_t runIt_cmacProfiling(size_t data_len); 126 static RunItError_t runIt_cmacProfiling(size_t data_len) in runIt_cmacProfiling() argument 150 ALLOC(dataPtr, data, data_len); in runIt_cmacProfiling() 154 snprintf(testParam, PARAM_LEN - 1, "%"PRIu32"B", (uint32_t)data_len); in runIt_cmacProfiling() 174 …RUNIT_ASSERT_W_PARAM(testParam, mbedtls_cipher_cmac_update(ctx, (unsigned char* )data, data_len) =… in runIt_cmacProfiling() 188 (uint32_t)keybits, (uint32_t)data_len); in runIt_cmacProfiling()
|
D | run_integration_aes.c | 43 static RunItError_t runIt_aesCtrTestProfiling(size_t data_len); 126 static RunItError_t runIt_aesCtrTestProfiling(size_t data_len) in runIt_aesCtrTestProfiling() argument 150 snprintf(testParam, PARAM_LEN - 1, "%uB", data_len); in runIt_aesCtrTestProfiling() 152 ALLOC32(bufPtr, buf, data_len); in runIt_aesCtrTestProfiling() 172 …RUNIT_ASSERT_W_PARAM(testParam, mbedtls_aes_crypt_ctr(&ctx, data_len, &offset, nonce_counter, stre… in runIt_aesCtrTestProfiling() 179 …_RESULT_W_PARAMS(TEST_NAME, "KEY[%ub] PLAIN[%uB]", (unsigned int)KEY_SIZE, (unsigned int)data_len); in runIt_aesCtrTestProfiling()
|
D | run_integration_ecdsa.c | 120 size_t data_len = 200; in runIt_ecdsaPrimRandomEdwTest() local 139 ALLOC(dataPtr, pDataIn, data_len); in runIt_ecdsaPrimRandomEdwTest() 144 RUNIT_ASSERT_WITH_RESULT(mbedtls_ctr_drbg_random(pCtrDrbg, pDataIn, data_len), 0); in runIt_ecdsaPrimRandomEdwTest() 148 …ERT_WITH_RESULT( mbedtls_ecdsa_sign_edwards( &pCtx->grp, &r, &s, &pCtx->d, pDataIn, data_len), 0 ); in runIt_ecdsaPrimRandomEdwTest() 149 …RUNIT_ASSERT_WITH_RESULT( mbedtls_ecdsa_verify_edwards(&pCtx->grp, pDataIn, data_len, &pCtx->Q, &r… in runIt_ecdsaPrimRandomEdwTest()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_psa_cipher.c | 47 size_t *data_len) in get_pkcs_padding() argument 52 if(NULL == input || NULL == data_len) { in get_pkcs_padding() 57 *data_len = input_len - padding_len; in get_pkcs_padding() 472 size_t data_len = operation->block_size; in cc3xx_cipher_finish() local 474 if(data_len > AES_BLOCK_SIZE){ in cc3xx_cipher_finish() 544 &data_len); in cc3xx_cipher_finish() 552 if (output_size < data_len) { in cc3xx_cipher_finish() 556 CC_PalMemCopy(output, temp_buff, data_len); in cc3xx_cipher_finish() 557 *output_length = data_len; in cc3xx_cipher_finish()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | chacha20_alt.c | 156 size_t data_len, in mbedtls_chacha20_crypt() argument 173 ret = mbedtls_chacha20_update( &ctx, data_len, input, output ); in mbedtls_chacha20_crypt()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/ |
D | mkromlib.h | 79 int32_t data_len; /*!< Internal use for random number generator */ member 87 int32_t data_len; /*!< Internal use for random number generator */ member
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/ |
D | ecp_alt.c | 904 unsigned char data_len; in mbedtls_ecp_tls_read_point() local 917 data_len = *(*buf)++; in mbedtls_ecp_tls_read_point() 918 if( data_len < 1 || data_len > buf_len - 1 ) in mbedtls_ecp_tls_read_point() 925 *buf += data_len; in mbedtls_ecp_tls_read_point() 927 return( mbedtls_ecp_point_read_binary( grp, pt, buf_start, data_len ) ); in mbedtls_ecp_tls_read_point()
|