CsCrypto
1.0.2
Main Page
Overview
Classes
Support
mode.h
1
/***********************************************************************
2
*
3
* Copyright (c) 2021-2024 Tim van Deurzen
4
* Copyright (c) 2021-2024 Barbara Geller
5
* Copyright (c) 2021-2024 Ansel Sermersheim
6
*
7
* This file is part of CsCrypto.
8
*
9
* CsCrypto is free software, released under the BSD 2-Clause license.
10
* For license details refer to LICENSE provided with this project.
11
*
12
* CsCrypto is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
*
16
* https://opensource.org/licenses/BSD-2-Clause
17
*
18
***********************************************************************/
19
20
#
ifndef
CS_CRYPTO_CORE_MODE_H
21
#
define
CS_CRYPTO_CORE_MODE_H
22
23
#
include
<
cstddef
>
24
25
namespace
cs_crypto::block_cipher::mode {
26
27
// cipher block chaining mode
28
struct
CBC {
29
constexpr
static
const
std::size_t iv_size = 16;
30
};
31
32
}
// namespace cs_crypto::block_cipher
33
34
#
endif
core
cipher
block
mode.h
Generated on Wed Sep 25 2024 09:00 by
1.7.0