diff options
author | Mohammed Attia <skeuomorf@gmail.com> | 2014-04-25 13:50:53 +0200 |
---|---|---|
committer | Mohammed Attia <skeuomorf@gmail.com> | 2014-04-25 14:08:24 +0200 |
commit | 9fea6d08f5ff21c334e8226fcd9e3673c739cae8 (patch) | |
tree | bff9b31c2692217649459daaa721964a35a752b0 | |
parent | deaafe752ca514cbf0e7e03a85b02c7cc9d50f1b (diff) | |
download | cryptography-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.py | 4 |
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 = """ |