/* * (C) Copyright 2015 Jean-Christophe PLAGNIOL-VILLARD * * GPL v2 only */ #ifdef CONFIG_DIGEST_HMAC int digest_hmac_register(struct digest_algo *algo, unsigned int pad_length); #else static inline int digest_hmac_register(struct digest_algo *algo, unsigned int pad_length) { return 0; } #endif 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);