diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-04-25 11:31:47 +0100 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2014-04-25 11:31:47 +0100 |
commit | 68f1e0c2deea59df17e573b908f45182eff51dd0 (patch) | |
tree | bff9b31c2692217649459daaa721964a35a752b0 | |
parent | deaafe752ca514cbf0e7e03a85b02c7cc9d50f1b (diff) | |
parent | 9fea6d08f5ff21c334e8226fcd9e3673c739cae8 (diff) | |
download | cryptography-68f1e0c2deea59df17e573b908f45182eff51dd0.tar.gz cryptography-68f1e0c2deea59df17e573b908f45182eff51dd0.tar.bz2 cryptography-68f1e0c2deea59df17e573b908f45182eff51dd0.zip |
Merge pull request #967 from skeuomorf/more-bindings
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 = """ |