diff options
author | djm <> | 2018-09-12 06:35:38 +0000 |
---|---|---|
committer | djm <> | 2018-09-12 06:35:38 +0000 |
commit | 8862867fd25d4b58970fbba6b27ed2a36347500d (patch) | |
tree | aaeca881a5b92a89a54597eeb5aacdbd9d58fe30 /src/lib/libcrypto/rsa/rsa.h | |
parent | 55621332fb7374cfcfccae0561ed84e62513e575 (diff) | |
download | openbsd-8862867fd25d4b58970fbba6b27ed2a36347500d.tar.gz openbsd-8862867fd25d4b58970fbba6b27ed2a36347500d.tar.bz2 openbsd-8862867fd25d4b58970fbba6b27ed2a36347500d.zip |
Add some accessor functions:
RSA_meth_get_finish() RSA_meth_set1_name() EVP_CIPHER_CTX_(get|set)_iv()
feedback and ok jsing@ tb@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 23929aafb9..d2df1a92d3 100644 --- a/src/lib/libcrypto/rsa/rsa.h +++ b/src/lib/libcrypto/rsa/rsa.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa.h,v 1.38 2018/03/17 15:12:56 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.39 2018/09/12 06:35:38 djm Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -433,10 +433,12 @@ RSA *RSAPrivateKey_dup(RSA *rsa); | |||
433 | RSA_METHOD *RSA_meth_new(const char *name, int flags); | 433 | RSA_METHOD *RSA_meth_new(const char *name, int flags); |
434 | void RSA_meth_free(RSA_METHOD *meth); | 434 | void RSA_meth_free(RSA_METHOD *meth); |
435 | RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | 435 | RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); |
436 | int RSA_meth_set1_name(RSA_METHOD *meth, const char *name); | ||
436 | int RSA_meth_set_priv_enc(RSA_METHOD *meth, int (*priv_enc)(int flen, | 437 | int RSA_meth_set_priv_enc(RSA_METHOD *meth, int (*priv_enc)(int flen, |
437 | const unsigned char *from, unsigned char *to, RSA *rsa, int padding)); | 438 | const unsigned char *from, unsigned char *to, RSA *rsa, int padding)); |
438 | int RSA_meth_set_priv_dec(RSA_METHOD *meth, int (*priv_dec)(int flen, | 439 | int RSA_meth_set_priv_dec(RSA_METHOD *meth, int (*priv_dec)(int flen, |
439 | const unsigned char *from, unsigned char *to, RSA *rsa, int padding)); | 440 | const unsigned char *from, unsigned char *to, RSA *rsa, int padding)); |
441 | int (*RSA_meth_get_finish(const RSA_METHOD *meth))(RSA *rsa); | ||
440 | int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa)); | 442 | int RSA_meth_set_finish(RSA_METHOD *meth, int (*finish)(RSA *rsa)); |
441 | 443 | ||
442 | /* BEGIN ERROR CODES */ | 444 | /* BEGIN ERROR CODES */ |