其他分享
首页 > 其他分享> > TEE Internal Core API总结

TEE Internal Core API总结

作者:互联网

快速链接:
.
???????????? 个人博客笔记导读目录(全部) ????????????

请添加图片描述

文章目录

Asymmetric

TEE_AsymmetricDecrypt, 209
TEE_AsymmetricEncrypt, 209
TEE_AsymmetricSignDigest, 211
TEE_AsymmetricVerifyDigest, 214

Authenticated Encryption

TEE_AEDecryptFinal, 208
TEE_AEEncryptFinal, 207
TEE_AEInit, 203
TEE_AEUpdate, 206
TEE_AEUpdateAAD, 205

Basic Arithmetic

TEE_BigIntAdd, 257
TEE_BigIntDiv, 262
TEE_BigIntMul, 260
TEE_BigIntNeg, 259
TEE_BigIntSquare, 261
TEE_BigIntSub, 258

Cancellation

TEE_GetCancellationFlag, 101
TEE_MaskCancellation, 103
TEE_UnmaskCancellation, 103

Converter

TEE_BigIntConvertFromOctetString, 247
TEE_BigIntConvertFromS32, 249
TEE_BigIntConvertToOctetString, 248
TEE_BigIntConvertToS32, 250

Data Stream Access

TEE_ReadObjectData, 164
TEE_SeekObjectData, 169
TEE_TruncateObjectData, 168
TEE_WriteObjectData, 166

Deprecated

TEE_BigIntInitFMMContext, 334
TEE_CloseAndDeletePersistentObject, 333
TEE_CopyObjectAttributes, 332
TEE_GetObjectInfo, 329
TEE_RestrictObjectUsage, 331

Events

TEE_Event_AddSources, 313
TEE_Event_CancelSources, 314
TEE_Event_CloseQueue, 315
TEE_Event_DropSources, 316
TEE_Event_ListSources, 317
TEE_Event_OpenQueue, 318
TEE_Event_TimerCreate, 320
TEE_Event_Wait, 321

Fast Modular Multiplication

TEE_BigIntComputeFMM, 276
TEE_BigIntConvertFromFMM, 275
TEE_BigIntConvertToFMM, 274

Generic Object

TEE_CloseObject, 132
TEE_GetObjectBufferAttribute, 129
TEE_GetObjectInfo (deprecated), 329
TEE_GetObjectInfo1, 126
TEE_GetObjectValueAttribute, 131
TEE_RestrictObjectUsage (deprecated), 331
TEE_RestrictObjectUsage1, 128

Generic Operation

TEE_AllocateOperation, 177
TEE_CopyOperation, 191
TEE_FreeOperation, 181
TEE_GetOperationInfo, 182
TEE_GetOperationInfoMultiple, 184
TEE_IsAlgorithmSupported, 192
TEE_ResetOperation, 186
TEE_SetOperationKey, 187
TEE_SetOperationKey2, 189

Initialization

TEE_BigIntInit, 244
TEE_BigIntInitFMM, 246
TEE_BigIntInitFMMContext, 245
TEE_BigIntInitFMMContext (deprecated), 334

Internal Client API

TEE_CloseTASession, 96
TEE_InvokeTACommand, 97
TEE_OpenTASession, 94

Key Derivation

TEE_DeriveKey, 217
Logical Operation
TEE_BigIntAbs, 256
TEE_BigIntAssign, 255
TEE_BigIntCmp, 251
TEE_BigIntCmpS32, 251
TEE_BigIntGetBit, 253
TEE_BigIntGetBitCount, 253
TEE_BigIntSetBit, 254
TEE_BigIntShiftRight, 252

MAC

TEE_MACCompareFinal, 202
TEE_MACComputeFinal, 201
TEE_MACInit, 199
TEE_MACUpdate, 200
Memory Allocation and Size of Objects
TEE_BigIntFMMContextSizeInU32, 242
TEE_BigIntFMMSizeInU32, 243
TEE_BigIntSizeInU32 (macro), 241

Memory Management

TEE_CheckMemoryAcce***ights, 104
TEE_Free, 113
TEE_GetInstanceData, 108
TEE_Malloc, 109
TEE_MemCompare, 115
TEE_MemFill, 116
TEE_MemMove, 114
TEE_Realloc, 111
TEE_SetInstanceData, 107

Message Digest

TEE_DigestDoFinal, 194
TEE_DigestUpdate, 193
Modular Arithmetic
TEE_BigIntAddMod, 265
TEE_BigIntExpMod, 270
TEE_BigIntInvMod, 269
TEE_BigIntMod, 264
TEE_BigIntMulMod, 267
TEE_BigIntSquareMod, 268
TEE_BigIntSubMod, 266

Other Arithmetic

TEE_BigIntComputeExtendedGcd, 272
TEE_BigIntIsProbablePrime, 273
TEE_BigIntRelativePrime, 271

Panic Function

TEE_Panic, 93

Peripherals

TEE_Peripheral_Close, 300
TEE_Peripheral_CloseMultiple, 301
TEE_Peripheral_GetPeripherals, 302
TEE_Peripheral_GetState, 303
TEE_Peripheral_GetStateTable, 304
TEE_Peripheral_Open, 305
TEE_Peripheral_OpenMultiple, 307
TEE_Peripheral_Read, 309
TEE_Peripheral_SetState, 310
TEE_Peripheral_Write, 312

Persistent Object

TEE_CloseAndDeletePersistentObject (deprecated)
TEE_CloseAndDeletePersistentObject1
TEE_CreatePersistentObject
TEE_OpenPersistentObject
TEE_RenamePersistentObject

Persistent Object Enumeration

TEE_AllocatePersistentObjectEnumerator
TEE_FreePersistentObjectEnumerator
TEE_GetNextPersistentObject
TEE_ResetPersistentObjectEnumerator
TEE_StartPersistentObjectEnumerator

Property Access

TEE_AllocatePropertyEnumerator
TEE_FreePropertyEnumerator
TEE_GetNextProperty
TEE_GetPropertyAsBinaryBlock
TEE_GetPropertyAsBool
TEE_GetPropertyAsIdentity
TEE_GetPropertyAsString
TEE_GetPropertyAsU32
TEE_GetPropertyAsU64
TEE_GetPropertyAsUUID
TEE_GetPropertyName
TEE_ResetPropertyEnumerator
TEE_StartPropertyEnumerator

Random Data Generation

TEE_GenerateRandom

Symmetric Cipher

TEE_CipherDoFinal
TEE_CipherInit
TEE_CipherUpdate

TA Interface

TA_CloseSessionEntryPoint
TA_CreateEntryPoint
TA_DestroyEntryPoint
TA_InvokeCommandEntryPoint
TA_OpenSessionEntryPoint

Time

TEE_GetREETime
TEE_GetSystemTime
TEE_GetTAPersistentTime
TEE_SetTAPersistentTime
TEE_Wait

Transient Object

TEE_AllocateTransientObject
TEE_CopyObjectAttributes (deprecated)
TEE_CopyObjectAttributes1
TEE_FreeTransientObject
TEE_GenerateKey
TEE_InitRefAttribute
TEE_InitValueAttribute
TEE_PopulateTransientObject
TEE_ResetTransientObject

标签:API,Core,Peripheral,Object,TEE,Internal,Event,Arithmetic,TA
来源: https://blog.51cto.com/u_15278218/2936754