Home
last modified time | relevance | path

Searched refs:FIELD_NONCE (Results 1 – 8 of 8) sorted by relevance

/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/
Dpake_message_util.c96 res = AddByteToJson(payload, FIELD_NONCE, params->nonce.val, params->nonce.length); in PackagePakeResponseData()
143 res = GetByteFromJson(in, FIELD_NONCE, params->nonce.val, params->nonce.length); in ParsePakeResponseMessage()
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
Diso_server_bind_exchange_task.c94 GOTO_ERR_AND_SET_RET(GetByteFromJson(in, FIELD_NONCE, nonce, NONCE_SIZE), res); in DecryptChallenge()
209 GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_NONCE, nonceBuf.val, nonceBuf.length), res); in GenerateAuthCodeAndImport()
Diso_client_bind_exchange_task.c98 GOTO_ERR_AND_SET_RET(GetByteFromJson(in, FIELD_NONCE, nonce, NONCE_SIZE), res); in DecAndImportAuthCode()
221 GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_NONCE, nonce, NONCE_SIZE), res); in ClientBindExchangeStart()
/base/security/device_auth/services/frameworks/inc/
Dcommon_defs.h79 #define FIELD_NONCE "nonce" macro
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/
Diso_task_common.c110 GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_NONCE, nonce, sizeof(nonce)), ret); in GenerateEncResult()
218 GOTO_ERR_AND_SET_RET(GetByteFromJson(in, FIELD_NONCE, nonce, NONCE_SIZE), res); in CheckEncResult()
/base/security/device_auth/services/creds_manager/src/
Dcreds_manager.c611 ret = GetByteFromJson(in, FIELD_NONCE, nonceBuff.val, nonceBuff.length); in GetSharedSecretForP2pInPake()
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_v2.c682 … if (AddByteToJson(impl->context, FIELD_NONCE, impl->salt.val, impl->salt.length) != HC_SUCCESS) { in GenerateDevSessionSalt()
1236 … if (AddByteToJson(impl->context, FIELD_NONCE, impl->salt.val, impl->salt.length) != HC_SUCCESS) { in GetSessionSaltFromInput()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
Dcreds_manager_test.cpp1865 AddByteToJson(json, FIELD_NONCE, nonceBuff.val, nonceBuff.length);