/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_dsa.c | 49 static int InitDsaStructKey(const struct HksBlob *key, const bool needPrivateExponent, DSA *dsa, ui… in InitDsaStructKey() 90 …uctParameter(const struct HksBlob *key, const bool needPrivateExponent, DSA *dsa, uint32_t* offset) in InitDsaStructParameter() 135 DSA *dsa = DSA_new(); in InitDsaStruct() local 186 static int32_t DsaKeyMaterialParam(uint8_t *rawMaterial, const DSA *dsa, uint32_t keyLen) in DsaKeyMaterialParam() 200 static int32_t DsaKeyMaterialData(uint8_t *rawMaterial, const DSA *dsa) in DsaKeyMaterialData() 243 static int32_t DsaSaveKeyMaterial(const DSA *dsa, const uint32_t keySize, uint8_t **output, uint32_… in DsaSaveKeyMaterial() 273 DSA *dsa = DSA_new(); in HksOpensslDsaGenerateKey() local 347 DSA *dsa = InitDsaStruct(key, signing); in InitDSACtx() local
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | openssl_dsa_helper.c | 33 DSA *dsa = DSA_new(); in GenerateDsaKey() local 104 DSA *dsa = NULL; in InitDsa() local 212 DSA *dsa = InitDsa(key, false); in OpensslVerifyDsa() local 269 const DSA *dsa = EVP_PKEY_get0_DSA(pkey); in X509ToDsaPublicKey() local 342 const DSA *dsa = EVP_PKEY_get0_DSA(pkey); in SaveDsaKeyToHksBlob() local
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
H A D | dsa_asy_key_generator_openssl.c | 597 DSA *dsa = OpensslDsaNew(); in CreateOpensslDsaKey() local 679 DSA *dsa = NULL; in CreateDsaKeyPairByCommSpec() local 714 DSA *dsa = NULL; in CreateDsaPubKeyByKeyPairSpec() local 728 DSA *dsa = NULL; in CreateDsaPriKeyByKeyPairSpec() local 773 DSA *dsa = NULL; in CreateDsaPubKeyByPubKeySpec() local 790 DSA *dsa = OpensslD2iDsaPubKey(NULL, &tmpData, pubKeyBlob->len); in ConvertDsaPubKey() local 807 DSA *dsa = OpensslD2iDsaPrivateKey(NULL, &tmpData, priKeyBlob->len); in ConvertDsaPriKey() local
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/ |
H A D | openssl_adapter_mock.c | 923 void OpensslDsaFree(DSA *dsa) in OpensslDsaFree() 930 int OpensslDsaUpRef(DSA *dsa) in OpensslDsaUpRef() 938 int OpensslDsaSet0Pqg(DSA *dsa, BIGNUM *p, BIGNUM *q, BIGNUM *g) in OpensslDsaSet0Pqg() 946 int OpensslDsaSet0Key(DSA *dsa, BIGNUM *pubKey, BIGNUM *priKey) in OpensslDsaSet0Key() 954 const BIGNUM *OpensslDsaGet0P(const DSA *dsa) in OpensslDsaGet0P() 962 const BIGNUM *OpensslDsaGet0Q(const DSA *dsa) in OpensslDsaGet0Q() 970 const BIGNUM *OpensslDsaGet0G(const DSA *dsa) in OpensslDsaGet0G() 978 const BIGNUM *OpensslDsaGet0PubKey(const DSA *dsa) in OpensslDsaGet0PubKey() 986 const BIGNUM *OpensslDsaGet0PrivKey(const DSA *dsa) in OpensslDsaGet0PrivKey() 1018 int OpensslI2dDsaPubkey(DSA *dsa, unsigned char **ppout) in OpensslI2dDsaPubkey() [all …]
|
/ohos5.0/base/security/huks/utils/crypto_adapter/ |
H A D | hks_client_service_adapter.c | 241 DSA *dsa = NULL; in DsaToX509PublicKey() local 623 static int32_t GetDsaKeyInfo(const DSA *dsa, const BIGNUM **info, uint32_t *infoSize, GetDsaInfoFun… in GetDsaKeyInfo() 639 const DSA *dsa = EVP_PKEY_get0_DSA(pkey); in X509PublicKeyToDsa() local
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/ |
H A D | openssl_adapter.c | 581 void OpensslDsaFree(DSA *dsa) in OpensslDsaFree() 586 int OpensslDsaUpRef(DSA *dsa) in OpensslDsaUpRef() 591 int OpensslDsaSet0Pqg(DSA *dsa, BIGNUM *p, BIGNUM *q, BIGNUM *g) in OpensslDsaSet0Pqg() 596 int OpensslDsaSet0Key(DSA *dsa, BIGNUM *pubKey, BIGNUM *priKey) in OpensslDsaSet0Key() 601 const BIGNUM *OpensslDsaGet0P(const DSA *dsa) in OpensslDsaGet0P() 606 const BIGNUM *OpensslDsaGet0Q(const DSA *dsa) in OpensslDsaGet0Q() 611 const BIGNUM *OpensslDsaGet0G(const DSA *dsa) in OpensslDsaGet0G() 616 const BIGNUM *OpensslDsaGet0PubKey(const DSA *dsa) in OpensslDsaGet0PubKey() 621 const BIGNUM *OpensslDsaGet0PrivKey(const DSA *dsa) in OpensslDsaGet0PrivKey() 641 int OpensslI2dDsaPubkey(DSA *dsa, unsigned char **ppout) in OpensslI2dDsaPubkey() [all …]
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/ |
H A D | dsa_openssl.c | 173 DSA *dsa = isSign ? ((HcfOpensslDsaPriKey *)key)->sk : ((HcfOpensslDsaPubKey *)key)->pk; in CreateDsaEvpKeyByDsa() local
|