summaryrefslogtreecommitdiff
path: root/lib/Crypto/Cipher
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2013-10-20 17:46:14 -0700
committerDwayne Litzenberger <dlitz@dlitz.net>2013-10-20 17:48:54 -0700
commit7bb217aedd421fc89120baf98b719bf49c4f5fb7 (patch)
treea48788bf16521a2b9331b4847f7e681aae38cb99 /lib/Crypto/Cipher
parent141eee1093bc9adbbdc3b3b3e90bde868d46eeec (diff)
downloadpycrypto-7bb217aedd421fc89120baf98b719bf49c4f5fb7.tar.gz
Rename S2V -> _S2V until we come up with a real PRF API
Diffstat (limited to 'lib/Crypto/Cipher')
-rw-r--r--lib/Crypto/Cipher/blockalgo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Crypto/Cipher/blockalgo.py b/lib/Crypto/Cipher/blockalgo.py
index 98e0e00..84b9bc3 100644
--- a/lib/Crypto/Cipher/blockalgo.py
+++ b/lib/Crypto/Cipher/blockalgo.py
@@ -35,7 +35,7 @@ from Crypto.Util.number import long_to_bytes, bytes_to_long
import Crypto.Util.Counter
from Crypto.Hash import CMAC
from Crypto.Hash.CMAC import _SmoothMAC
-from Crypto.Protocol.KDF import S2V
+from Crypto.Protocol.KDF import _S2V
from Crypto.Util import galois
@@ -461,7 +461,7 @@ class BlockAlgo:
# IV is optional
self.nonce = _getParameter('nonce', 1, args, kwargs)
- self._cipherMAC = S2V(key[:subkey_size], ciphermod=factory)
+ self._cipherMAC = _S2V(key[:subkey_size], ciphermod=factory)
self._subkey_ctr = key[subkey_size:]
self._mac_len = factory.block_size