Mistake on this page? Email us
pal_rot.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // Copyright 2016-2019 ARM Ltd.
3 //
4 // SPDX-License-Identifier: Apache-2.0
5 //
6 // Licensed under the Apache License, Version 2.0 (the "License");
7 // you may 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,
14 // WITHOUT 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 _PAL_ROT_H
20 #define _PAL_ROT_H
21 
22 #ifndef _PAL_H
23  #error "Please do not include this file directly, use pal.h instead"
24 #endif
25 
26 #include <stdint.h>
27 
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 
40 typedef enum palDeviceKeyType {
46 
47 
57 palStatus_t pal_osGetDeviceKey(palDevKeyType_t keyType, uint8_t *key, size_t keyLenBytes);
58 
59 
71 palStatus_t pal_osSetRoT(uint8_t *key, size_t keyLenBytes);
72 #ifdef __cplusplus
73 }
74 #endif
75 #endif //_PAL_ROT_H
Definition: pal_rot.h:43
Definition: pal_rot.h:42
enum palDeviceKeyType palDevKeyType_t
Device key types supported in PAL.
palStatus_t pal_osGetDeviceKey(palDevKeyType_t keyType, uint8_t *key, size_t keyLenBytes)
palStatus_t pal_osSetRoT(uint8_t *key, size_t keyLenBytes)
palDeviceKeyType
Device key types supported in PAL.
Definition: pal_rot.h:41
Definition: pal_rot.h:44
int32_t palStatus_t
Definition: pal_types.h:55