Home
last modified time | relevance | path

Searched refs:tmpref (Results 1 - 6 of 6) sorted by relevance

/base/tee/tee_client/interfaces/kits/c/src/
H A Dtee_client.cpp121 static TEEC_Result TEEC_CheckTmpRef(TEEC_TempMemoryReference tmpref) in TEEC_CheckTmpRef() argument
123 if ((tmpref.buffer == nullptr) || (tmpref.size == 0)) { in TEEC_CheckTmpRef()
124 tloge("tmpref buffer is null, or size is zero\n"); in TEEC_CheckTmpRef()
187 ret = TEEC_CheckTmpRef(operation->params[i].tmpref); in TEEC_CheckOperation()
677 if (sizeLeft < param->tmpref.size) { in TeecOptDecodeTempMem()
678 tloge("size is error:%zu:%{public}u\n", sizeLeft, param->tmpref.size); in TeecOptDecodeTempMem()
683 ptr += param->tmpref.size; in TeecOptDecodeTempMem()
684 sizeLeft -= param->tmpref.size; in TeecOptDecodeTempMem()
688 p = reinterpret_cast<uint8_t *>(param->tmpref in TeecOptDecodeTempMem()
[all...]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
H A Dhks_teec.c168 des->tmpref.buffer = src->tmpRef.buffer; in FillUpCommand()
169 des->tmpref.size = src->tmpRef.size; in FillUpCommand()
330 keyOut->size = operation.params[3].tmpref.size; /* 3 is array index */ in HksTeeGenerateKey()
376 keyOut->size = operation.params[2].tmpref.size; /* 2 is array index */ in HksTeeImportKey()
395 keyOut->size = operation.params[2].tmpref.size; /* 2 is array index */ in HksTeeExportPublicKey()
415 agreedKey->size = operation.params[3].tmpref.size; /* 3 is array index */ in HksTeeAgreeKey()
433 derivedKey->size = operation.params[2].tmpref.size; /* 2 is array index */ in HksTeeDeriveKey()
452 certChain->size = operation.params[2].tmpref.size; /* 2 is array index */ in HksTeeAttestKey()
518 inOut->size = operation.params[2].tmpref.size; /* 2 is array index */ in ProcessFinal()
541 inOut->size = operation.params[3].tmpref in ProcessOnce()
[all...]
/base/tee/tee_client/interfaces/kits/c/include/
H A Dtee_client_type.h183 TEEC_TempMemoryReference tmpref; member
/base/tee/tee_client/frameworks/libteec_vendor/
H A Dtee_client_api.c574 TEEC_EncodeTempParam(&operation->params[paramCnt].tmpref, &cliContext->params[paramCnt]); in TEEC_EncodeParam()
1527 static TEEC_Result TEEC_CheckTmpRef(TEEC_TempMemoryReference tmpref) in TEEC_CheckTmpRef() argument
1529 if ((tmpref.buffer == NULL) || (tmpref.size == 0)) { in TEEC_CheckTmpRef()
1530 tloge("tmpref buffer is null, or size is zero\n"); in TEEC_CheckTmpRef()
1643 ret = TEEC_CheckTmpRef(operation->params[paramCnt].tmpref); in TEEC_CheckOperation()
/base/tee/tee_client/services/cadaemon/src/ca_daemon/
H A Dcadaemon_service.cpp579 retOperation.params[i].tmpref.buffer = nullptr; in WriteOperation()
709 uint32_t refSize = operation->params[paramCnt].tmpref.size; in GetTeecOptMem()
715 operation->params[paramCnt].tmpref.buffer = static_cast<void *>(ptr + shmInfoOffset); in GetTeecOptMem()
H A Dcadaemon_stub.cpp237 operation->params[paramCnt].tmpref.buffer = nullptr; in GetOperationFromData()

Completed in 9 milliseconds