Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Horia Geanta | 7256725 | 2014-03-14 17:46:50 +0200 | [diff] [blame] | 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 | |
Kees Cook | 8d60539 | 2018-09-18 19:10:51 -0700 | [diff] [blame] | 12 | struct crypto_sync_skcipher *crypto_get_default_null_skcipher(void); |
Herbert Xu | 3302346 | 2015-05-21 15:11:09 +0800 | [diff] [blame] | 13 | void crypto_put_default_null_skcipher(void); |
Herbert Xu | 499a66e | 2016-07-12 13:17:47 +0800 | [diff] [blame] | 14 | |
Horia Geanta | 7256725 | 2014-03-14 17:46:50 +0200 | [diff] [blame] | 15 | #endif |