Home
last modified time | relevance | path

Searched refs:ED25519 (Results 1 - 8 of 8) sorted by relevance

/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/creds_manager/
H A Ddas_standard_token_manager.c44 res = loader->generateKeyPairWithStorage(&keyParams, PAKE_ED25519_KEY_PAIR_LEN, ED25519, in RegisterLocalIdentityStd()
299 Algorithm alg = (params->baseParams.curveType == CURVE_256) ? P256 : ED25519; in ComputeAndSavePskInner()
300 if (alg == ED25519) { in ComputeAndSavePskInner()
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dcommon_standard_bind_exchange.c101 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in GenerateKeyPairIfNotExist()
202 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in GenerateSignInfo()
382 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in VerifySignInfo()
417 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in SaveAuthInfo()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_interface_test.cpp1235 res = loader->sign(nullptr, nullptr, ED25519, nullptr); in HWTEST_F()
1237 res = loader->generateKeyPair(ED25519, nullptr, nullptr); in HWTEST_F()
1240 res = loader->generateKeyPair(ED25519, &outPrivKey, nullptr); in HWTEST_F()
1244 res = loader->generateKeyPair(ED25519, &outPrivKey, nullptr); in HWTEST_F()
1247 res = loader->generateKeyPair(ED25519, &outPrivKey, nullptr); in HWTEST_F()
1250 res = loader->generateKeyPair(ED25519, &outPrivKey, &outPubKey); in HWTEST_F()
1254 res = loader->generateKeyPair(ED25519, &outPrivKey, &outPubKey); in HWTEST_F()
1257 res = loader->generateKeyPair(ED25519, &outPrivKey, &outPubKey); in HWTEST_F()
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
H A Dalg_defs.h42 ED25519 = 0, enumerator
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
H A Dpub_key_exchange.c239 Algorithm alg = ED25519; in ExportSelfPubKey()
377 res = GetLoaderInstance()->agreeSharedSecretWithStorage(&selfKeyParams, &peerKeyBuff, ED25519, in ComputeAndSavePskInner()
440 res = GetLoaderInstance()->importPublicKey(&keyParams, &params->pkPeer, ED25519, &exInfo); in SavePeerPubKey()
/base/security/device_auth/services/identity_manager/src/
H A Dcredential_operator.c559 &selfKeyParams, &peerKeyBuff, ED25519, PAKE_PSK_LEN, &sharedKeyAlias); in ComputeAndSavePsk()
657 res = GetLoaderInstance()->importPublicKey(&keyParams, param->publicKey, ED25519, &exInfo); in ImportCredential()
H A Didentity_p2p.c240 &selfKeyParams, &peerKeyBuff, ED25519, PAKE_PSK_LEN, sharedKeyAlias); in ComputeAndSaveDirectAuthPsk()
H A Didentity_group.c719 &selfKeyAliasParams, &peerKeyBuff, ED25519, PAKE_PSK_LEN, sharedKeyAlias); in ComputeAndSavePsk()

Completed in 10 milliseconds