diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-13 17:06:37 -0600 |
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-13 17:06:54 -0600 |
| commit | b530fe132a28de4f3c4e207d0ae2ad3d7e577fbd (patch) | |
| tree | 7fbba51dd829b9290b2b708f8d229544fd4e7be4 /cryptography | |
| parent | 2253ab4a7c51820d510d1384c0ccb6b936931d56 (diff) | |
| download | cryptography-b530fe132a28de4f3c4e207d0ae2ad3d7e577fbd.tar.gz cryptography-b530fe132a28de4f3c4e207d0ae2ad3d7e577fbd.tar.bz2 cryptography-b530fe132a28de4f3c4e207d0ae2ad3d7e577fbd.zip | |
bind sign/verify EVP functions for OpenSSL
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/hazmat/bindings/openssl/evp.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/evp.py b/cryptography/hazmat/bindings/openssl/evp.py index 06c0381e..e30925ef 100644 --- a/cryptography/hazmat/bindings/openssl/evp.py +++ b/cryptography/hazmat/bindings/openssl/evp.py @@ -105,6 +105,13 @@ const EVP_MD *EVP_md5(void); int PKCS5_PBKDF2_HMAC_SHA1(const char *, int, const unsigned char *, int, int, int, unsigned char *); + +int EVP_PKEY_sign_init(EVP_PKEY_CTX *); +int EVP_PKEY_sign(EVP_PKEY_CTX *, unsigned char *, size_t *, + const unsigned char *, size_t); +int EVP_PKEY_verify_init(EVP_PKEY_CTX *); +int EVP_PKEY_verify(EVP_PKEY_CTX *, const unsigned char *, size_t, + const unsigned char *, size_t); """ MACROS = """ |
