Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | |
| 15 | #ifndef _CRYPTO_MORUS_COMMON_H |
| 16 | #define _CRYPTO_MORUS_COMMON_H |
| 17 | |
| 18 | #define MORUS_BLOCK_WORDS 4 |
| 19 | #define MORUS_STATE_BLOCKS 5 |
| 20 | #define MORUS_NONCE_SIZE 16 |
| 21 | #define MORUS_MAX_AUTH_SIZE 16 |
| 22 | |
| 23 | #endif /* _CRYPTO_MORUS_COMMON_H */ |