2019-01-18 00:14:19 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2018-05-11 14:19:09 +02:00
|
|
|
/*
|
|
|
|
* The MORUS Authenticated-Encryption Algorithm
|
|
|
|
* Common definitions
|
|
|
|
*
|
|
|
|
* Copyright (c) 2016-2018 Ondrej Mosnacek <omosnacek@gmail.com>
|
|
|
|
* Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CRYPTO_MORUS_COMMON_H
|
|
|
|
#define _CRYPTO_MORUS_COMMON_H
|
|
|
|
|
|
|
|
#define MORUS_BLOCK_WORDS 4
|
|
|
|
#define MORUS_STATE_BLOCKS 5
|
|
|
|
#define MORUS_NONCE_SIZE 16
|
|
|
|
#define MORUS_MAX_AUTH_SIZE 16
|
|
|
|
|
|
|
|
#endif /* _CRYPTO_MORUS_COMMON_H */
|