Searched refs:FIELD_NONCE (Results 1 – 8 of 8) sorted by relevance
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/ |
D | pake_message_util.c | 96 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/ |
D | iso_server_bind_exchange_task.c | 94 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()
|
D | iso_client_bind_exchange_task.c | 98 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/ |
D | common_defs.h | 79 #define FIELD_NONCE "nonce" macro
|
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/ |
D | iso_task_common.c | 110 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/ |
D | creds_manager.c | 611 ret = GetByteFromJson(in, FIELD_NONCE, nonceBuff.val, nonceBuff.length); in GetSharedSecretForP2pInPake()
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_v2.c | 682 … 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/ |
D | creds_manager_test.cpp | 1865 AddByteToJson(json, FIELD_NONCE, nonceBuff.val, nonceBuff.length);
|