Home
last modified time | relevance | path

Searched refs:Algorithm (Results 1 – 11 of 11) sorted by relevance

/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
Dalg_defs.h46 } Algorithm; typedef
99 typedef int32_t (*HashToPointFunc)(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint);
101 …t (*AgreeSharedSecretWithStorageFunc)(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo,
104 typedef int32_t (*AgreeSharedSecretFunc)(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm al…
110 …t32_t (*GenerateKeyPairWithStorageFunc)(const Uint8Buff *keyAlias, uint32_t keyLen, Algorithm algo,
113 typedef int32_t (*GenerateKeyPairFunc)(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey);
117 typedef int32_t (*SignFunc)(const Uint8Buff *keyAlias, const Uint8Buff *message, Algorithm algo,
120 typedef int32_t (*VerifyFunc)(const Uint8Buff *key, const Uint8Buff *message, Algorithm algo,
123 … int32_t (*ImportPublicKeyFunc)(const Uint8Buff *keyAlias, const Uint8Buff *pubKey, Algorithm algo,
126 typedef bool (*CheckEcPublicKeyFunc)(const Uint8Buff *pubKey, Algorithm algo);
/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_ec_common/
Dpake_protocol_ec_common.c91 Algorithm alg = (params->curveType == CURVE_256) ? P256 : X25519; in GenerateEcPakeParams()
121 Algorithm alg = (params->curveType == CURVE_256) ? P256 : X25519; in AgreeEcSharedSecret()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
Dhuks_adapter.c416 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
541 …2_t ConstructAgreeWithStorageParams(struct HksParamSet **paramSet, uint32_t keyLen, Algorithm algo, in ConstructAgreeWithStorageParams()
584 static int32_t AgreeSharedSecretWithStorage(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm in AgreeSharedSecretWithStorage()
622 static int32_t AgreeSharedSecret(const KeyBuff *priKey, const KeyBuff *pubKey, Algorithm algo, Uint… in AgreeSharedSecret()
722 static int32_t ConstructGenerateKeyPairWithStorageParams(struct HksParamSet **paramSet, Algorithm a… in ConstructGenerateKeyPairWithStorageParams()
755 static int32_t GenerateKeyPairWithStorage(const Uint8Buff *keyAlias, uint32_t keyLen, Algorithm alg… in GenerateKeyPairWithStorage()
824 static int32_t ConstructGenerateKeyPairParams(struct HksParamSet **paramSet, Algorithm algo, uint32… in ConstructGenerateKeyPairParams()
850 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
927 static int32_t ConstructSignParams(struct HksParamSet **paramSet, Algorithm algo) in ConstructSignParams()
950 static int32_t Sign(const Uint8Buff *keyAlias, const Uint8Buff *message, Algorithm algo, in Sign()
[all …]
/base/security/device_auth/services/identity_manager/inc/
Didentity_defines.h98 Algorithm signAlg;
/base/security/certificate_framework/
DREADME-en.md19 - Algorithm library adaptation layer: calls specific APIs of the OpenSSL or Mbed TLS algorithm li…
30 │ ├── adapter # Algorithm library adaptation layer
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
Dcommon_standard_bind_exchange.c97 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in PackageAuthInfo()
181 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in GenerateSignInfo()
347 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in VerifySignInfo()
377 Algorithm alg = (pakeParams->baseParams.curveType == CURVE_256) ? P256 : ED25519; in SaveAuthInfo()
Ddas_standard_token_manager.c170 Algorithm alg = (params->baseParams.curveType == CURVE_256) ? P256 : ED25519; in ComputeAndSavePsk()
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Dec_speke_protocol.c215 Algorithm algo; in EcSpekeCalBase()
272 Algorithm algo; in EcSpekeCalEpkSelf()
307 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CheckEpkPeerValid()
319 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CalP()
/base/startup/hvb/tools/
Dhvbtool.py52 class Algorithm(object): class
677 ALGORITHMS = {'SHA256_RSA3072': Algorithm(
685 'SHA256_RSA4096': Algorithm(
693 'SHA256_RSA2048': Algorithm(
/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/
Dasy_token_manager.c408 …nt32_t ImportServerPk(const CJson *credJson, Uint8Buff *keyAlias, uint8_t *serverPk, Algorithm alg) in ImportServerPk()
427 Uint8Buff *keyAlias, Algorithm alg) in VerifyPkInfoSignature()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dpub_key_exchange.c204 Algorithm alg = ED25519; in ExportSelfPubKey()