Home
last modified time | relevance | path

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

/mbedtls/tests/suites/
A Dtest_suite_psa_crypto_memory.function165 local_output.buffer = NULL;
179 local_output.original = NULL;
180 local_output.buffer = NULL;
181 local_output.length = 0;
202 local_output.original = output;
204 if (local_output.length != 0) {
205 fill_buffer_pattern(local_output.buffer, local_output.length);
206 memcpy(buffer_copy_for_comparison, local_output.buffer, local_output.length);
224 local_output.length = 0;
241 fill_buffer_pattern(local_output.buffer, local_output.length);
[all …]
/mbedtls/library/
A Dccm.c370 unsigned char local_output[16]; in mbedtls_ccm_update() local
431 ret = mbedtls_ccm_crypt(ctx, offset, use_len, input, local_output); in mbedtls_ccm_update()
436 mbedtls_xor(ctx->y + offset, ctx->y + offset, local_output, use_len); in mbedtls_ccm_update()
438 memcpy(output, local_output, use_len); in mbedtls_ccm_update()
467 mbedtls_platform_zeroize(local_output, 16); in mbedtls_ccm_update()
A Dpsa_crypto_core.h942 psa_crypto_local_output_t *local_output);
955 psa_status_t psa_crypto_local_output_free(psa_crypto_local_output_t *local_output);
A Dpsa_crypto.c9129 if (local_output->buffer == NULL) { in psa_crypto_local_output_alloc()
9134 local_output->length = output_len; in psa_crypto_local_output_alloc()
9135 local_output->original = output; in psa_crypto_local_output_alloc()
9144 if (local_output->buffer == NULL) { in psa_crypto_local_output_free()
9145 local_output->length = 0; in psa_crypto_local_output_free()
9148 if (local_output->original == NULL) { in psa_crypto_local_output_free()
9153 status = psa_crypto_copy_output(local_output->buffer, local_output->length, in psa_crypto_local_output_free()
9154 local_output->original, local_output->length); in psa_crypto_local_output_free()
9159 mbedtls_free(local_output->buffer); in psa_crypto_local_output_free()
9160 local_output->buffer = NULL; in psa_crypto_local_output_free()
[all …]
/mbedtls/docs/architecture/
A Dpsa-shared-memory.md560 psa_crypto_local_output_t *local_output);
562 psa_status_t psa_crypto_local_output_free(psa_crypto_local_output_t *local_output);
565 … the pointer to the buffer in the struct `local_output`. It also stores a pointer to `output` in `
566 …ntents of the output buffer `local_output->buffer` into the buffer `local_output->original`, calls…

Completed in 49 milliseconds