Home
last modified time | relevance | path

Searched refs:local_input (Results 1 – 2 of 2) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto_core.h924 * \param[out] local_input Pointer to a psa_crypto_local_input_t struct
932 psa_crypto_local_input_t *local_input);
936 * \param[in] local_input Pointer to a psa_crypto_local_input_t struct
940 void psa_crypto_local_input_free(psa_crypto_local_input_t *local_input);
H A Dpsa_crypto.c9391 psa_crypto_local_input_t *local_input) in psa_crypto_local_input_alloc()
9395 *local_input = PSA_CRYPTO_LOCAL_INPUT_INIT; in psa_crypto_local_input_alloc()
9401 local_input->buffer = mbedtls_calloc(input_len, 1); in psa_crypto_local_input_alloc()
9402 if (local_input->buffer == NULL) { in psa_crypto_local_input_alloc()
9407 /* From now on, we must free local_input->buffer on error. */ in psa_crypto_local_input_free()
9409 local_input->length = input_len; in psa_crypto_local_input_free()
9412 local_input->buffer, local_input->length);
9420 mbedtls_zeroize_and_free(local_input->buffer, local_input in psa_crypto_local_output_alloc()
9371 psa_crypto_local_input_alloc(const uint8_t * input,size_t input_len,psa_crypto_local_input_t * local_input) psa_crypto_local_input_alloc() argument
9406 psa_crypto_local_input_free(psa_crypto_local_input_t * local_input) psa_crypto_local_input_free() argument
[all...]