cipher_modes.h File Reference

Block cipher modes of operation. More...

#include "core/crypto.h"
#include "cipher_modes/ecb.h"
#include "cipher_modes/cbc.h"
#include "cipher_modes/cfb.h"
#include "cipher_modes/ofb.h"
#include "cipher_modes/ctr.h"
#include "cipher_modes/xts.h"

Go to the source code of this file.

Enumerations

enum  CipherMode {
  CIPHER_MODE_NULL = 0, CIPHER_MODE_STREAM = 1, CIPHER_MODE_ECB = 2, CIPHER_MODE_CBC = 3,
  CIPHER_MODE_CFB = 4, CIPHER_MODE_OFB = 5, CIPHER_MODE_CTR = 6, CIPHER_MODE_CCM = 7,
  CIPHER_MODE_GCM = 8, CIPHER_MODE_GMAC = 9, CIPHER_MODE_XTS = 10, CIPHER_MODE_ASCON_AEAD128 = 11,
  CIPHER_MODE_CHACHA20_POLY1305 = 12
}
 Cipher operation modes. More...
 

Detailed Description

Block cipher modes of operation.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2026 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneCRYPTO Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.6.6

Definition in file cipher_modes.h.

Enumeration Type Documentation

◆ CipherMode

enum CipherMode

Cipher operation modes.

Enumerator
CIPHER_MODE_NULL 
CIPHER_MODE_STREAM 
CIPHER_MODE_ECB 
CIPHER_MODE_CBC 
CIPHER_MODE_CFB 
CIPHER_MODE_OFB 
CIPHER_MODE_CTR 
CIPHER_MODE_CCM 
CIPHER_MODE_GCM 
CIPHER_MODE_GMAC 
CIPHER_MODE_XTS 
CIPHER_MODE_ASCON_AEAD128 
CIPHER_MODE_CHACHA20_POLY1305 

Definition at line 77 of file cipher_modes.h.