morus_common.h 720 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * The MORUS Authenticated-Encryption Algorithm
  4. * Common definitions
  5. *
  6. * Copyright (c) 2016-2018 Ondrej Mosnacek <omosnacek@gmail.com>
  7. * Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved.
  8. *
  9. * This program is free software; you can redistribute it and/or modify it
  10. * under the terms of the GNU General Public License as published by the Free
  11. * Software Foundation; either version 2 of the License, or (at your option)
  12. * any later version.
  13. */
  14. #ifndef _CRYPTO_MORUS_COMMON_H
  15. #define _CRYPTO_MORUS_COMMON_H
  16. #define MORUS_BLOCK_WORDS 4
  17. #define MORUS_STATE_BLOCKS 5
  18. #define MORUS_NONCE_SIZE 16
  19. #define MORUS_MAX_AUTH_SIZE 16
  20. #endif /* _CRYPTO_MORUS_COMMON_H */