diff options
author | tb <> | 2018-02-17 13:47:36 +0000 |
---|---|---|
committer | tb <> | 2018-02-17 13:47:36 +0000 |
commit | e1b05f77869d986a0aee6aa4076f008274e98d27 (patch) | |
tree | f0cc2d3dd2a3842c40f792227fe86c133a668af2 /src/lib/libcrypto/rsa/rsa.h | |
parent | 0c7165079d7f7c944f8c516a5bb23a71b674c170 (diff) | |
download | openbsd-e1b05f77869d986a0aee6aa4076f008274e98d27.tar.gz openbsd-e1b05f77869d986a0aee6aa4076f008274e98d27.tar.bz2 openbsd-e1b05f77869d986a0aee6aa4076f008274e98d27.zip |
Provide further parts of the OpenSSL 1.1 API: {DH,DSA}_get0_{key,pqg}(),
EVP_PKEY_get0_{DH,DSA,RSA}(), RSA_{g,s}et0_key().
ok jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 7476a1164a..7d4bd838c5 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.31 2017/08/30 16:07:35 jsing Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.32 2018/02/17 13:47:36 tb 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 | * |
@@ -395,6 +395,10 @@ int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | |||
395 | int RSA_set_ex_data(RSA *r, int idx, void *arg); | 395 | int RSA_set_ex_data(RSA *r, int idx, void *arg); |
396 | void *RSA_get_ex_data(const RSA *r, int idx); | 396 | void *RSA_get_ex_data(const RSA *r, int idx); |
397 | 397 | ||
398 | int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ||
399 | void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, | ||
400 | const BIGNUM **d); | ||
401 | |||
398 | RSA *RSAPublicKey_dup(RSA *rsa); | 402 | RSA *RSAPublicKey_dup(RSA *rsa); |
399 | RSA *RSAPrivateKey_dup(RSA *rsa); | 403 | RSA *RSAPrivateKey_dup(RSA *rsa); |
400 | 404 | ||