ARIA encryption algorithm. More...
#include "core/crypto.h"Go to the source code of this file.
Data Structures | |
| struct | AriaContext |
| ARIA algorithm context. More... | |
Macros | |
| #define | ARIA_BLOCK_SIZE 16 |
| #define | ARIA_CIPHER_ALGO (&ariaCipherAlgo) |
Functions | |
| error_t | ariaInit (AriaContext *context, const uint8_t *key, size_t keyLen) |
| Initialize a ARIA context using the supplied key. More... | |
| void | ariaEncryptBlock (AriaContext *context, const uint8_t *input, uint8_t *output) |
| Encrypt a 16-byte block using ARIA algorithm. More... | |
| void | ariaDecryptBlock (AriaContext *context, const uint8_t *input, uint8_t *output) |
| Decrypt a 16-byte block using ARIA algorithm. More... | |
| void | ariaDeinit (AriaContext *context) |
| Release ARIA context. More... | |
Variables | |
| const uint8_t | ARIA128_ECB_OID [9] |
| const uint8_t | ARIA128_CBC_OID [9] |
| const uint8_t | ARIA128_CFB_OID [9] |
| const uint8_t | ARIA128_OFB_OID [9] |
| const uint8_t | ARIA128_CTR_OID [9] |
| const uint8_t | ARIA192_ECB_OID [9] |
| const uint8_t | ARIA192_CBC_OID [9] |
| const uint8_t | ARIA192_CFB_OID [9] |
| const uint8_t | ARIA192_OFB_OID [9] |
| const uint8_t | ARIA192_CTR_OID [9] |
| const uint8_t | ARIA256_ECB_OID [9] |
| const uint8_t | ARIA256_CBC_OID [9] |
| const uint8_t | ARIA256_CFB_OID [9] |
| const uint8_t | ARIA256_OFB_OID [9] |
| const uint8_t | ARIA256_CTR_OID [9] |
| const uint8_t | ARIA128_GCM_OID [9] |
| const uint8_t | ARIA192_GCM_OID [9] |
| const uint8_t | ARIA256_GCM_OID [9] |
| const uint8_t | ARIA128_CCM_OID [9] |
| const uint8_t | ARIA192_CCM_OID [9] |
| const uint8_t | ARIA256_CCM_OID [9] |
| const CipherAlgo | ariaCipherAlgo |
Detailed Description
ARIA encryption algorithm.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2025 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.
- Version
- 2.5.4
Definition in file aria.h.
Macro Definition Documentation
◆ ARIA_BLOCK_SIZE
◆ ARIA_CIPHER_ALGO
| #define ARIA_CIPHER_ALGO (&ariaCipherAlgo) |
Function Documentation
◆ ariaDecryptBlock()
| void ariaDecryptBlock | ( | AriaContext * | context, |
| const uint8_t * | input, | ||
| uint8_t * | output | ||
| ) |
◆ ariaDeinit()
| void ariaDeinit | ( | AriaContext * | context | ) |
◆ ariaEncryptBlock()
| void ariaEncryptBlock | ( | AriaContext * | context, |
| const uint8_t * | input, | ||
| uint8_t * | output | ||
| ) |
◆ ariaInit()
| error_t ariaInit | ( | AriaContext * | context, |
| const uint8_t * | key, | ||
| size_t | keyLen | ||
| ) |
Variable Documentation
◆ ARIA128_CBC_OID
◆ ARIA128_CCM_OID
◆ ARIA128_CFB_OID
◆ ARIA128_CTR_OID
◆ ARIA128_ECB_OID
◆ ARIA128_GCM_OID
◆ ARIA128_OFB_OID
◆ ARIA192_CBC_OID
◆ ARIA192_CCM_OID
◆ ARIA192_CFB_OID
◆ ARIA192_CTR_OID
◆ ARIA192_ECB_OID
◆ ARIA192_GCM_OID
◆ ARIA192_OFB_OID
◆ ARIA256_CBC_OID
◆ ARIA256_CCM_OID
◆ ARIA256_CFB_OID
◆ ARIA256_CTR_OID
◆ ARIA256_ECB_OID
◆ ARIA256_GCM_OID
◆ ARIA256_OFB_OID
◆ ariaCipherAlgo
|
extern |
