Home
last modified time | relevance | path

Searched refs:productIdLen (Results 1 - 5 of 5) sorted by relevance

/test/xts/device_attest/services/core/adapter/
H A Dattest_adapter_mock.c266 uint32_t productIdLen = strlen(productIdBuf); in OsGetProdIdStub() local
267 if (len < productIdLen) { in OsGetProdIdStub()
272 int ret = memcpy_s(productId, len, productIdBuf, productIdLen); in OsGetProdIdStub()
/test/xts/device_attest_lite/services/core/adapter/
H A Dattest_adapter_mock.c265 uint32_t productIdLen = strlen(productIdBuf); in OsGetProdIdStub() local
266 if (len < productIdLen) { in OsGetProdIdStub()
271 int ret = memcpy_s(productId, len, productIdBuf, productIdLen); in OsGetProdIdStub()
/test/xts/device_attest/services/oem_adapter/src/
H A Ddevice_attest_oem_adapter.c214 uint32_t productIdLen = strlen(productIdBuf); in OEMGetProductId() local
215 if (len < productIdLen) { in OEMGetProductId()
219 int32_t ret = memcpy_s(productId, len, productIdBuf, productIdLen); in OEMGetProductId()
/test/xts/device_attest/services/core/security/
H A Dattest_security_token.c70 int32_t productIdLen = strlen((const char *)productId); in GetIKM() local
71 if ((productKeyLen > PRODUCT_KEY_LEN) || (productIdLen > PRODUCT_ID_LEN)) { in GetIKM()
76 int32_t ikmSize = productKeyLen + productIdLen + 1; in GetIKM()
84 (memcpy_s(ikm + productKeyLen, ikmSize, productId, productIdLen) != 0)) { in GetIKM()
/test/xts/device_attest_lite/services/core/security/
H A Dattest_security_token.c70 int32_t productIdLen = strlen((const char *)productId); in GetIKM() local
71 if ((productKeyLen > PRODUCT_KEY_LEN) || (productIdLen > PRODUCT_ID_LEN)) { in GetIKM()
76 int32_t ikmSize = productKeyLen + productIdLen + 1; in GetIKM()
84 (memcpy_s(ikm + productKeyLen, ikmSize, productId, productIdLen) != 0)) { in GetIKM()

Completed in 5 milliseconds