summaryrefslogtreecommitdiffstats
path: root/test/test_cipher.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-09-21 18:34:12 -0400
committerRob Crittenden <rcritten@redhat.com>2015-10-02 16:51:56 -0400
commit837ab07aa506fce30a433454ca8de99073e660ad (patch)
treedbc86800785227c99b4e922356d447040f364f95 /test/test_cipher.py
parenta8acb194e75f38392820a02785c467c23766dacf (diff)
downloadmod_nss-837ab07aa506fce30a433454ca8de99073e660ad.tar.gz
mod_nss-837ab07aa506fce30a433454ca8de99073e660ad.tar.xz
mod_nss-837ab07aa506fce30a433454ca8de99073e660ad.zip
Implement EECDH, kECDH, AECDH, ECDSA and aECDSA cipher macros
Also add test for AESGCM
Diffstat (limited to 'test/test_cipher.py')
-rw-r--r--test/test_cipher.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/test_cipher.py b/test/test_cipher.py
index af9d7eb..3f1f344 100644
--- a/test/test_cipher.py
+++ b/test/test_cipher.py
@@ -183,6 +183,9 @@ class test_ciphers(object):
def test_aECDH(self):
assert_equal_openssl("aECDH", "aECDH")
+ def test_kECDH(self):
+ assert_equal_openssl("kECDH", "kECDH")
+
def test_kECDHe(self):
assert_equal_openssl("kECDHe", "kECDHe")
@@ -192,6 +195,21 @@ class test_ciphers(object):
def test_kEECDH(self):
assert_equal_openssl("kEECDH", "kEECDH")
+ def test_AECDH(self):
+ assert_equal_openssl("AECDH", "AECDH")
+
+ def test_EECDH(self):
+ assert_equal_openssl("EECDH", "EECDH")
+
+ def test_ECDSA(self):
+ assert_equal_openssl("ECDSA", "ECDSA")
+
+ def test_aECDSA(self):
+ assert_equal_openssl("aECDSA", "aECDSA")
+
+ def test_AESGCM(self):
+ assert_equal_openssl("AESGCM", "AESGCM:-DH")
+
def test_ECDH(self):
assert_equal_openssl("ECDH", "ECDH")