diff options
author | tb <> | 2018-02-18 12:57:14 +0000 |
---|---|---|
committer | tb <> | 2018-02-18 12:57:14 +0000 |
commit | 08088224c26400ca4e52e683e20d87c097025de9 (patch) | |
tree | 20539a532b21fc8bc7d31895c8d6d2491b26f98a /src/lib/libcrypto/rsa/rsa.h | |
parent | 751bc66947637a9abd1a17c25842d5ac30445e33 (diff) | |
download | openbsd-08088224c26400ca4e52e683e20d87c097025de9.tar.gz openbsd-08088224c26400ca4e52e683e20d87c097025de9.tar.bz2 openbsd-08088224c26400ca4e52e683e20d87c097025de9.zip |
Provide RSA_{g,s}et0_crt_params()
ok jsing
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 6cce38d35c..b131359e8c 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.35 2018/02/18 12:55:32 tb Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.36 2018/02/18 12:57:14 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 | * |
@@ -399,6 +399,9 @@ void *RSA_get_ex_data(const RSA *r, int idx); | |||
399 | void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, | 399 | void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, |
400 | const BIGNUM **d); | 400 | const BIGNUM **d); |
401 | int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | 401 | int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); |
402 | void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, | ||
403 | const BIGNUM **iqmp); | ||
404 | int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); | ||
402 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); | 405 | void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); |
403 | int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | 406 | int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); |
404 | 407 | ||