Home
last modified time | relevance | path

Searched defs:paramsSpec (Results 1 – 14 of 14) 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.c608 static HcfResult ConvertCommSpec2Bn(const HcfDhCommParamsSpec *paramsSpec, BIGNUM **p, BIGNUM **g) in ConvertCommSpec2Bn()
623 static HcfResult CreateOpensslDhKey(const HcfDhCommParamsSpec *paramsSpec, BIGNUM *pk, BIGNUM *sk, … in CreateOpensslDhKey()
667 static HcfResult GenerateOpensslDhKeyByCommSpec(const HcfDhCommParamsSpec *paramsSpec, DH **returnD… in GenerateOpensslDhKeyByCommSpec()
684 static HcfResult GenerateOpensslDhKeyByPubKeySpec(const HcfDhPubKeyParamsSpec *paramsSpec, DH **ret… in GenerateOpensslDhKeyByPubKeySpec()
700 static HcfResult GenerateOpensslDhKeyByPriKeySpec(const HcfDhPriKeyParamsSpec *paramsSpec, DH **ret… in GenerateOpensslDhKeyByPriKeySpec()
716 static HcfResult GenerateOpensslDhKeyByKeyPairSpec(const HcfDhKeyPairParamsSpec *paramsSpec, DH **r… in GenerateOpensslDhKeyByKeyPairSpec()
738 static HcfResult CreateDhKeyPairByCommSpec(const HcfDhCommParamsSpec *paramsSpec, HcfKeyPair **retu… in CreateDhKeyPairByCommSpec()
776 static HcfResult CreateDhPubKeyByKeyPairSpec(const HcfDhKeyPairParamsSpec *paramsSpec, in CreateDhPubKeyByKeyPairSpec()
792 static HcfResult CreateDhPriKeyByKeyPairSpec(const HcfDhKeyPairParamsSpec *paramsSpec, in CreateDhPriKeyByKeyPairSpec()
808 static HcfResult CreateDhKeyPairByKeyPairSpec(const HcfDhKeyPairParamsSpec *paramsSpec, HcfKeyPair … in CreateDhKeyPairByKeyPairSpec()
[all …]
Ddsa_asy_key_generator_openssl.c530 static HcfResult ConvertCommSpec2Bn(const HcfDsaCommParamsSpec *paramsSpec, BIGNUM **p, BIGNUM **q,… in ConvertCommSpec2Bn()
553 static HcfResult CreateOpensslDsaKey(const HcfDsaCommParamsSpec *paramsSpec, BIGNUM *pk, BIGNUM *sk… in CreateOpensslDsaKey()
589 static HcfResult GenerateOpensslDsaKeyByCommSpec(const HcfDsaCommParamsSpec *paramsSpec, DSA **retu… in GenerateOpensslDsaKeyByCommSpec()
605 static HcfResult GenerateOpensslDsaKeyByPubKeySpec(const HcfDsaPubKeyParamsSpec *paramsSpec, DSA **… in GenerateOpensslDsaKeyByPubKeySpec()
620 static HcfResult GenerateOpensslDsaKeyByKeyPairSpec(const HcfDsaKeyPairParamsSpec *paramsSpec, DSA … in GenerateOpensslDsaKeyByKeyPairSpec()
641 static HcfResult CreateDsaKeyPairByCommSpec(const HcfDsaCommParamsSpec *paramsSpec, HcfKeyPair **re… in CreateDsaKeyPairByCommSpec()
675 static HcfResult CreateDsaPubKeyByKeyPairSpec(const HcfDsaKeyPairParamsSpec *paramsSpec, in CreateDsaPubKeyByKeyPairSpec()
689 static HcfResult CreateDsaPriKeyByKeyPairSpec(const HcfDsaKeyPairParamsSpec *paramsSpec, in CreateDsaPriKeyByKeyPairSpec()
703 static HcfResult CreateDsaKeyPairByKeyPairSpec(const HcfDsaKeyPairParamsSpec *paramsSpec, HcfKeyPai… in CreateDsaKeyPairByKeyPairSpec()
726 static HcfResult CreateDsaKeyPairBySpec(const HcfAsyKeyParamsSpec *paramsSpec, HcfKeyPair **returnK… in CreateDsaKeyPairBySpec()
[all …]
Drsa_asy_key_generator_openssl.c800 static HcfResult ParseRsaBnFromBin(const HcfAsyKeyParamsSpec *paramsSpec, BIGNUM **n, in ParseRsaBnFromBin()
835 static RSA *InitRsaStructByBin(const HcfAsyKeyParamsSpec *paramsSpec) in InitRsaStructByBin()
869 static HcfResult GenerateKeyPairBySpec(const HcfAsyKeyParamsSpec *paramsSpec, HcfKeyPair **keyPair) in GenerateKeyPairBySpec()
922 static HcfResult GeneratePubKeyBySpec(const HcfAsyKeyParamsSpec *paramsSpec, HcfPubKey **pubKey) in GeneratePubKeyBySpec()
949 static HcfResult GeneratePriKeyBySpec(const HcfAsyKeyParamsSpec *paramsSpec, HcfPriKey **priKey) in GeneratePriKeyBySpec()
969 const HcfAsyKeyParamsSpec *paramsSpec, HcfKeyPair **returnKeyPair) in EngineGenerateKeyPairBySpec()
991 const HcfAsyKeyParamsSpec *paramsSpec, HcfPubKey **returnPubKey) in EngineGeneratePubKeyBySpec()
1013 const HcfAsyKeyParamsSpec *paramsSpec, HcfPriKey **returnPriKey) in EngineGeneratePriKeyBySpec()
Dalg_25519_asy_key_generator_openssl.c783 static HcfResult CreateAlg25519PubKeyByKeyPairSpec(const HcfAlg25519KeyPairParamsSpec *paramsSpec, in CreateAlg25519PubKeyByKeyPairSpec()
799 static HcfResult CreateAlg25519PriKeyByKeyPairSpec(const HcfAlg25519KeyPairParamsSpec *paramsSpec, in CreateAlg25519PriKeyByKeyPairSpec()
815 static HcfResult CreateAlg25519KeyPairByKeyPairSpec(const HcfAlg25519KeyPairParamsSpec *paramsSpec, in CreateAlg25519KeyPairByKeyPairSpec()
842 static HcfResult CreateAlg25519PubKeyByPubKeySpec(const HcfAlg25519PubKeyParamsSpec *paramsSpec, in CreateAlg25519PubKeyByPubKeySpec()
858 static HcfResult CreateAlg25519PriKeyByPriKeySpec(const HcfAlg25519PriKeyParamsSpec *paramsSpec, in CreateAlg25519PriKeyByPriKeySpec()
875 const HcfAsyKeyParamsSpec *paramsSpec, HcfPubKey **returnPubKey) in EngineGenerateAlg25519PubKeyBySpec()
909 const HcfAsyKeyParamsSpec *paramsSpec, HcfPriKey **returnPriKey) in EngineGenerateAlg25519PriKeyBySpec()
943 const HcfAsyKeyParamsSpec *paramsSpec, HcfKeyPair **returnKeyPair) in EngineGenerateAlg25519KeyPairBySpec()
/base/security/crypto_framework/frameworks/spi/
Ddh_key_util_spi.h26 HcfDhCommParamsSpec paramsSpec; member
Decc_key_util_spi.h26 HcfEccCommParamsSpec paramsSpec; member
/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.c114 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()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_utils.cpp333 static bool GetIvParamsSpec(napi_env env, napi_value arg, HcfParamsSpec **paramsSpec) in GetIvParamsSpec()
371 …ol GetGcmParamsSpec(napi_env env, napi_value arg, HcfCryptoMode opMode, HcfParamsSpec **paramsSpec) in GetGcmParamsSpec()
427 …ol GetCcmParamsSpec(napi_env env, napi_value arg, HcfCryptoMode opMode, HcfParamsSpec **paramsSpec) in GetCcmParamsSpec()
481 …msSpecFromNapiValue(napi_env env, napi_value arg, HcfCryptoMode opMode, HcfParamsSpec **paramsSpec) in GetParamsSpecFromNapiValue()
Dnapi_cipher.cpp43 HcfParamsSpec *paramsSpec = nullptr; member
54 static void FreeParamsSpec(HcfParamsSpec *paramsSpec) in FreeParamsSpec()
Dnapi_kdf.cpp42 HcfKdfParamsSpec *paramsSpec = nullptr; member