forked from Minki/linux
3a2d4fb51e
Since commit 499a66e6b6
("crypto: null - Remove default null
blkcipher"), crypto_get_default_null_skcipher2() and
crypto_put_default_null_skcipher2() are the same as their non-2
equivalents. So switch callers of the "2" versions over to the original
versions and remove the "2" versions.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
16 lines
341 B
C
16 lines
341 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Values for NULL algorithms */
|
|
|
|
#ifndef _CRYPTO_NULL_H
|
|
#define _CRYPTO_NULL_H
|
|
|
|
#define NULL_KEY_SIZE 0
|
|
#define NULL_BLOCK_SIZE 1
|
|
#define NULL_DIGEST_SIZE 0
|
|
#define NULL_IV_SIZE 0
|
|
|
|
struct crypto_skcipher *crypto_get_default_null_skcipher(void);
|
|
void crypto_put_default_null_skcipher(void);
|
|
|
|
#endif
|