/base/update/sys_installer_lite/frameworks/source/verify/ |
D | app_rsa.c | 22 void AppRsaInit(AppRsaContext *rsa) in AppRsaInit() 31 int32 AppRsaDecodePublicKey(AppRsaContext *rsa, const uint8 *publicKey, uint32 length) in AppRsaDecodePublicKey() 45 int32 AppVerifyData(AppRsaContext *rsa, const uint8 *plainBuf, uint32 plainBufLen, const uint8 *cip… in AppVerifyData() 71 void AppRsaFree(AppRsaContext *rsa) in AppRsaFree()
|
D | hota_verify.c | 105 AppRsaContext rsa; in HotaSignVerifyByHash() local
|
/base/security/crypto_framework/plugin/openssl_plugin/common/src/ |
D | rsa_openssl_common.c | 20 HcfResult DuplicateRsa(RSA *rsa, bool needPrivate, RSA **dupRsa) in DuplicateRsa() 41 EVP_PKEY *NewEvpPkeyByRsa(RSA *rsa, bool withDuplicate) in NewEvpPkeyByRsa()
|
D | openssl_adapter.c | 539 void Openssl_RSA_free(RSA *rsa) in Openssl_RSA_free() 544 int Openssl_RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes, in Openssl_RSA_generate_multi_prime_key() 550 int Openssl_RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb) in Openssl_RSA_generate_key_ex() 555 int Openssl_RSA_bits(const RSA *rsa) in Openssl_RSA_bits() 590 RSA *Openssl_RSAPublicKey_dup(RSA *rsa) in Openssl_RSAPublicKey_dup() 595 RSA *Openssl_RSAPrivateKey_dup(RSA *rsa) in Openssl_RSAPrivateKey_dup()
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
D | openssl_rsa_helper.c | 75 RSA *rsa = RSA_new(); in GenerateRsaKey() local 133 const RSA *rsa = EVP_PKEY_get0_RSA(pkey); in X509ToRsaPublicKey() local 192 RSA *rsa = RSA_new(); in InitRsa() local 239 RSA *rsa = InitRsa(key, false); in EncryptRsa() local 287 RSA *rsa = InitRsa(key, true); in DecryptRsa() local 342 RSA *rsa = InitRsa(key, true); in InitRsaCtx() local 425 RSA *rsa = InitRsa(key, true); in OpensslSignRsa() local 488 RSA *rsa = InitRsa(key, false); in OpensslVerifyRsa() local
|
/base/security/huks/frameworks/crypto_lite/cipher/src/ |
D | cipher_rsa.c | 131 mbedtls_rsa_context *rsa = NULL; in RsaLoadPrivateKey() local 179 mbedtls_rsa_context *rsa = NULL; in RsaLoadPublicKey() local 260 static int32_t RsaEncryptMultipleBlock(mbedtls_rsa_context *rsa, const char *plainText, in RsaEncryptMultipleBlock() 333 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(pk); in RsaEncrypt() local 383 static int32_t RsaPkcs1Decrypt(mbedtls_rsa_context *rsa, size_t rsaLen, RsaData *cipher, RsaData *p… in RsaPkcs1Decrypt() 456 mbedtls_rsa_context *rsa = mbedtls_pk_rsa(pk); in RsaDecrypt() local
|
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
D | rsa_asy_key_generator_openssl.c | 325 static HcfResult ConvertPubKeyFromX509(HcfBlob *x509Blob, RSA **rsa) in ConvertPubKeyFromX509() 337 static HcfResult ConvertPriKeyFromPKCS8(HcfBlob *pkcs8Blob, RSA **rsa) in ConvertPriKeyFromPKCS8() 358 static HcfResult EncodePubKeyToX509(RSA *rsa, HcfBlob *returnBlob) in EncodePubKeyToX509() 372 static HcfResult EncodePriKeyToPKCS8(RSA *rsa, HcfBlob *returnBlob) in EncodePriKeyToPKCS8() 554 static HcfResult DuplicatePkAndSkFromRSA(RSA *rsa, RSA **pubKey, RSA **priKey) in DuplicatePkAndSkFromRSA() 573 static HcfResult PackKeyPair(RSA *rsa, uint32_t realBits, HcfOpensslRsaKeyPair **retKeyPair) in PackKeyPair() 628 RSA *rsa = Openssl_RSA_new(); in GenerateKeyPair() local 835 RSA *rsa = NULL; in InitRsaStructByBin() local 867 RSA *rsa = InitRsaStructByBin(paramsSpec); in GenerateKeyPairBySpec() local 919 RSA *rsa = InitRsaStructByBin(paramsSpec); in GeneratePubKeyBySpec() local [all …]
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_rsa.c | 127 RSA *rsa = NULL; in InitRsaStruct() local 156 static int32_t RsaSaveKeyMaterial(const RSA *rsa, const uint32_t keySize, struct HksBlob *key) in RsaSaveKeyMaterial() 455 RSA *rsa = InitRsaStruct(key, signing); in InitRsaEvpKey() local
|
/base/update/sys_installer_lite/frameworks/test/unittest/common/src/ |
D | ota_test.cpp | 415 AppRsaContext rsa; variable 432 AppRsaContext rsa; variable
|
/base/update/updater/services/package/pkg_algorithm/ |
D | pkg_algo_sign.cpp | 54 RSA *rsa = PEM_read_bio_RSAPrivateKey(in, nullptr, nullptr, nullptr); in SignBuffer() local
|
D | pkg_algo_sign.h | 39 RSA *rsa; member
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_app_cert_process.c | 134 static int32_t SaveKeyMaterialRsa(const RSA *rsa, const uint32_t keySize, struct CmBlob *keyOut) in SaveKeyMaterialRsa() 233 const RSA *rsa = EVP_PKEY_get0_RSA((EVP_PKEY *)priKey); in ImportRsaKey() local
|
/base/security/crypto_framework/test/unittest/src/ |
D | openssl_adapter_mock.c | 854 void Openssl_RSA_free(RSA *rsa) in Openssl_RSA_free() 859 int Openssl_RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes, in Openssl_RSA_generate_multi_prime_key() 865 int Openssl_RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb) in Openssl_RSA_generate_key_ex() 870 int Openssl_RSA_bits(const RSA *rsa) in Openssl_RSA_bits() 905 RSA *Openssl_RSAPublicKey_dup(RSA *rsa) in Openssl_RSAPublicKey_dup() 910 RSA *Openssl_RSAPrivateKey_dup(RSA *rsa) in Openssl_RSAPrivateKey_dup()
|
D | crypto_common_cov_test.cpp | 235 RSA *rsa = Openssl_RSA_new(); variable
|
/base/security/huks/utils/crypto_adapter/ |
D | hks_client_service_adapter.c | 82 RSA *rsa = NULL; in RsaToX509PublicKey() local 564 const RSA *rsa = EVP_PKEY_get0_RSA(pkey); in X509PublicKeyToRsa() local
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/ |
D | cipher_rsa_openssl.c | 117 RSA *rsa = NULL; in InitEvpPkeyCtx() local
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/ |
D | signature_rsa_openssl.c | 137 RSA *rsa = NULL; in InitRsaEvpKey() local
|