NVIDIA DRIVE OS Linux SDK API Reference
5.2.6 Release
For Test and Development only
tee_cryptographic_datatypes.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2010 GlobalPlatform Inc. All Rights Reserved.
3
* The technology provided or described herein is subject to updates, revisions,
4
* and extensions by GlobalPlatform. Use of this information is governed by the
5
* GlobalPlatform license agreement and any use inconsistent with that agreement
6
* is strictly prohibited
7
*
8
* Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
9
* NVIDIA CORPORATION and its licensors retain all intellectual property
10
* and proprietary rights in and to this software, related documentation
11
* and any modifications thereto. Any use, reproduction, disclosure or
12
* distribution of this software and related documentation without an express
13
* license agreement from NVIDIA CORPORATION is strictly prohibited.
14
*/
15
30
#ifndef TEE_INTERNAL_CRYPTOGRAPHIC_DATATYPES_H
31
#define TEE_INTERNAL_CRYPTOGRAPHIC_DATATYPES_H
32
34
typedef
enum
{
35
TEE_MODE_ENCRYPT
,
36
TEE_MODE_DECRYPT
,
37
TEE_MODE_SIGN
,
38
TEE_MODE_VERIFY
,
39
TEE_MODE_MAC
,
40
TEE_MODE_DIGEST
,
41
TEE_MODE_DERIVE
,
42
}
TEE_OperationMode
;
43
47
typedef
struct
{
48
uint32_t
algorithm
;
49
uint32_t
operationClass
;
50
uint32_t
mode
;
51
uint32_t
digestLength
;
52
uint32_t
maxKeySize
;
53
uint32_t
keySize
;
54
uint32_t
requiredKeyUsage
;
55
uint32_t
handleState
;
56
}
TEE_OperationInfo
;
57
59
#endif
/* TEE_INTERNAL_CRYPTOGRAPHIC_DATATYPES_H */
TEE_OperationInfo::digestLength
uint32_t digestLength
Definition:
tee_cryptographic_datatypes.h:51
TEE_MODE_MAC
@ TEE_MODE_MAC
Definition:
tee_cryptographic_datatypes.h:39
TEE_MODE_VERIFY
@ TEE_MODE_VERIFY
Definition:
tee_cryptographic_datatypes.h:38
TEE_OperationInfo::maxKeySize
uint32_t maxKeySize
Definition:
tee_cryptographic_datatypes.h:52
TEE_OperationInfo
Holds information about a cryptographic operation handle.
Definition:
tee_cryptographic_datatypes.h:47
TEE_OperationInfo::handleState
uint32_t handleState
Definition:
tee_cryptographic_datatypes.h:55
TEE_OperationInfo::keySize
uint32_t keySize
Definition:
tee_cryptographic_datatypes.h:53
TEE_OperationInfo::operationClass
uint32_t operationClass
Definition:
tee_cryptographic_datatypes.h:49
TEE_MODE_DECRYPT
@ TEE_MODE_DECRYPT
Definition:
tee_cryptographic_datatypes.h:36
TEE_MODE_ENCRYPT
@ TEE_MODE_ENCRYPT
Definition:
tee_cryptographic_datatypes.h:35
TEE_OperationMode
TEE_OperationMode
TEE operation modes.
Definition:
tee_cryptographic_datatypes.h:34
TEE_OperationInfo::requiredKeyUsage
uint32_t requiredKeyUsage
Definition:
tee_cryptographic_datatypes.h:54
TEE_OperationInfo::mode
uint32_t mode
Definition:
tee_cryptographic_datatypes.h:50
TEE_OperationInfo::algorithm
uint32_t algorithm
Definition:
tee_cryptographic_datatypes.h:48
TEE_MODE_DERIVE
@ TEE_MODE_DERIVE
Definition:
tee_cryptographic_datatypes.h:41
TEE_MODE_DIGEST
@ TEE_MODE_DIGEST
Definition:
tee_cryptographic_datatypes.h:40
TEE_MODE_SIGN
@ TEE_MODE_SIGN
Definition:
tee_cryptographic_datatypes.h:37
Advance Information | Subject to Change | Prepared and Provided under NDA | Generated by NVIDIA | Wed Apr 21 2021 19:44:45 | PR-08890-5.2