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 D | pake_protocol_ec_common.c | 91 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 D | alg_defs.h | 43 X25519 = 1, enumerator
|
/base/security/device_auth/services/mk_agree/src/ |
H A D | key_manager.c | 184 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 D | ec_speke_protocol.c | 32 // 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 D | deviceauth_interface_test.cpp | 1431 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 D | huks_adapter.c | 1146 if (algo != X25519 && algo != P256) { in HashToPoint()
|
Completed in 9 milliseconds