Ensure build of P256 pass

Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
Xiaokang Qian 2023-08-08 03:41:07 +00:00
parent 5cb930ff8a
commit 077ffc0991
3 changed files with 3 additions and 3 deletions

View file

@ -24,6 +24,7 @@
#include "psa/crypto.h"
#include <stddef.h>
#include <string.h>
#include "psa_crypto_driver_wrappers.h"
#if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)

View file

@ -116,7 +116,7 @@ static inline psa_status_t psa_driver_wrapper_export_key(
const uint8_t *key_buffer, size_t key_buffer_size,
uint8_t *data, size_t data_size, size_t *data_length);
static inline psa_status_t psa_driver_wrapper_export_public_key(
psa_status_t psa_driver_wrapper_export_public_key(
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer, size_t key_buffer_size,
uint8_t *data, size_t data_size, size_t *data_length);

View file

@ -1057,8 +1057,7 @@ data_length
{% endwith %}
}
__attribute__((unused))
static inline psa_status_t psa_driver_wrapper_export_public_key(
psa_status_t psa_driver_wrapper_export_public_key(
const psa_key_attributes_t *attributes,
const uint8_t *key_buffer, size_t key_buffer_size,
uint8_t *data, size_t data_size, size_t *data_length )