As we will use the best sha algo at runtime Add a new init level crypto_initcall to ensure that all the sha present before hmac Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
10 lines
270 B
C
10 lines
270 B
C
/*
|
|
* (C) Copyright 2015 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
|
*
|
|
* GPL v2 only
|
|
*/
|
|
|
|
int digest_generic_verify(struct digest *d, const unsigned char *md);
|
|
int digest_generic_digest(struct digest *d, const void *data,
|
|
unsigned int len, u8 *out);
|