[PATCH 5/7] digest: allow algo to specify their length at runtime

Sascha Hauer s.hauer at pengutronix.de
Fri Mar 13 00:28:03 PDT 2015


On Thu, Mar 12, 2015 at 03:22:24PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> such as RSA as we load a DER key we will detect the key size
> at runtime and so the algo length.
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  include/digest.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Please keep this one back until it's actually used. I don't really like
having the length in two places, maybe we find a better solution then.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list