[PATCH 4/7] digest: add verify callback

Jan Lübbe jlu at pengutronix.de
Thu Mar 12 07:55:46 PDT 2015


On Do, 2015-03-12 at 15:22 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> +int digest_generic_verity(struct digest *d, const unsigned char *md)
                     ^^^^^^ shouldn't this be "verify" for consistency?

> +       int (*verify)(struct digest *d, const unsigned char *in);
                                                              ^^
this is called "md" in the other prototypes
-- 
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