Home
last modified time | relevance | path

Searched refs:local_output (Results 1 – 3 of 3) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dccm.c371 unsigned char local_output[16]; in mbedtls_ccm_update() local
432 ret = mbedtls_ccm_crypt(ctx, offset, use_len, input, local_output); in mbedtls_ccm_update()
437 mbedtls_xor(ctx->y + offset, ctx->y + offset, local_output, use_len); in mbedtls_ccm_update()
439 memcpy(output, local_output, use_len); in mbedtls_ccm_update()
468 mbedtls_platform_zeroize(local_output, 16); in mbedtls_ccm_update()
H A Dpsa_crypto_core.h980 psa_crypto_local_output_t *local_output);
993 psa_status_t psa_crypto_local_output_free(psa_crypto_local_output_t *local_output);
H A Dpsa_crypto.c9414 psa_crypto_local_output_t *local_output) in psa_crypto_local_output_alloc() argument
9416 *local_output = PSA_CRYPTO_LOCAL_OUTPUT_INIT; in psa_crypto_local_output_alloc()
9421 local_output->buffer = mbedtls_calloc(output_len, 1); in psa_crypto_local_output_alloc()
9422 if (local_output->buffer == NULL) { in psa_crypto_local_output_alloc()
9427 local_output->length = output_len; in psa_crypto_local_output_alloc()
9428 local_output->original = output; in psa_crypto_local_output_alloc()
9433 psa_status_t psa_crypto_local_output_free(psa_crypto_local_output_t *local_output) in psa_crypto_local_output_free() argument
9437 if (local_output->buffer == NULL) { in psa_crypto_local_output_free()
9438 local_output->length = 0; in psa_crypto_local_output_free()
9441 if (local_output->original == NULL) { in psa_crypto_local_output_free()
[all …]