aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Attia <skeuomorf@gmail.com>2014-04-25 13:50:53 +0200
committerMohammed Attia <skeuomorf@gmail.com>2014-04-25 14:08:24 +0200
commit9fea6d08f5ff21c334e8226fcd9e3673c739cae8 (patch)
treebff9b31c2692217649459daaa721964a35a752b0
parentdeaafe752ca514cbf0e7e03a85b02c7cc9d50f1b (diff)
downloadcryptography-9fea6d08f5ff21c334e8226fcd9e3673c739cae8.tar.gz
cryptography-9fea6d08f5ff21c334e8226fcd9e3673c739cae8.tar.bz2
cryptography-9fea6d08f5ff21c334e8226fcd9e3673c739cae8.zip
Add bindings for DSA_sign and DSA_verify
-rw-r--r--cryptography/hazmat/bindings/openssl/dsa.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/dsa.py b/cryptography/hazmat/bindings/openssl/dsa.py
index a5305893..7db03326 100644
--- a/cryptography/hazmat/bindings/openssl/dsa.py
+++ b/cryptography/hazmat/bindings/openssl/dsa.py
@@ -48,6 +48,10 @@ void DSA_SIG_free(DSA_SIG *);
int i2d_DSA_SIG(const DSA_SIG *, unsigned char **);
DSA_SIG *d2i_DSA_SIG(DSA_SIG **, const unsigned char **, long);
int DSA_size(const DSA *);
+int DSA_sign(int, const unsigned char *, int, unsigned char *, unsigned int *,
+ DSA *);
+int DSA_verify(int, const unsigned char *, int, const unsigned char *, int,
+ DSA *);
"""
MACROS = """