diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-14 12:27:03 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-14 12:27:03 -0600 |
commit | ffc00a65c298fd192e971536425d69688d7a116b (patch) | |
tree | d9478d66dcc5527075fe1d0d8fda38cf4e47775e | |
parent | 5697c2e089725ab9cc95c1cdbf85c61ba8f4964c (diff) | |
download | cryptography-ffc00a65c298fd192e971536425d69688d7a116b.tar.gz cryptography-ffc00a65c298fd192e971536425d69688d7a116b.tar.bz2 cryptography-ffc00a65c298fd192e971536425d69688d7a116b.zip |
OpenSSL bindings for RSA blinding
-rw-r--r-- | cryptography/hazmat/bindings/openssl/rsa.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/rsa.py b/cryptography/hazmat/bindings/openssl/rsa.py index a44ca4a6..e2f8f0c0 100644 --- a/cryptography/hazmat/bindings/openssl/rsa.py +++ b/cryptography/hazmat/bindings/openssl/rsa.py @@ -43,6 +43,8 @@ int RSA_size(const RSA *); int RSA_generate_key_ex(RSA *, int, BIGNUM *, BN_GENCB *); int RSA_check_key(const RSA *); RSA *RSAPublicKey_dup(RSA *); +int RSA_blinding_on(RSA *, BN_CTX *); +void RSA_blinding_off(RSA *); int RSA_public_encrypt(int, const unsigned char *, unsigned char *, RSA *, int); int RSA_private_encrypt(int, const unsigned char *, unsigned char *, |