Home
last modified time | relevance | path

Searched refs:productKeyBuf (Results 1 - 3 of 3) sorted by relevance

/test/xts/device_attest/services/core/adapter/
H A Dattest_adapter_mock.c283 char *productKeyBuf = GetDeviceParaStub("productKey"); in OsGetProdKeyStub() local
284 if (productKeyBuf == NULL) { in OsGetProdKeyStub()
287 uint32_t productKeyLen = strlen(productKeyBuf); in OsGetProdKeyStub()
289 ATTEST_MEM_FREE(productKeyBuf); in OsGetProdKeyStub()
293 int ret = memcpy_s(productKey, len, productKeyBuf, productKeyLen); in OsGetProdKeyStub()
294 ATTEST_MEM_FREE(productKeyBuf); in OsGetProdKeyStub()
/test/xts/device_attest_lite/services/core/adapter/
H A Dattest_adapter_mock.c282 char *productKeyBuf = GetDeviceParaStub("productKey"); in OsGetProdKeyStub() local
283 if (productKeyBuf == NULL) { in OsGetProdKeyStub()
286 uint32_t productKeyLen = strlen(productKeyBuf); in OsGetProdKeyStub()
288 ATTEST_MEM_FREE(productKeyBuf); in OsGetProdKeyStub()
292 int ret = memcpy_s(productKey, len, productKeyBuf, productKeyLen); in OsGetProdKeyStub()
293 ATTEST_MEM_FREE(productKeyBuf); in OsGetProdKeyStub()
/test/xts/device_attest/services/oem_adapter/src/
H A Ddevice_attest_oem_adapter.c229 const char productKeyBuf[] = ""; in OEMGetProductKey() local
230 uint32_t productKeyLen = sizeof(productKeyBuf); in OEMGetProductKey()
235 int32_t ret = memcpy_s(productKey, len, productKeyBuf, productKeyLen); in OEMGetProductKey()

Completed in 2 milliseconds