Searched refs:productIdLen (Results 1 - 5 of 5) sorted by relevance
/test/xts/device_attest/services/core/adapter/ |
H A D | attest_adapter_mock.c | 266 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 D | attest_adapter_mock.c | 265 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 D | device_attest_oem_adapter.c | 214 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 D | attest_security_token.c | 70 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 D | attest_security_token.c | 70 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