diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-02-18 12:57:15 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-02-18 12:57:15 +0000 |
commit | cc6b41e9bdb7f8a28e4d406f0aed21a8a620382e (patch) | |
tree | c97fcb3c346c811577f8937fab0690de5c0e64ed /lib/libcrypto/rsa/rsa.h | |
parent | 2afeb742beacaa75a92ae9e4fafe6c79cd74c91b (diff) |
Provide RSA_{g,s}et0_crt_params()
ok jsing
Diffstat (limited to 'lib/libcrypto/rsa/rsa.h')
-rw-r--r-- | lib/libcrypto/rsa/rsa.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/rsa/rsa.h b/lib/libcrypto/rsa/rsa.h index 6cce38d35c3..b131359e8c0 100644 --- a/lib/libcrypto/rsa/rsa.h +++ b/lib/libcrypto/rsa/rsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rsa.h,v 1.35 2018/02/18 12:55:32 tb Exp $ */ +/* $OpenBSD: rsa.h,v 1.36 2018/02/18 12:57:14 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -399,6 +399,9 @@ void *RSA_get_ex_data(const RSA *r, int idx); void RSA_get0_key(const RSA *r, const BIGNUM **n, const BIGNUM **e, const BIGNUM **d); int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); +void RSA_get0_crt_params(const RSA *r, const BIGNUM **dmp1, const BIGNUM **dmq1, + const BIGNUM **iqmp); +int RSA_set0_crt_params(RSA *r, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); |