Home
last modified time | relevance | path

Searched refs:PRODUCT_ID_LEN (Results 1 - 8 of 8) sorted by relevance

/test/xts/device_attest_lite/services/core/security/
H A Dattest_security.c147 uint8_t productId[PRODUCT_ID_LEN] = {0}; in GetProductInfo()
153 if (memcpy_s(productInfoParam->param + MANUFACTUREKEY_LEN, PRODUCT_ID_LEN, productId, PRODUCT_ID_LEN) != 0) { in GetProductInfo()
157 (void)memset_s(productId, PRODUCT_ID_LEN, 0, PRODUCT_ID_LEN); in GetProductInfo()
171 uint8_t productInfo[MANUFACTUREKEY_LEN + PRODUCT_ID_LEN] = {0}; in GetAesKey()
H A Dattest_security_token.c63 uint8_t productId[PRODUCT_ID_LEN + 1] = {0}; in GetIKM()
64 if (AttestGetProductId(productId, PRODUCT_ID_LEN) != ATTEST_OK) { in GetIKM()
71 if ((productKeyLen > PRODUCT_KEY_LEN) || (productIdLen > PRODUCT_ID_LEN)) { in GetIKM()
91 (void)memset_s(productId, PRODUCT_ID_LEN + 1, 0, PRODUCT_ID_LEN + 1); in GetIKM()
/test/xts/device_attest/services/core/security/
H A Dattest_security.c225 uint8_t productId[PRODUCT_ID_LEN] = {0}; in GetProductInfo()
231 if (memcpy_s(productInfoParam->param + MANUFACTUREKEY_LEN, PRODUCT_ID_LEN, productId, PRODUCT_ID_LEN) != 0) { in GetProductInfo()
235 (void)memset_s(productId, PRODUCT_ID_LEN, 0, PRODUCT_ID_LEN); in GetProductInfo()
346 uint8_t productInfo[MANUFACTUREKEY_LEN + PRODUCT_ID_LEN] = {0}; in GetAesKey()
H A Dattest_security_token.c63 uint8_t productId[PRODUCT_ID_LEN + 1] = {0}; in GetIKM()
64 if (AttestGetProductId(productId, PRODUCT_ID_LEN) != ATTEST_OK) { in GetIKM()
71 if ((productKeyLen > PRODUCT_KEY_LEN) || (productIdLen > PRODUCT_ID_LEN)) { in GetIKM()
91 (void)memset_s(productId, PRODUCT_ID_LEN + 1, 0, PRODUCT_ID_LEN + 1); in GetIKM()
/test/xts/acts/applications/kitframework_ipcamera/
H A Dkitfwk_oem_api_test.cpp39 const int PRODUCT_ID_LEN = 4; variable
305 char productId[PRODUCT_ID_LEN]; in HWTEST_F()
/test/xts/acts/applications/kitframework/
H A Dkitfwk_oem_api_test.c39 #define PRODUCT_ID_LEN 4 macro
315 char productId[PRODUCT_ID_LEN];
/test/xts/device_attest_lite/services/core/include/security/
H A Dattest_security.h41 #define PRODUCT_ID_LEN 8 macro
/test/xts/device_attest/services/core/include/security/
H A Dattest_security.h41 #define PRODUCT_ID_LEN 8 macro

Completed in 7 milliseconds