diff options
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/internal.h b/crypto/internal.h new file mode 100644 index 0000000000..cc409d8d21 --- /dev/null +++ b/crypto/internal.h @@ -0,0 +1,15 @@ +/* + * (C) Copyright 2015 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> + * + * 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 |