Mistake on this page?
Report an issue in GitHub or email us
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
27 extern "C"
28 {
29 #endif
30 
31 psa_status_t
32 psa_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__ */
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.