Ensure build of P256 pass
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
parent
5cb930ff8a
commit
077ffc0991
3 changed files with 3 additions and 3 deletions
1
3rdparty/p256-m/p256-m_driver_entrypoints.c
vendored
1
3rdparty/p256-m/p256-m_driver_entrypoints.c
vendored
|
@ -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)
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue