Searched refs:local_output (Results 1 – 5 of 5) sorted by relevance
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_memory.function | 162 psa_crypto_local_output_t local_output; 165 local_output.buffer = NULL; 169 status = psa_crypto_local_output_alloc(output, output_len, &local_output); 173 TEST_ASSERT(local_output.original == output); 174 TEST_EQUAL(local_output.length, output_len); 178 mbedtls_free(local_output.buffer); 179 local_output.original = NULL; 180 local_output.buffer = NULL; 181 local_output.length = 0; 193 psa_crypto_local_output_t local_output = PSA_CRYPTO_LOCAL_OUTPUT_INIT; [all …]
|
/mbedtls-latest/library/ |
D | ccm.c | 370 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()
|
D | psa_crypto_core.h | 992 psa_crypto_local_output_t *local_output); 1005 psa_status_t psa_crypto_local_output_free(psa_crypto_local_output_t *local_output);
|
D | psa_crypto.c | 9214 psa_crypto_local_output_t *local_output) argument 9216 *local_output = PSA_CRYPTO_LOCAL_OUTPUT_INIT; 9221 local_output->buffer = mbedtls_calloc(output_len, 1); 9222 if (local_output->buffer == NULL) { 9227 local_output->length = output_len; 9228 local_output->original = output; 9233 psa_status_t psa_crypto_local_output_free(psa_crypto_local_output_t *local_output) argument 9237 if (local_output->buffer == NULL) { 9238 local_output->length = 0; 9241 if (local_output->original == NULL) { [all …]
|
/mbedtls-latest/docs/architecture/ |
D | psa-shared-memory.md | 560 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…
|