Home
last modified time | relevance | path

Searched refs:normalizedKey (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/virtual/
H A Dauth_device_common_key_virtual.c64 …ormalizeKeyIndex(const char *udidHash, int64_t index, AuthLinkType type, SessionKey *normalizedKey, in AuthUpdateNormalizeKeyIndex() argument
70 (void)normalizedKey; in AuthUpdateNormalizeKeyIndex()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c482 if (info->normalizedKey != NULL) { in PackNormalizedKey()
488 info->normalizedKey = (SessionKey *)SoftBusCalloc(sizeof(SessionKey)); in PackNormalizedKey()
489 if (info->normalizedKey == NULL) { in PackNormalizedKey()
500 info->normalizedKey->len = deviceKey.keyLen; in PackNormalizedKey()
501 if (memcpy_s(info->normalizedKey->value, sizeof(info->normalizedKey->value), in PackNormalizedKey()
507 if (PackNormalizedKeyValue(obj, info->normalizedKey) != SOFTBUS_OK) { in PackNormalizedKey()
648 if (!info->isServer && info->normalizedKey != NULL) { in UnpackNormalizedKey()
654 info->normalizedKey = (SessionKey *)SoftBusCalloc(sizeof(SessionKey)); in UnpackNormalizedKey()
655 if (info->normalizedKey == NULL) { in UnpackNormalizedKey()
678 info->normalizedKey->len = deviceKey.keyLen; in UnpackNormalizedKey()
[all …]
H A Dauth_session_fsm.c308 if (authFsm->info.normalizedKey != NULL) { in DestroyAuthFsm()
309 SoftBusFree(authFsm->info.normalizedKey); in DestroyAuthFsm()
310 authFsm->info.normalizedKey = NULL; in DestroyAuthFsm()
688 if (authFsm->info.normalizedKey == NULL) { in RecoveryNormalizedDeviceKey()
705 authFsm->info.normalizedKey, authFsm->info.isServer); in RecoveryNormalizedDeviceKey()
709 ret = AuthSessionSaveSessionKey(authFsm->authSeq, authFsm->info.normalizedKey->value, in RecoveryNormalizedDeviceKey()
710 authFsm->info.normalizedKey->len); in RecoveryNormalizedDeviceKey()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_fsm_test.cpp347 authFsm->info.normalizedKey = nullptr;
351 authFsm->info.normalizedKey = (SessionKey *)SoftBusCalloc(sizeof(SessionKey));
352 if (authFsm->info.normalizedKey == nullptr) {
361 SoftBusFree(authFsm->info.normalizedKey);
H A Dauth_session_message_test.cpp856 .normalizedKey = nullptr,
866 info.normalizedKey = &sessionKey;
909 .normalizedKey = &sessionKey,
917 info.normalizedKey = nullptr;
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_device_common_key.h48 …ormalizeKeyIndex(const char *udidHash, int64_t index, AuthLinkType type, SessionKey *normalizedKey,
H A Dauth_session_fsm.h94 SessionKey *normalizedKey; member