/ohos5.0/drivers/peripheral/user_auth/test/unittest/attribute_test/ |
H A D | attribute_test.cpp | 228 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_SIGNATURE, &value), RESULT_SUCCESS); 239 ASSERT_EQ(GetAttributeUint8Array(nullptr, ATTR_SIGNATURE, nullptr), RESULT_BAD_PARAM); 240 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_SIGNATURE, nullptr), RESULT_BAD_PARAM); 242 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_SIGNATURE, &value), RESULT_BAD_PARAM); 246 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_SIGNATURE, &value), RESULT_BAD_PARAM); 250 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_CALLER_UID, &value), RESULT_GENERAL_ERROR); 251 …ASSERT_EQ(GetAttributeUint8Array(attribute, static_cast<AttributeKey>(invalidKey), &value), RESULT… 256 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_SIGNATURE, &value), RESULT_GENERAL_ERROR); 312 ASSERT_EQ(GetAttributeUint8Array(attribute, ATTR_SIGNATURE, &value), RESULT_SUCCESS); 512 ASSERT_EQ(GetAttributeUint8Array(attribute, keys[i], &value), RESULT_SUCCESS); [all …]
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/coauth/src/ |
H A D | executor_message.c | 197 result = GetAttributeUint8Array(dataAndSignAttribute, ATTR_SIGNATURE, &signTlv); in VerifyDataTlvSignature() 241 if (GetAttributeUint8Array(dataAndSignAttribute, ATTR_DATA, &dataTlv) != RESULT_SUCCESS) { in CreateAttributeFromDataAndSignTlv() 277 ResultCode result = GetAttributeUint8Array(msgAttribute, ATTR_ROOT, &dataAndSignTlv); in CreateAttributeFromExecutorMsg() 299 ResultCode result = GetAttributeUint8Array(attribute, ATTR_ROOT_SECRET, &(array)); in GetRootSecretFromAttribute() 655 result = GetAttributeUint8Array(attribute, ATTR_PUBLIC_KEY, &pubKeyTlv); in GetExecutorInfoHalFromAttribute() 683 ResultCode result = GetAttributeUint8Array(attribute, ATTR_ATTRS, authAttrs); in GetAuthAttrsFromAttribute() 810 ResultCode result = GetAttributeUint8Array(attributeSchedule, ATTR_PUBLIC_KEY, &publicKey); in CreateExecutorCollectMsg() 818 …ResultCode getChallengeRet = GetAttributeUint8Array(attributeSchedule, ATTR_CHALLENGE, &challenge); in CreateExecutorCollectMsg() 919 result = GetAttributeUint8Array(attribute, ATTR_VERIFIER_UDID, &remoteUdid); in GetScheduleInfoFromAttributeInner() 940 result = GetAttributeUint8Array(attribute, ATTR_COLLECTOR_UDID, &collectorUdid); in GetScheduleInfoFromAttribute() [all …]
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/common/src/ |
H A D | attribute.c | 325 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint32Data); in GetAttributeUint32() 367 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint64Data); in GetAttributeUint64() 405 ResultCode GetAttributeUint8Array(const Attribute *attributePub, AttributeKey key, Uint8Array *retD… in GetAttributeUint8Array() function 463 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint64ArrayData); in GetAttributeUint64Array()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/utils/src/ |
H A D | attribute.c | 344 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint32Data); in GetAttributeUint32() 386 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint64Data); in GetAttributeUint64() 406 ResultCode GetAttributeUint8Array(const Attribute *attributePub, AttributeKey key, Uint8Array *retD… in GetAttributeUint8Array() function 463 ResultCode getAttrResult = GetAttributeUint8Array(attribute, key, &uint64ArrayData); in GetAttributeUint64Array()
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/common/inc/ |
H A D | attribute.h | 80 ResultCode GetAttributeUint8Array(const Attribute *attribute, AttributeKey key, Uint8Array *retData…
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/utils/inc/ |
H A D | attribute.h | 119 ResultCode GetAttributeUint8Array(const Attribute *attribute, AttributeKey key, Uint8Array *retData…
|
/ohos5.0/drivers/peripheral/pin_auth/test/unittest/pin_auth/main/src/ |
H A D | pin_auth_test.cpp | 212 ResultCode result = GetAttributeUint8Array(attrbute, ATTR_ROOT, &uint8array); in GetTemplateIdFromTlv() 221 result = GetAttributeUint8Array(attrbute, ATTR_DATA, &uint8array); in GetTemplateIdFromTlv()
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/main/src/ |
H A D | collector_func.c | 248 result = GetAttributeUint8Array(data, PIN_ATTR_ALGO_PARAM, &uint8Array); in GetAlgoParam()
|
H A D | executor_func_common.c | 61 result = GetAttributeUint8Array(attribute, key, &uint8Array); in GetBufferFromAttributeBase()
|
/ohos5.0/drivers/peripheral/user_auth/test/unittest/co_auth/ |
H A D | executor_message_test.cpp | 221 result = GetAttributeUint8Array(msgAttribute, ATTR_ROOT, &dataAndSignTlv);
|