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/evp/evp.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/evp/evp.h')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 1684b13e49..c09e2c046a 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp.h,v 1.68 2018/08/24 20:22:15 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.69 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 | * |
@@ -496,6 +496,10 @@ int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx); | |||
496 | int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx); | 496 | int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx); |
497 | int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx); | 497 | int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx); |
498 | int EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx); | 498 | int EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx); |
499 | int EVP_CIPHER_CTX_get_iv(const EVP_CIPHER_CTX *ctx, | ||
500 | unsigned char *iv, size_t len); | ||
501 | int EVP_CIPHER_CTX_set_iv(EVP_CIPHER_CTX *ctx, | ||
502 | const unsigned char *iv, size_t len); | ||
499 | int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in); | 503 | int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in); |
500 | void * EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx); | 504 | void * EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx); |
501 | void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data); | 505 | void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data); |