Searched refs:buffer_length (Results 1 – 5 of 5) sorted by relevance
252 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 …]
258 size_t buffer_length);
706 size_t buffer_length) in psa_allocate_buffer_to_slot() argument709 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() argument8607 *buffer_length = inputs->password_len; in psa_crypto_driver_pake_get_password()
199 size_t MBEDTLS_PRIVATE(buffer_length);
1330 uint8_t *buffer, size_t buffer_size, size_t *buffer_length);