40fa684c18
Keep module compatibility with mbedtls 2.x (old LTS branch). A patch has been added to allow compiling after removing all the `psa_*` files from the library folder (will look into upstreaming it). Note: mbedTLS 3.6 finally enabled TLSv1.3 by default, but it requires some module changes, and to enable PSA crypto (new "standard" API specification), so it might be best done in a separate commit/PR.
31 lines
1,006 B
C++
31 lines
1,006 B
C++
/*
|
|
* Function signatures for functionality that can be provided by
|
|
* cryptographic accelerators.
|
|
*/
|
|
/* Copyright The Mbed TLS Contributors
|
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H
|
|
#define PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H
|
|
|
|
#include "psa/crypto.h"
|
|
#include "psa/crypto_driver_common.h"
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
#endif /* PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H */
|
|
|
|
/* End of automatically generated file. */
|