blob: 0ef577cc00e3f921a6a6c786cfe05bd87f22278c [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2/* Values for NULL algorithms */
3
4#ifndef _CRYPTO_NULL_H
5#define _CRYPTO_NULL_H
6
7#define NULL_KEY_SIZE 0
8#define NULL_BLOCK_SIZE 1
9#define NULL_DIGEST_SIZE 0
10#define NULL_IV_SIZE 0
11
David Brazdil0f672f62019-12-10 10:32:29 +000012struct crypto_sync_skcipher *crypto_get_default_null_skcipher(void);
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000013void crypto_put_default_null_skcipher(void);
14
15#endif