v2 / thirdparty / mbedtls / library / psa_crypto_driver_wrappers_no_static.h
31 lines · 24 sloc · 1006 bytes · 1274cdc3447be8e83616e8512872455e8720c2fd
Raw
1/*
2 * Function signatures for functionality that can be provided by
3 * cryptographic accelerators.
4 */
5/* Copyright The Mbed TLS Contributors
6 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
7 */
8
9#ifndef PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H
10#define PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H
11
12#include "psa/crypto.h"
13#include "psa/crypto_driver_common.h"
14
15psa_status_t psa_driver_wrapper_export_public_key(
16 const psa_key_attributes_t *attributes,
17 const uint8_t *key_buffer, size_t key_buffer_size,
18 uint8_t *data, size_t data_size, size_t *data_length);
19
20psa_status_t psa_driver_wrapper_get_key_buffer_size(
21 const psa_key_attributes_t *attributes,
22 size_t *key_buffer_size);
23
24psa_status_t psa_driver_wrapper_get_builtin_key(
25 psa_drv_slot_number_t slot_number,
26 psa_key_attributes_t *attributes,
27 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length);
28
29#endif /* PSA_CRYPTO_DRIVER_WRAPPERS_NO_STATIC_H */
30
31/* End of automatically generated file. */
32