2020-07-16 20:28:36 +02:00
|
|
|
/*
|
|
|
|
* Function signatures for functionality that can be provided by
|
|
|
|
* cryptographic accelerators.
|
|
|
|
*/
|
2020-09-02 13:43:46 +02:00
|
|
|
/* Copyright The Mbed TLS Contributors
|
2023-11-02 20:47:20 +01:00
|
|
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
2020-07-16 20:28:36 +02:00
|
|
|
*/
|
|
|
|
|
2023-09-12 12:25:43 +02:00
|
|
|
#ifndef PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H
|
|
|
|
#define PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H
|
2020-07-16 20:28:36 +02:00
|
|
|
|
|
|
|
#include "psa/crypto.h"
|
|
|
|
#include "psa/crypto_driver_common.h"
|
|
|
|
|
2023-08-08 05:41:07 +02:00
|
|
|
psa_status_t psa_driver_wrapper_export_public_key(
|
2020-11-25 14:30:05 +01:00
|
|
|
const psa_key_attributes_t *attributes,
|
|
|
|
const uint8_t *key_buffer, size_t key_buffer_size,
|
2023-01-11 14:50:10 +01:00
|
|
|
uint8_t *data, size_t data_size, size_t *data_length);
|
2020-11-25 14:30:05 +01:00
|
|
|
|
2023-09-04 12:57:55 +02:00
|
|
|
psa_status_t psa_driver_wrapper_get_key_buffer_size(
|
|
|
|
const psa_key_attributes_t *attributes,
|
|
|
|
size_t *key_buffer_size);
|
|
|
|
|
|
|
|
psa_status_t psa_driver_wrapper_get_builtin_key(
|
|
|
|
psa_drv_slot_number_t slot_number,
|
|
|
|
psa_key_attributes_t *attributes,
|
|
|
|
uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length);
|
2022-06-01 18:17:22 +02:00
|
|
|
|
2023-09-12 12:25:43 +02:00
|
|
|
#endif /* PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H */
|
2020-07-16 20:28:36 +02:00
|
|
|
|
|
|
|
/* End of automatically generated file. */
|