Home
last modified time | relevance | path

Searched refs:X25519 (Results 1 - 6 of 6) sorted by relevance

/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_ec_common/
H A Dpake_protocol_ec_common.c91 Algorithm alg = (params->curveType == CURVE_256) ? P256 : X25519; in GenerateEcPakeParams()
124 Algorithm alg = (params->curveType == CURVE_256) ? P256 : X25519; in AgreeEcSharedSecret()
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
H A Dalg_defs.h43 X25519 = 1, enumerator
/base/security/device_auth/services/mk_agree/src/
H A Dkey_manager.c184 res = GetLoaderInstance()->generateKeyPairWithStorage(&keyParams, PAKE_X25519_KEY_PAIR_LEN, X25519, in GenerateDeviceKeyPair()
216 res = GetLoaderInstance()->agreeSharedSecretWithStorage(&selfKeyParams, &peerKeyBuff, X25519, in GenerateMk()
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
H A Dec_speke_protocol.c32 // X25519 define
229 algo = X25519; in EcSpekeCalBase()
287 algo = X25519; in EcSpekeCalEpkSelf()
317 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CheckEpkPeerValid()
329 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CalP()
/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_interface_test.cpp1431 int32_t res = loader->agreeSharedSecretWithStorage(nullptr, nullptr, X25519, 0, nullptr); in HWTEST_F()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c1146 if (algo != X25519 && algo != P256) { in HashToPoint()

Completed in 9 milliseconds