diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-17 03:14:09 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-17 07:24:39 -0400 |
commit | 62e4df2a38081f62fd1bd657459b7ffb2d4f522c (patch) | |
tree | 9b4ed5d3c597e19894ca77299b53057efe071c50 /include/crypto/algapi.h | |
parent | 426e88e41cdcecd007a689daf4fe432bb61303ec (diff) |
drop dead code
Diffstat (limited to 'include/crypto/algapi.h')
-rw-r--r-- | include/crypto/algapi.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h index 0f2ea7c1..5fd3524a 100644 --- a/include/crypto/algapi.h +++ b/include/crypto/algapi.h @@ -1,37 +1,7 @@ -/* - * Cryptographic API for algorithms (i.e., low-level API). - * - * Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - */ #ifndef _CRYPTO_ALGAPI_H #define _CRYPTO_ALGAPI_H #include <linux/crypto.h> #include <crypto/skcipher.h> -struct crypto_type { - unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask); - unsigned int (*extsize)(struct crypto_alg *alg); - int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask); - int (*init_tfm)(struct crypto_tfm *tfm); - - unsigned type; - unsigned maskclear; - unsigned maskset; - unsigned tfmsize; -}; - -extern const struct crypto_type crypto_blkcipher_type; - -static inline void *crypto_blkcipher_ctx(struct crypto_blkcipher *tfm) -{ - return crypto_tfm_ctx(&tfm->base); -} - #endif /* _CRYPTO_ALGAPI_H */ |