Searched refs:tmpref (Results 1 – 6 of 6) sorted by relevance
121 static TEEC_Result TEEC_CheckTmpRef(TEEC_TempMemoryReference tmpref) in TEEC_CheckTmpRef() argument123 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 …]
169 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 …]
183 TEEC_TempMemoryReference tmpref; member
574 … TEEC_EncodeTempParam(&operation->params[paramCnt].tmpref, &cliContext->params[paramCnt]); in TEEC_EncodeParam()1527 static TEEC_Result TEEC_CheckTmpRef(TEEC_TempMemoryReference tmpref) in TEEC_CheckTmpRef() argument1529 if ((tmpref.buffer == NULL) || (tmpref.size == 0)) { in TEEC_CheckTmpRef()1643 ret = TEEC_CheckTmpRef(operation->params[paramCnt].tmpref); in TEEC_CheckOperation()
579 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()
237 operation->params[paramCnt].tmpref.buffer = nullptr; in GetOperationFromData()