Home
last modified time | relevance | path

Searched defs:paramsSpec (Results 1 – 17 of 17) sorted by relevance

/base/security/crypto_framework/frameworks/key/
Dasy_key_generator.c64 HcfAsyKeyParamsSpec *paramsSpec; member
134 static bool IsDsaCommParamsSpecValid(HcfDsaCommParamsSpec *paramsSpec) in IsDsaCommParamsSpecValid()
151 static bool IsDsaPubKeySpecValid(HcfDsaPubKeyParamsSpec *paramsSpec) in IsDsaPubKeySpecValid()
163 static bool IsDsaKeyPairSpecValid(HcfDsaKeyPairParamsSpec *paramsSpec) in IsDsaKeyPairSpecValid()
179 static bool IsDsaParamsSpecValid(const HcfAsyKeyParamsSpec *paramsSpec) in IsDsaParamsSpecValid()
199 static bool IsDhCommParamsSpecValid(HcfDhCommParamsSpec *paramsSpec) in IsDhCommParamsSpecValid()
212 static bool IsDhPriKeySpecValid(HcfDhPriKeyParamsSpec *paramsSpec) in IsDhPriKeySpecValid()
224 static bool IsDhPubKeySpecValid(HcfDhPubKeyParamsSpec *paramsSpec) in IsDhPubKeySpecValid()
236 static bool IsDhKeyPairSpecValid(HcfDhKeyPairParamsSpec *paramsSpec) in IsDhKeyPairSpecValid()
252 static bool IsDhParamsSpecValid(const HcfAsyKeyParamsSpec *paramsSpec) in IsDhParamsSpecValid()
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Ddh_asy_key_generator_openssl.c643 static HcfResult ConvertCommSpec2Bn(const HcfDhCommParamsSpec *paramsSpec, BIGNUM **p, BIGNUM **g) in ConvertCommSpec2Bn()
658 static HcfResult CreateOpensslDhKey(const HcfDhCommParamsSpec *paramsSpec, BIGNUM *pk, BIGNUM *sk, … in CreateOpensslDhKey()
702 static HcfResult GenerateOpensslDhKeyByCommSpec(const HcfDhCommParamsSpec *paramsSpec, DH **returnD… in GenerateOpensslDhKeyByCommSpec()
719 static HcfResult GenerateOpensslDhKeyByPubKeySpec(const HcfDhPubKeyParamsSpec *paramsSpec, DH **ret… in GenerateOpensslDhKeyByPubKeySpec()
735 static HcfResult GenerateOpensslDhKeyByPriKeySpec(const HcfDhPriKeyParamsSpec *paramsSpec, DH **ret… in GenerateOpensslDhKeyByPriKeySpec()
751 static HcfResult GenerateOpensslDhKeyByKeyPairSpec(const HcfDhKeyPairParamsSpec *paramsSpec, DH **r… in GenerateOpensslDhKeyByKeyPairSpec()
773 static HcfResult CreateDhKeyPairByCommSpec(const HcfDhCommParamsSpec *paramsSpec, HcfKeyPair **retu… in CreateDhKeyPairByCommSpec()
811 static HcfResult CreateDhPubKeyByKeyPairSpec(const HcfDhKeyPairParamsSpec *paramsSpec, in CreateDhPubKeyByKeyPairSpec()
827 static HcfResult CreateDhPriKeyByKeyPairSpec(const HcfDhKeyPairParamsSpec *paramsSpec, in CreateDhPriKeyByKeyPairSpec()
843 static HcfResult CreateDhKeyPairByKeyPairSpec(const HcfDhKeyPairParamsSpec *paramsSpec, HcfKeyPair … in CreateDhKeyPairByKeyPairSpec()
[all …]
Ddsa_asy_key_generator_openssl.c566 static HcfResult ConvertCommSpec2Bn(const HcfDsaCommParamsSpec *paramsSpec, BIGNUM **p, BIGNUM **q,… in ConvertCommSpec2Bn()
589 static HcfResult CreateOpensslDsaKey(const HcfDsaCommParamsSpec *paramsSpec, BIGNUM *pk, BIGNUM *sk… in CreateOpensslDsaKey()
625 static HcfResult GenerateOpensslDsaKeyByCommSpec(const HcfDsaCommParamsSpec *paramsSpec, DSA **retu… in GenerateOpensslDsaKeyByCommSpec()
641 static HcfResult GenerateOpensslDsaKeyByPubKeySpec(const HcfDsaPubKeyParamsSpec *paramsSpec, DSA **… in GenerateOpensslDsaKeyByPubKeySpec()
656 static HcfResult GenerateOpensslDsaKeyByKeyPairSpec(const HcfDsaKeyPairParamsSpec *paramsSpec, DSA … in GenerateOpensslDsaKeyByKeyPairSpec()
677 static HcfResult CreateDsaKeyPairByCommSpec(const HcfDsaCommParamsSpec *paramsSpec, HcfKeyPair **re… in CreateDsaKeyPairByCommSpec()
711 static HcfResult CreateDsaPubKeyByKeyPairSpec(const HcfDsaKeyPairParamsSpec *paramsSpec, in CreateDsaPubKeyByKeyPairSpec()
725 static HcfResult CreateDsaPriKeyByKeyPairSpec(const HcfDsaKeyPairParamsSpec *paramsSpec, in CreateDsaPriKeyByKeyPairSpec()
739 static HcfResult CreateDsaKeyPairByKeyPairSpec(const HcfDsaKeyPairParamsSpec *paramsSpec, HcfKeyPai… in CreateDsaKeyPairByKeyPairSpec()
762 static HcfResult CreateDsaKeyPairBySpec(const HcfAsyKeyParamsSpec *paramsSpec, HcfKeyPair **returnK… in CreateDsaKeyPairBySpec()
[all …]
Dalg_25519_asy_key_generator_openssl.c824 static HcfResult CreateAlg25519PubKeyByKeyPairSpec(const HcfAlg25519KeyPairParamsSpec *paramsSpec, in CreateAlg25519PubKeyByKeyPairSpec()
840 static HcfResult CreateAlg25519PriKeyByKeyPairSpec(const HcfAlg25519KeyPairParamsSpec *paramsSpec, in CreateAlg25519PriKeyByKeyPairSpec()
856 static HcfResult CreateAlg25519KeyPairByKeyPairSpec(const HcfAlg25519KeyPairParamsSpec *paramsSpec, in CreateAlg25519KeyPairByKeyPairSpec()
883 static HcfResult CreateAlg25519PubKeyByPubKeySpec(const HcfAlg25519PubKeyParamsSpec *paramsSpec, in CreateAlg25519PubKeyByPubKeySpec()
899 static HcfResult CreateAlg25519PriKeyByPriKeySpec(const HcfAlg25519PriKeyParamsSpec *paramsSpec, in CreateAlg25519PriKeyByPriKeySpec()
916 const HcfAsyKeyParamsSpec *paramsSpec, HcfPubKey **returnPubKey) in EngineGenerateAlg25519PubKeyBySpec()
950 const HcfAsyKeyParamsSpec *paramsSpec, HcfPriKey **returnPriKey) in EngineGenerateAlg25519PriKeyBySpec()
984 const HcfAsyKeyParamsSpec *paramsSpec, HcfKeyPair **returnKeyPair) in EngineGenerateAlg25519KeyPairBySpec()
Drsa_asy_key_generator_openssl.c1191 static HcfResult ParseRsaBnFromBin(const HcfAsyKeyParamsSpec *paramsSpec, BIGNUM **n, in ParseRsaBnFromBin()
1226 static RSA *InitRsaStructByBin(const HcfAsyKeyParamsSpec *paramsSpec) in InitRsaStructByBin()
1260 static HcfResult GenerateKeyPairBySpec(const HcfAsyKeyParamsSpec *paramsSpec, HcfKeyPair **keyPair) in GenerateKeyPairBySpec()
1313 static HcfResult GeneratePubKeyBySpec(const HcfAsyKeyParamsSpec *paramsSpec, HcfPubKey **pubKey) in GeneratePubKeyBySpec()
1340 static HcfResult GeneratePriKeyBySpec(const HcfAsyKeyParamsSpec *paramsSpec, HcfPriKey **priKey) in GeneratePriKeyBySpec()
1360 const HcfAsyKeyParamsSpec *paramsSpec, HcfKeyPair **returnKeyPair) in EngineGenerateKeyPairBySpec()
1382 const HcfAsyKeyParamsSpec *paramsSpec, HcfPubKey **returnPubKey) in EngineGeneratePubKeyBySpec()
1404 const HcfAsyKeyParamsSpec *paramsSpec, HcfPriKey **returnPriKey) in EngineGeneratePriKeyBySpec()
/base/security/crypto_framework/frameworks/spi/
Decc_key_util_spi.h26 HcfEccCommParamsSpec paramsSpec; member
Ddh_key_util_spi.h26 HcfDhCommParamsSpec paramsSpec; member
/base/security/crypto_framework/frameworks/cj/src/
Dkdf_impl.cpp36 int32_t KdfImpl::GenerateSecret(HcfKdfParamsSpec *paramsSpec) in GenerateSecret()
Dcrypto_ffi.cpp399 HcfParamsSpec *paramsSpec = reinterpret_cast<HcfParamsSpec *>(ivParamsSpec); in FfiOHOSCipherInitByIv() local
442 HcfParamsSpec *paramsSpec = reinterpret_cast<HcfParamsSpec *>(gcmParamsSpec); in FfiOHOSCipherInitByGcm() local
486 HcfParamsSpec *paramsSpec = reinterpret_cast<HcfParamsSpec *>(ccmParamsSpec); in FfiOHOSCipherInitByCcm() local
508 HcfParamsSpec *paramsSpec = nullptr; in FfiOHOSCipherInitWithOutParams() local
/base/security/crypto_framework/test/unittest/src/
Dcrypto_ed25519_asy_key_generator_by_spec_test.cpp491 HcfAsyKeyParamsSpec *paramsSpec = nullptr; variable
520 HcfAsyKeyParamsSpec *paramsSpec = nullptr; variable
549 HcfAsyKeyParamsSpec *paramsSpec = nullptr; variable
Dcrypto_x25519_asy_key_generator_by_spec_test.cpp432 HcfAsyKeyParamsSpec *paramsSpec = nullptr; variable
/base/security/crypto_framework/frameworks/crypto_operation/
Dkdf.c127 static HcfResult GenerateSecret(HcfKdf *self, HcfKdfParamsSpec *paramsSpec) in GenerateSecret()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/kdf/src/
Dpbkdf2_openssl.c203 static HcfResult EngineGenerateSecret(HcfKdfSpi *self, HcfKdfParamsSpec *paramsSpec) in EngineGenerateSecret()
Dhkdf_openssl.c281 static HcfResult EngineGenerateSecret(HcfKdfSpi *self, HcfKdfParamsSpec *paramsSpec) in EngineGenerateSecret()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_kdf.cpp44 HcfKdfParamsSpec *paramsSpec = nullptr; member
541 static napi_value NewKdfJsGenSecretSyncWork(napi_env env, HcfKdfParamsSpec *paramsSpec) in NewKdfJsGenSecretSyncWork()
585 HcfKdfParamsSpec *paramsSpec = nullptr; in JsKdfGenerateSecretSync() local
Dnapi_cipher.cpp45 HcfParamsSpec *paramsSpec = nullptr; member
56 static void FreeParamsSpec(HcfParamsSpec *paramsSpec) in FreeParamsSpec()
539 HcfParamsSpec *paramsSpec) in SyncInit()
587 HcfParamsSpec *paramsSpec = nullptr; in JsCipherInitSync() local
Dnapi_utils.cpp366 static bool GetIvParamsSpec(napi_env env, napi_value arg, HcfParamsSpec **paramsSpec) in GetIvParamsSpec()
404 …ol GetGcmParamsSpec(napi_env env, napi_value arg, HcfCryptoMode opMode, HcfParamsSpec **paramsSpec) in GetGcmParamsSpec()
460 …ol GetCcmParamsSpec(napi_env env, napi_value arg, HcfCryptoMode opMode, HcfParamsSpec **paramsSpec) in GetCcmParamsSpec()
514 …msSpecFromNapiValue(napi_env env, napi_value arg, HcfCryptoMode opMode, HcfParamsSpec **paramsSpec) in GetParamsSpecFromNapiValue()