summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/backend/fuzzing/asymmetric.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/crypto/backend/fuzzing/asymmetric.rs')
-rw-r--r--openpgp/src/crypto/backend/fuzzing/asymmetric.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/openpgp/src/crypto/backend/fuzzing/asymmetric.rs b/openpgp/src/crypto/backend/fuzzing/asymmetric.rs
index 797795e9..025c856f 100644
--- a/openpgp/src/crypto/backend/fuzzing/asymmetric.rs
+++ b/openpgp/src/crypto/backend/fuzzing/asymmetric.rs
@@ -163,7 +163,11 @@ impl<R> Key4<SecretParts, R>
/// EdDSA or ECDSA key is generated. Giving `for_signing == true` and
/// `curve == Cv25519` will produce an error. Likewise
/// `for_signing == false` and `curve == Ed25519` will produce an error.
- pub fn generate_ecc(for_signing: bool, curve: Curve) -> Result<Self> {
+ pub(crate) fn generate_ecc_backend(for_signing: bool, curve: Curve)
+ -> Result<(PublicKeyAlgorithm,
+ mpi::PublicKey,
+ mpi::SecretKeyMaterial)>
+ {
Err(Error::InvalidOperation("not implemented".into()).into())
}
}