Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto_pake.c252 operation->buffer_length = 0; in mbedtls_psa_pake_setup()
314 &operation->buffer_length, in mbedtls_psa_pake_output_internal()
326 &operation->buffer_length, in mbedtls_psa_pake_output_internal()
357 if (operation->buffer_offset + length > operation->buffer_length) { in mbedtls_psa_pake_output_internal()
376 operation->buffer_length = 0; in mbedtls_psa_pake_output_internal()
447 if (operation->buffer_length + sizeof(ecparameters) > in mbedtls_psa_pake_input_internal()
452 memcpy(operation->buffer + operation->buffer_length, in mbedtls_psa_pake_input_internal()
454 operation->buffer_length += sizeof(ecparameters); in mbedtls_psa_pake_input_internal()
462 if (operation->buffer_length + input_length + 1 > sizeof(operation->buffer)) { in mbedtls_psa_pake_input_internal()
467 operation->buffer[operation->buffer_length] = (uint8_t) input_length; in mbedtls_psa_pake_input_internal()
[all …]
H A Dpsa_crypto_core.h258 size_t buffer_length);
H A Dpsa_crypto.c706 size_t buffer_length) in psa_allocate_buffer_to_slot() argument
709 if (buffer_length > ((size_t) MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE)) { in psa_allocate_buffer_to_slot()
717 slot->key.data = mbedtls_calloc(1, buffer_length); in psa_allocate_buffer_to_slot()
723 slot->key.bytes = buffer_length; in psa_allocate_buffer_to_slot()
8596 uint8_t *buffer, size_t buffer_size, size_t *buffer_length) in psa_crypto_driver_pake_get_password() argument
8607 *buffer_length = inputs->password_len; in psa_crypto_driver_pake_get_password()
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_builtin_composites.h199 size_t MBEDTLS_PRIVATE(buffer_length);
H A Dcrypto_extra.h1330 uint8_t *buffer, size_t buffer_size, size_t *buffer_length);