rsa: use new openssl API to create signature
authorPhilippe Reynes <philippe.reynes@softathome.com>
Wed, 14 Nov 2018 12:50:59 +0000 (13:50 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 3 Dec 2018 15:44:10 +0000 (10:44 -0500)
commit3b5d6979fcb80ffae3b140be6edc04cbde1a0b72
tree2c573400996b3a22697cfeb9021d80a385422c70
parentc8c0242f1ccc189f03421247e17afce06416ca11
rsa: use new openssl API to create signature

Previous implementation of the rsa signature was using
the openssl API EVP_Sign*, but the new openssl API
EVP_DigestSign* is more flexible. So we move to this
new API.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/rsa/rsa-sign.c