18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/* Values for NULL algorithms */
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#ifndef _CRYPTO_NULL_H
58c2ecf20Sopenharmony_ci#define _CRYPTO_NULL_H
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define NULL_KEY_SIZE		0
88c2ecf20Sopenharmony_ci#define NULL_BLOCK_SIZE		1
98c2ecf20Sopenharmony_ci#define NULL_DIGEST_SIZE	0
108c2ecf20Sopenharmony_ci#define NULL_IV_SIZE		0
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cistruct crypto_sync_skcipher *crypto_get_default_null_skcipher(void);
138c2ecf20Sopenharmony_civoid crypto_put_default_null_skcipher(void);
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#endif
16