summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2022-05-12 10:44:30 +0200
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2022-05-12 13:32:57 +0200
commita0afd6bffafa208751fc1b736bb4a3f7a2c9bd24 (patch)
tree80dce1ae411d98e2646b8066e7b7a9b4d45aed1d /openpgp/src/crypto
parentb1fdd0e62e12c936206db8aa9b567678a23c4708 (diff)
openpgp: Deprecate `iv_size` in favor of `nonce_size`.
- See #812.
Diffstat (limited to 'openpgp/src/crypto')
-rw-r--r--openpgp/src/crypto/aead.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/crypto/aead.rs b/openpgp/src/crypto/aead.rs
index b225c6be..fc147b41 100644
--- a/openpgp/src/crypto/aead.rs
+++ b/openpgp/src/crypto/aead.rs
@@ -111,6 +111,7 @@ impl AEADAlgorithm {
///
/// This function is deprecated. Please use
/// [`AEADAlgorithm::nonce_size`].
+ #[deprecated = "Use nonce_size"]
pub fn iv_size(&self) -> Result<usize> {
self.nonce_size()
}