Home
last modified time | relevance | path

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

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_psa_init.c30 #define mbedtls_free free macro
66 mbedtls_free(CC312_pRndCtx); in cc3xx_init()
67 mbedtls_free(CC312_pRndWorkBuff); in cc3xx_init()
68 mbedtls_free(CC312_pRndState); in cc3xx_init()
69 mbedtls_free(CC312_pMbedtlsEntropy); in cc3xx_init()
81 mbedtls_free(CC312_pRndCtx); in cc3xx_init()
82 mbedtls_free(CC312_pRndWorkBuff); in cc3xx_init()
83 mbedtls_free(CC312_pRndState); in cc3xx_init()
84 mbedtls_free(CC312_pMbedtlsEntropy); in cc3xx_init()
101 mbedtls_free(CC312_pRndCtx); in cc3xx_free()
[all …]
Dcc3xx_psa_key_generation.c51 #define mbedtls_free free macro
137 mbedtls_free(pTempBuff); in cc3xx_internal_gen_ecc_wstr_keypair()
178 mbedtls_free(pCcPubKey); in cc3xx_internal_gen_rsa_keypair()
184 mbedtls_free(pCcPubKey); in cc3xx_internal_gen_rsa_keypair()
185 mbedtls_free(pCcPrivKey); in cc3xx_internal_gen_rsa_keypair()
191 mbedtls_free(pKeyGenData); in cc3xx_internal_gen_rsa_keypair()
192 mbedtls_free(pCcPubKey); in cc3xx_internal_gen_rsa_keypair()
193 mbedtls_free(pCcPrivKey); in cc3xx_internal_gen_rsa_keypair()
297 mbedtls_free(d_buff); in cc3xx_internal_gen_rsa_keypair()
298 mbedtls_free(pKeyGenData); in cc3xx_internal_gen_rsa_keypair()
[all …]
Dcc3xx_psa_asymmetric_encryption.c32 #define mbedtls_free free macro
130 mbedtls_free(pUserPubKey); in cc3xx_internal_rsa_encrypt()
134 mbedtls_free(pPrimeData); in cc3xx_internal_rsa_encrypt()
207 mbedtls_free(pUserPrivKey); in cc3xx_internal_rsa_decrypt()
211 mbedtls_free(pPrimeData); in cc3xx_internal_rsa_decrypt()
Dcc3xx_psa_asymmetric_signature.c46 #define mbedtls_free free macro
281 mbedtls_free(pPubUserContext); in cc3xx_internal_rsa_verify()
315 mbedtls_free(pPubUserContext); in cc3xx_internal_rsa_verify()
316 mbedtls_free(pUserPubKey); in cc3xx_internal_rsa_verify()
358 mbedtls_free(user_priv_key_ptr); in cc3xx_internal_rsa_sign()
409 mbedtls_free(user_priv_key_ptr); in cc3xx_internal_rsa_sign()
410 mbedtls_free(user_context_ptr); in cc3xx_internal_rsa_sign()
Dcc3xx_internal_rsa_util.c34 #define mbedtls_free free macro
646 mbedtls_free(temp_buff); in cc3xx_rsa_save_der_priv_key()
/trusted-firmware-m-3.6.0/platform/ext/accelerator/cc312/
Dcc312.c71 mbedtls_free(CC312_pRndCtx); in crypto_hw_accelerator_init()
72 mbedtls_free(CC312_pRndWorkBuff); in crypto_hw_accelerator_init()
73 mbedtls_free(CC312_pRndState); in crypto_hw_accelerator_init()
74 mbedtls_free(CC312_pMbedtlsEntropy); in crypto_hw_accelerator_init()
86 mbedtls_free(CC312_pRndCtx); in crypto_hw_accelerator_init()
87 mbedtls_free(CC312_pRndWorkBuff); in crypto_hw_accelerator_init()
88 mbedtls_free(CC312_pRndState); in crypto_hw_accelerator_init()
89 mbedtls_free(CC312_pMbedtlsEntropy); in crypto_hw_accelerator_init()
109 mbedtls_free(CC312_pRndCtx); in crypto_hw_accelerator_finish()
110 mbedtls_free(CC312_pRndWorkBuff); in crypto_hw_accelerator_finish()
[all …]
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dcc_ecp_internal.c72 #define mbedtls_free free macro
89 mbedtls_free(outArr); in ecc_conv_scalar_to_mpi()
96 mbedtls_free(outArr); in ecc_conv_scalar_to_mpi()
103 mbedtls_free(outArr); in ecc_conv_scalar_to_mpi()
124 mbedtls_free(outArr); in ecc_conv_mpi_to_scalar()
131 mbedtls_free(outArr); in ecc_conv_mpi_to_scalar()
137 mbedtls_free(outArr); in ecc_conv_mpi_to_scalar()
181 mbedtls_free(ecMontTempBuff); in ecp_mont_mul()
244 mbedtls_free(tmpBuf); in ecp_wrst_mul()
252 mbedtls_free(tmpBuf); in ecp_wrst_mul()
[all …]
Dtrng_api.c22 #define mbedtls_free free macro
122 mbedtls_free( rndWorkBuff_ptr ); in mbedtls_hardware_poll()
Decdsa_edwards.c32 #define mbedtls_free free macro
166 mbedtls_free(pTempBuff); in mbedtls_ecdsa_genkey_edwards()
254 mbedtls_free( cc_temp_buff ); in mbedtls_ecdsa_sign_edwards()
349 mbedtls_free( p_cc_temp_buf ); in mbedtls_ecdsa_verify_edwards()
Drsa_alt.c31 #define mbedtls_free free macro
115 mbedtls_free( X ); in mbedtls_buff_free()
784 mbedtls_free( pTempBuff ); in mbedtls_rsa_validate_params_alt()
1656 mbedtls_free(PrimeData_ptr); in mbedtls_rsa_public()
1657 mbedtls_free(UserPubKey_ptr); in mbedtls_rsa_public()
1739 mbedtls_free(PrimeData_ptr); in mbedtls_rsa_private()
1740 mbedtls_free(UserPrivKey_ptr); in mbedtls_rsa_private()
1870 mbedtls_free(PrimeData_ptr); in mbedtls_rsa_rsaes_oaep_encrypt()
1871 mbedtls_free(UserPubKey_ptr); in mbedtls_rsa_rsaes_oaep_encrypt()
1967 mbedtls_free(PrimeData_ptr); in mbedtls_rsa_rsaes_pkcs1_v15_encrypt()
[all …]
Decdsa_alt.c59 #define mbedtls_free free macro
198 mbedtls_free( temp_context ); in ecdsa_wrst_sign()
335 mbedtls_free( pPub_key ); in ecdsa_wrst_verify()
Dplatform_alt.c15 #define mbedtls_free free macro
Ddhm_alt.c22 #define mbedtls_free free macro
680 mbedtls_free( *buf ); in load_file()
714 mbedtls_free( buf ); in mbedtls_dhm_parse_dhmfile()
Dcmac_alt.c36 #define mbedtls_free free macro
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/hal/accelerator/
Decdsa_alt.c160 mbedtls_free(d_binary); in mbedtls_ecdsa_sign()
166 mbedtls_free(k_binary); in mbedtls_ecdsa_sign()
172 mbedtls_free(ECDSA_SignOut.RSign); in mbedtls_ecdsa_sign()
178 mbedtls_free(ECDSA_SignOut.SSign); in mbedtls_ecdsa_sign()
286 mbedtls_free(Q_binary); in mbedtls_ecdsa_verify()
292 mbedtls_free(r_binary); in mbedtls_ecdsa_verify()
298 mbedtls_free(s_binary); in mbedtls_ecdsa_verify()
Drsa_alt.c71 #define mbedtls_free free macro
172 mbedtls_free( input_A ); in rsa_pka_arithmetic_mul()
178 mbedtls_free( input_B ); in rsa_pka_arithmetic_mul()
231 mbedtls_free( A_binary ); in rsa_mpi2pka_mul()
237 mbedtls_free( B_binary ); in rsa_mpi2pka_mul()
243 mbedtls_free( AxB_binary ); in rsa_mpi2pka_mul()
435 mbedtls_free( e_binary ); in rsa_pka_modexp()
441 mbedtls_free( n_binary ); in rsa_pka_modexp()
448 mbedtls_free( phi_binary ); in rsa_pka_modexp()
554 mbedtls_free( dp_binary ); in rsa_crt_pka_modexp()
[all …]
Decp_alt.c101 #define mbedtls_free free macro
199 mbedtls_free( ctx->T ); in ecp_restart_rsm_free()
265 mbedtls_free( ctx->rsm ); in mbedtls_ecp_restart_free()
268 mbedtls_free( ctx->ma ); in mbedtls_ecp_restart_free()
334 mbedtls_free( rs_ctx->SUB ); \
615 mbedtls_free( grp->T ); in mbedtls_ecp_group_free()
621 mbedtls_free( grp->st_p ); in mbedtls_ecp_group_free()
626 mbedtls_free( grp->st_a_abs ); in mbedtls_ecp_group_free()
631 mbedtls_free( grp->st_b ); in mbedtls_ecp_group_free()
636 mbedtls_free( grp->st_gx ); in mbedtls_ecp_group_free()
[all …]
Dccm_alt.c363 mbedtls_free( b1_padded_addr ); in ccm_auth_crypt()
/trusted-firmware-m-3.6.0/bl2/
Dbl2_shared_symbols.txt15 mbedtls_free*
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_cc_ecies.c154 mbedtls_free(a); in ecies_free_keys()
160 mbedtls_free(b); in ecies_free_keys()
336 mbedtls_free(pRndContext); in mbedtls_ecies_kem_encrypt_full()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/
Drun_integration_helper.c167 mbedtls_free(ptrElement->buf); in runIt_free()
Drun_integration_helper.h38 mbedtls_free(_buff.buf); \
/trusted-firmware-m-3.6.0/secure_fw/
DCMakeLists.txt160 mbedtls_free*
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/
Dpsa_driver_api_design.rst170 ``mbedtls_calloc`` and ``mbedtls_free`` functions for dynamic memory