null.h 341 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Values for NULL algorithms */
  3. #ifndef _CRYPTO_NULL_H
  4. #define _CRYPTO_NULL_H
  5. #define NULL_KEY_SIZE 0
  6. #define NULL_BLOCK_SIZE 1
  7. #define NULL_DIGEST_SIZE 0
  8. #define NULL_IV_SIZE 0
  9. struct crypto_skcipher *crypto_get_default_null_skcipher(void);
  10. void crypto_put_default_null_skcipher(void);
  11. #endif