Home
last modified time | relevance | path

Searched refs:srcPsk (Results 1 - 4 of 4) sorted by relevance

/base/security/device_auth/services/identity_manager/src/
H A Didentity_common.c31 int32_t ConvertPsk(const Uint8Buff *srcPsk, Uint8Buff *sharedSecret) in ConvertPsk() argument
40 if (ByteToHexString(srcPsk->val, srcPsk->length, (char *)sharedSecret->val, len + 1) != HC_SUCCESS) { in ConvertPsk()
/base/security/device_auth/services/identity_manager/inc/
H A Didentity_common.h28 int32_t ConvertPsk(const Uint8Buff *srcPsk, Uint8Buff *sharedSecret);
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/
H A Dpake_v1_protocol_task_common.c244 static int32_t ConvertPakeV1Psk(const Uint8Buff *srcPsk, PakeParams *params) in ConvertPakeV1Psk() argument
252 if (ByteToHexString(srcPsk->val, srcPsk->length, (char *)params->baseParams.psk.val, in ConvertPakeV1Psk()
259 PRINT_DEBUG_MSG(srcPsk->val, srcPsk->length, "pskValue"); in ConvertPakeV1Psk()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Didentity_manager_test.cpp168 Uint8Buff srcPsk = { nullptr, 0 }; in HWTEST_F() local
170 int32_t ret = ConvertPsk(&srcPsk, &sharedSecret); in HWTEST_F()

Completed in 5 milliseconds