Thomas Gleixner | 12ea20f | 2019-01-18 00:14:19 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Ondrej Mosnacek | 396be41 | 2018-05-11 14:19:09 +0200 | [diff] [blame] | 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. |
Ondrej Mosnacek | 396be41 | 2018-05-11 14:19:09 +0200 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef _CRYPTO_MORUS_COMMON_H |
| 11 | #define _CRYPTO_MORUS_COMMON_H |
| 12 | |
| 13 | #define MORUS_BLOCK_WORDS 4 |
| 14 | #define MORUS_STATE_BLOCKS 5 |
| 15 | #define MORUS_NONCE_SIZE 16 |
| 16 | #define MORUS_MAX_AUTH_SIZE 16 |
| 17 | |
| 18 | #endif /* _CRYPTO_MORUS_COMMON_H */ |