Go to the documentation of this file.
12 #ifndef _CRYPTO_INTERNAL_H
13 #define _CRYPTO_INTERNAL_H
21 #include <asm/hardirq.h>
22 #include <asm/softirq.h>
23 #include <asm/kmap_types.h>
26 static inline void crypto_yield(
struct crypto_tfm *tfm)
32 static inline void *crypto_tfm_ctx(
struct crypto_tfm *tfm)
34 return (
void *)&tfm[1];
49 #ifdef CONFIG_CRYPTO_HMAC
50 int crypto_alloc_hmac_block(
struct crypto_tfm *tfm);
51 void crypto_free_hmac_block(
struct crypto_tfm *tfm);
53 static inline int crypto_alloc_hmac_block(
struct crypto_tfm *tfm)
58 static inline void crypto_free_hmac_block(
struct crypto_tfm *tfm)