blob: dda87cbb62b2a64fde9429a83ce48a0eb91903cb [file] [log] [blame]
Horia Geanta72567252014-03-14 17:46:50 +02001/* Values for NULL algorithms */
2
3#ifndef _CRYPTO_NULL_H
4#define _CRYPTO_NULL_H
5
6#define NULL_KEY_SIZE 0
7#define NULL_BLOCK_SIZE 1
8#define NULL_DIGEST_SIZE 0
9#define NULL_IV_SIZE 0
10
Herbert Xu33023462015-05-21 15:11:09 +080011struct crypto_blkcipher *crypto_get_default_null_skcipher(void);
12void crypto_put_default_null_skcipher(void);
Herbert Xua0129732016-07-12 13:17:32 +080013struct crypto_skcipher *crypto_get_default_null_skcipher2(void);
14void crypto_put_default_null_skcipher2(void);
Herbert Xu33023462015-05-21 15:11:09 +080015
Horia Geanta72567252014-03-14 17:46:50 +020016#endif