rsa: Minor refactoring.
authorWerner Koch <wk@gnupg.org>
Sat, 24 Jun 2017 10:03:14 +0000 (12:03 +0200)
committerWerner Koch <wk@gnupg.org>
Sat, 24 Jun 2017 10:03:14 +0000 (12:03 +0200)
commite6a3dc9900433bbc8ad362a595a3837318c28fa9
tree0bc81f16c22e7c5df02c4880850cc4f429f91982
parentd091610377b2c92cf385282b1adfc30fa6cd5c75
rsa: Minor refactoring.

* cipher/rsa.c (secret): Factor code out to ...
(secret_core_std, secret_core_crt): new functions.

Signed-off-by: Werner Koch <wk@gnupg.org>
cipher/rsa.c