Searched refs:local_output (Results 1 – 5 of 5) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/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 …]
|
/openthread-latest/third_party/mbedtls/repo/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 | 942 psa_crypto_local_output_t *local_output); 955 psa_status_t psa_crypto_local_output_free(psa_crypto_local_output_t *local_output);
|
D | psa_crypto.c | 9121 psa_crypto_local_output_t *local_output) in psa_crypto_local_output_alloc() argument 9123 *local_output = PSA_CRYPTO_LOCAL_OUTPUT_INIT; in psa_crypto_local_output_alloc() 9128 local_output->buffer = mbedtls_calloc(output_len, 1); in psa_crypto_local_output_alloc() 9129 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() 9140 psa_status_t psa_crypto_local_output_free(psa_crypto_local_output_t *local_output) in psa_crypto_local_output_free() argument 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() [all …]
|
/openthread-latest/third_party/mbedtls/repo/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…
|