From 9fea6d08f5ff21c334e8226fcd9e3673c739cae8 Mon Sep 17 00:00:00 2001 From: Mohammed Attia Date: Fri, 25 Apr 2014 13:50:53 +0200 Subject: Add bindings for DSA_sign and DSA_verify --- cryptography/hazmat/bindings/openssl/dsa.py | 4 ++++ 1 file changed, 4 insertions(+) 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 = """ -- cgit v1.2.3