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
113 typedef int32_t (*HashToPointFunc)(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint);
116 Algorithm algo, uint32_t sharedKeyLen, const Uint8Buff *sharedKeyAlias);
118 …32_t (*AgreeSharedSecretFunc)(const KeyParams *priKeyParams, const KeyBuff *pubKey, Algorithm algo,
124 …32_t (*GenerateKeyPairWithStorageFunc)(const KeyParams *keyParams, uint32_t keyLen, Algorithm algo,
127 typedef int32_t (*GenerateKeyPairFunc)(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey);
131 typedef int32_t (*SignFunc)(const KeyParams *keyParams, const Uint8Buff *message, Algorithm algo,
134 typedef int32_t (*VerifyFunc)(const KeyParams *keyParams, const Uint8Buff *message, Algorithm algo,
137 …int32_t (*ImportPublicKeyFunc)(const KeyParams *keyParams, const Uint8Buff *pubKey, Algorithm algo,
140 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/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/deps_adapter/key_management_adapter/impl/src/
Dhuks_adapter.c1138 static int32_t HashToPoint(const Uint8Buff *hash, Algorithm algo, Uint8Buff *outEcPoint) in HashToPoint()
1265 …2_t ConstructAgreeWithStorageParams(struct HksParamSet **paramSet, uint32_t keyLen, Algorithm algo, in ConstructAgreeWithStorageParams()
1329 Algorithm algo, uint32_t sharedKeyLen, const Uint8Buff *sharedKeyAlias) in AgreeSharedSecretWithStorage()
1398 static int32_t ConstructAgreeParamSet(const KeyParams *keyParams, Algorithm algo, const Uint8Buff *… in ConstructAgreeParamSet()
1423 static int32_t AgreeSharedSecret(const KeyParams *priKeyParams, const KeyBuff *pubKey, Algorithm al… in AgreeSharedSecret()
1504 static int32_t ConstructGenerateKeyPairWithStorageParams(struct HksParamSet **paramSet, Algorithm a… in ConstructGenerateKeyPairWithStorageParams()
1549 static int32_t GenerateKeyPairWithStorage(const KeyParams *keyParams, uint32_t keyLen, Algorithm al… in GenerateKeyPairWithStorage()
1617 static int32_t ConstructGenerateKeyPairParams(struct HksParamSet **paramSet, Algorithm algo, uint32… in ConstructGenerateKeyPairParams()
1643 static int32_t GenerateKeyPair(Algorithm algo, Uint8Buff *outPriKey, Uint8Buff *outPubKey) in GenerateKeyPair()
1776 Algorithm algo) in ConstructSignParams()
[all …]
/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
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/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Dec_speke_protocol.c217 Algorithm algo; in EcSpekeCalBase()
274 Algorithm algo; in EcSpekeCalEpkSelf()
309 Algorithm algo = (params->curveType == CURVE_TYPE_256) ? P256 : X25519; in CheckEpkPeerValid()
321 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_unrelated/creds_manager/
Ddas_standard_token_manager.c299 Algorithm alg = (params->baseParams.curveType == CURVE_256) ? P256 : ED25519; in ComputeAndSavePskInner()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dpub_key_exchange.c239 Algorithm alg = ED25519; in ExportSelfPubKey()
/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/
Dasy_token_manager.c409 Algorithm alg) in ImportServerPk()