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/
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()
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.buffer); in TeecOptDecodeTempMem()
691 if (param->tmpref.size < inParam->tmpref.size) { in TeecOptDecodeTempMem()
692 …ze from ca is:%{public}u, size from ta is:%{public}u\n", param->tmpref.size, inParam->tmpref.size); in TeecOptDecodeTempMem()
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_teec.c169 des->tmpref.buffer = src->tmpRef.buffer; in FillUpCommand()
170 des->tmpref.size = src->tmpRef.size; in FillUpCommand()
331 keyOut->size = operation.params[3].tmpref.size; /* 3 is array index */ in HksTeeGenerateKey()
377 keyOut->size = operation.params[2].tmpref.size; /* 2 is array index */ in HksTeeImportKey()
396 keyOut->size = operation.params[2].tmpref.size; /* 2 is array index */ in HksTeeExportPublicKey()
416 agreedKey->size = operation.params[3].tmpref.size; /* 3 is array index */ in HksTeeAgreeKey()
434 derivedKey->size = operation.params[2].tmpref.size; /* 2 is array index */ in HksTeeDeriveKey()
453 certChain->size = operation.params[2].tmpref.size; /* 2 is array index */ in HksTeeAttestKey()
519 inOut->size = operation.params[2].tmpref.size; /* 2 is array index */ in ProcessFinal()
542 inOut->size = operation.params[3].tmpref.size; /* 3 is array index */ in ProcessOnce()
[all …]
/base/tee/tee_client/interfaces/kits/c/include/
Dtee_client_type.h183 TEEC_TempMemoryReference tmpref; member
/base/tee/tee_client/frameworks/libteec_vendor/
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()
1643 ret = TEEC_CheckTmpRef(operation->params[paramCnt].tmpref); in TEEC_CheckOperation()
/base/tee/tee_client/services/cadaemon/src/ca_daemon/
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()
Dcadaemon_stub.cpp237 operation->params[paramCnt].tmpref.buffer = nullptr; in GetOperationFromData()