Home
last modified time | relevance | path

Searched refs:getAsyKeySpecBigInteger (Results 1 – 13 of 13) sorted by relevance

/base/security/crypto_framework/interfaces/innerkits/key/
Dpub_key.h27 HcfResult (*getAsyKeySpecBigInteger)(const HcfPubKey *self, const AsyKeySpecItem item, member
Dpri_key.h27 HcfResult (*getAsyKeySpecBigInteger)(const HcfPriKey *self, const AsyKeySpecItem item, member
/base/security/crypto_framework/test/unittest/src/
Dcrypto_dsa_asy_key_generator_by_spec_test.cpp594 ret = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, DSA_P_BN, &p);
616 ret = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, DSA_Q_BN, &q);
638 ret = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, DSA_G_BN, &g);
660 ret = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, DSA_PK_BN, &pk);
778 ret = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, DSA_P_BN, &p);
800 ret = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, DSA_Q_BN, &q);
822 ret = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, DSA_G_BN, &g);
844 ret = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, DSA_SK_BN, &sk);
1003 ret = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, DSA_P_BN, &p);
1026 ret = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, DSA_Q_BN, &q);
[all …]
Dcrypto_ecc_asy_key_generator_by_spec_test.cpp3821 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, item, &retBigInt);
3852 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, item, &retBigInt);
3883 res = pubKey->getAsyKeySpecBigInteger(pubKey, item, &retBigInt);
3914 res = priKey->getAsyKeySpecBigInteger(priKey, item, &retBigInt);
3945 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, item, &retBigInt);
3976 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, item, &retBigInt);
4007 res = pubKey->getAsyKeySpecBigInteger(pubKey, item, &retBigInt);
4038 res = priKey->getAsyKeySpecBigInteger(priKey, item, &retBigInt);
4070 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, item, &retBigInt);
4101 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, item, &retBigInt);
[all …]
Dcrypto_dsa_asy_key_generator_test.cpp418 …HcfResult ret = dsa2048KeyPair_->pubKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->pubKey, DSA_P_BN…
429 …HcfResult ret = dsa2048KeyPair_->pubKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->pubKey, DSA_Q_BN…
440 …HcfResult ret = dsa2048KeyPair_->pubKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->pubKey, DSA_G_BN…
451 …HcfResult ret = dsa2048KeyPair_->pubKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->pubKey, DSA_PK_B…
527 …HcfResult ret = dsa2048KeyPair_->priKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->priKey, DSA_P_BN…
538 …HcfResult ret = dsa2048KeyPair_->priKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->priKey, DSA_Q_BN…
549 …HcfResult ret = dsa2048KeyPair_->priKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->priKey, DSA_G_BN…
560 …HcfResult ret = dsa2048KeyPair_->priKey->getAsyKeySpecBigInteger(dsa2048KeyPair_->priKey, DSA_SK_B…
839 ret = convertKeyPair->pubKey->getAsyKeySpecBigInteger(convertKeyPair->pubKey, DSA_P_BN, &p);
866 ret = convertKeyPair->pubKey->getAsyKeySpecBigInteger(convertKeyPair->pubKey, DSA_Q_BN, &q);
[all …]
Dcrypto_rsa_asy_key_generator_by_spec_test.cpp1279 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, RSA_N_BN, &n);
1311 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, RSA_PK_BN, &e);
1479 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, RSA_N_BN, &n);
1512 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, RSA_SK_BN, &d);
1671 res = pubKey->getAsyKeySpecBigInteger(pubKey, RSA_N_BN, &n);
1703 res = pubKey->getAsyKeySpecBigInteger(pubKey, RSA_PK_BN, &e);
1864 res = priKey->getAsyKeySpecBigInteger(priKey, RSA_N_BN, &n);
1896 res = priKey->getAsyKeySpecBigInteger(priKey, RSA_SK_BN, &d);
2045 res = pubKey->getAsyKeySpecBigInteger(pubKey, RSA_N_BN, &n);
2075 res = pubKey->getAsyKeySpecBigInteger(pubKey, RSA_PK_BN, &e);
[all …]
Dcrypto_rsa_asy_key_generator_by_spec_cov_test.cpp600 res = keyPair->pubKey->getAsyKeySpecBigInteger(nullptr, RSA_N_BN, nullptr);
624 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, RSA_N_BN, nullptr);
649 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, RSA_SK_BN, &retN);
675 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, RSA_PK_BN, &retN);
701 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, RSA_PK_BN, nullptr);
727 res = keyPair->priKey->getAsyKeySpecBigInteger(nullptr, RSA_PK_BN, &retN);
761 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPairEcc->priKey, RSA_PK_BN, &retN);
799 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPairEcc->pubKey, RSA_SK_BN, &retN);
Dcrypto_rsa_asy_key_generator_test.cpp1228 res = priKey->getAsyKeySpecBigInteger(priKey, RSA_N_BN, &returnPriN);
1230 res = priKey->getAsyKeySpecBigInteger(priKey, RSA_SK_BN, &returnD);
1232 res = pubKey->getAsyKeySpecBigInteger(pubKey, RSA_N_BN, &returnPubN);
1234 res = pubKey->getAsyKeySpecBigInteger(pubKey, RSA_PK_BN, &returnE);
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_pub_key.cpp100 HcfResult res = pubKey->getAsyKeySpecBigInteger(pubKey, item, &returnBigInteger); in GetAsyKeySpecBigInt()
Dnapi_pri_key.cpp123 HcfResult res = priKey->getAsyKeySpecBigInteger(priKey, item, &returnBigInteger); in GetAsyKeySpecBigInt()
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Ddsa_asy_key_generator_openssl.c407 pk->base.getAsyKeySpecBigInteger = GetBigIntegerSpecFromDsaPubKey; in FillOpensslDsaPubKeyFunc()
419 sk->base.getAsyKeySpecBigInteger = GetBigIntegerSpecFromDsaPriKey; in FillOpensslDsaPriKeyFunc()
Drsa_asy_key_generator_openssl.c522 (*retPubKey)->base.getAsyKeySpecBigInteger = GetRsaPubKeySpecBigInteger; in PackPubKey()
548 (*retPriKey)->base.getAsyKeySpecBigInteger = GetRsaPriKeySpecBigInteger; in PackPriKey()
Decc_asy_key_generator_openssl.c1230 returnPubKey->base.getAsyKeySpecBigInteger = GetECPubKeySpecBigInteger; in PackEccPubKey()
1267 returnPriKey->base.getAsyKeySpecBigInteger = GetECPriKeySpecBigInteger; in PackEccPriKey()