commit | 32abcbd01aa9a0f3f34b6e144793e7f01f28b22d | [log] [tgz] |
---|---|---|
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | Fri Feb 19 12:45:11 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 14 15:06:08 2021 -0400 |
tree | a9e87dde0c1072b2b4096edcbdda61fb3da3e448 | |
parent | db182c492dd20e9ca001d18c243b8c7699eae7a6 [diff] |
lib/rsa: Make fdt_add_bignum() available outside of RSA code fdt_add_bignum() is useful for algorithms other than just RSA. To allow its use for ECDSA, move it to a common file under lib/. The new file is suffixed with '-libcrypto' because it has a direct dependency on openssl. This is due to the use of the "BIGNUM *" type. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>