diff options
author | Ayrx <terrycwk1994@gmail.com> | 2014-04-16 23:47:36 +0800 |
---|---|---|
committer | Ayrx <terrycwk1994@gmail.com> | 2014-04-16 23:47:36 +0800 |
commit | 6cf29f26989868ca221b3d06526bf750224b7a28 (patch) | |
tree | 8787cbc4ee0311cf373a4e9d035a0c23ff75d8dd /cryptography | |
parent | 04fb2bcbd5084154c799d1c694d1fbeed29d8041 (diff) | |
download | cryptography-6cf29f26989868ca221b3d06526bf750224b7a28.tar.gz cryptography-6cf29f26989868ca221b3d06526bf750224b7a28.tar.bz2 cryptography-6cf29f26989868ca221b3d06526bf750224b7a28.zip |
Changed cmac_supported() to cmac_algorithm_supported()
Diffstat (limited to 'cryptography')
-rw-r--r-- | cryptography/hazmat/backends/interfaces.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/backends/interfaces.py b/cryptography/hazmat/backends/interfaces.py index 4137b534..92413d8c 100644 --- a/cryptography/hazmat/backends/interfaces.py +++ b/cryptography/hazmat/backends/interfaces.py @@ -147,9 +147,9 @@ class OpenSSLSerializationBackend(object): @six.add_metaclass(abc.ABCMeta) class CMACBackend(object): @abc.abstractmethod - def cmac_supported(self): + def cmac_algorithm_supported(self, algorithm): """ - Returns True if the backend supports CMAC + Returns True if the block cipher is supported for CMAC by this backend """ @abc.abstractmethod |