summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattsb42-aws <bullocm@amazon.com>2018-02-14 11:18:54 -0800
committermattsb42-aws <bullocm@amazon.com>2018-02-14 11:18:54 -0800
commit5907ed57cc38b7df3553a8d66b44d7b0625f4d81 (patch)
treebe193696463cdb956693ea92ab5fe54d1fc8038c
parent36b2c64ba3fd6aa0c4835493aa2857ae32fa8533 (diff)
downloadpysnmp-git-5907ed57cc38b7df3553a8d66b44d7b0625f4d81.tar.gz
fixing copy-paste docstring typo in AES module
-rw-r--r--pysnmp/crypto/aes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/crypto/aes.py b/pysnmp/crypto/aes.py
index 5ad397cc..20e91e7f 100644
--- a/pysnmp/crypto/aes.py
+++ b/pysnmp/crypto/aes.py
@@ -17,7 +17,7 @@ def _cryptodome_cipher(key, iv):
:param bytes key: Encryption key
:param bytes IV: Initialization vector
- :returns: DES3 Cipher instance
+ :returns: AES Cipher instance
"""
return AES.new(key, AES.MODE_CFB, iv, segment_size=128)
@@ -27,7 +27,7 @@ def _cryptography_cipher(key, iv):
:param bytes key: Encryption key
:param bytes IV: Initialization vector
- :returns: TripleDES Cipher instance
+ :returns: AES Cipher instance
:rtype: cryptography.hazmat.primitives.ciphers.Cipher
"""
return Cipher(