Mbed OS Reference
Loading...
Searching...
No Matches
psa_inject_attestation_key_impl.h
1/*
2* Copyright (c) 2018-2019 ARM Limited. All rights reserved.
3*
4* SPDX-License-Identifier: Apache-2.0
5*
6* Licensed under the Apache License, Version 2.0 (the License); you may
7* not use this file except in compliance with the License.
8* You may obtain a copy of the License at
9*
10* http://www.apache.org/licenses/LICENSE-2.0
11*
12* Unless required by applicable law or agreed to in writing, software
13* distributed under the License is distributed on an AS IS BASIS, WITHOUT
14* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15* See the License for the specific language governing permissions and
16* limitations under the License.
17*/
18
19#ifndef __PSA_INITIAL_ATTESTATION_IMPL_H__
20#define __PSA_INITIAL_ATTESTATION_IMPL_H__
21
22#include "psa/crypto.h"
23#include <stdint.h>
24#include <string.h>
25
26#ifdef __cplusplus
27extern "C"
28{
29#endif
30
32psa_attestation_inject_key_impl(const uint8_t *key_data,
33 size_t key_data_length,
34 psa_key_type_t type,
35 uint8_t *public_key_data,
36 size_t public_key_data_size,
37 size_t *public_key_data_length);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* __PSA_INITIAL_ATTESTATION_IMPL_H__ */
Platform Security Architecture cryptography module.
uint16_t psa_key_type_t
Encoding of a key type.
Definition: crypto_types.h:66
int32_t psa_status_t
Function return status.
Definition: crypto_types.h:55