| /base/security/crypto_framework/frameworks/key/ |
| D | asy_key_generator.c | 64 HcfAsyKeyParamsSpec *paramsSpec; member 135 static bool IsDsaCommParamsSpecValid(HcfDsaCommParamsSpec *paramsSpec) in IsDsaCommParamsSpecValid() 152 static bool IsDsaPubKeySpecValid(HcfDsaPubKeyParamsSpec *paramsSpec) in IsDsaPubKeySpecValid() 164 static bool IsDsaKeyPairSpecValid(HcfDsaKeyPairParamsSpec *paramsSpec) in IsDsaKeyPairSpecValid() 180 static bool IsDsaParamsSpecValid(const HcfAsyKeyParamsSpec *paramsSpec) in IsDsaParamsSpecValid() 200 static bool IsDhCommParamsSpecValid(HcfDhCommParamsSpec *paramsSpec) in IsDhCommParamsSpecValid() 213 static bool IsDhPriKeySpecValid(HcfDhPriKeyParamsSpec *paramsSpec) in IsDhPriKeySpecValid() 225 static bool IsDhPubKeySpecValid(HcfDhPubKeyParamsSpec *paramsSpec) in IsDhPubKeySpecValid() 237 static bool IsDhKeyPairSpecValid(HcfDhKeyPairParamsSpec *paramsSpec) in IsDhKeyPairSpecValid() 253 static bool IsDhParamsSpecValid(const HcfAsyKeyParamsSpec *paramsSpec) in IsDhParamsSpecValid() [all …]
|
| /base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
| D | dh_asy_key_generator_openssl.c | 643 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 …]
|
| D | dsa_asy_key_generator_openssl.c | 566 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 …]
|
| D | alg_25519_asy_key_generator_openssl.c | 824 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()
|
| D | rsa_asy_key_generator_openssl.c | 1191 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/ |
| D | ecc_key_util_spi.h | 26 HcfEccCommParamsSpec paramsSpec; member
|
| D | dh_key_util_spi.h | 26 HcfDhCommParamsSpec paramsSpec; member
|
| /base/security/crypto_framework/frameworks/cj/src/ |
| D | kdf_impl.cpp | 36 int32_t KdfImpl::GenerateSecret(HcfKdfParamsSpec *paramsSpec) in GenerateSecret()
|
| D | crypto_ffi.cpp | 399 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/ |
| D | crypto_ed25519_asy_key_generator_by_spec_test.cpp | 491 HcfAsyKeyParamsSpec *paramsSpec = nullptr; variable 520 HcfAsyKeyParamsSpec *paramsSpec = nullptr; variable 549 HcfAsyKeyParamsSpec *paramsSpec = nullptr; variable
|
| D | crypto_x25519_asy_key_generator_by_spec_test.cpp | 432 HcfAsyKeyParamsSpec *paramsSpec = nullptr; variable
|
| /base/security/crypto_framework/frameworks/crypto_operation/ |
| D | kdf.c | 127 static HcfResult GenerateSecret(HcfKdf *self, HcfKdfParamsSpec *paramsSpec) in GenerateSecret()
|
| /base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/kdf/src/ |
| D | pbkdf2_openssl.c | 203 static HcfResult EngineGenerateSecret(HcfKdfSpi *self, HcfKdfParamsSpec *paramsSpec) in EngineGenerateSecret()
|
| D | hkdf_openssl.c | 281 static HcfResult EngineGenerateSecret(HcfKdfSpi *self, HcfKdfParamsSpec *paramsSpec) in EngineGenerateSecret()
|
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_kdf.cpp | 44 HcfKdfParamsSpec *paramsSpec = nullptr; member 541 static napi_value NewKdfJsGenSecretSyncWork(napi_env env, HcfKdfParamsSpec *paramsSpec) in NewKdfJsGenSecretSyncWork() 585 HcfKdfParamsSpec *paramsSpec = nullptr; in JsKdfGenerateSecretSync() local
|
| D | napi_cipher.cpp | 45 HcfParamsSpec *paramsSpec = nullptr; member 56 static void FreeParamsSpec(HcfParamsSpec *paramsSpec) in FreeParamsSpec() 539 HcfParamsSpec *paramsSpec) in SyncInit() 587 HcfParamsSpec *paramsSpec = nullptr; in JsCipherInitSync() local
|
| D | napi_utils.cpp | 366 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()
|