|
| error_t | shakeCompute (uint_t strength, const void *input, size_t inputLen, uint8_t *output, size_t outputLen) |
| | Digest a message using SHAKE128 or SHAKE256. More...
|
| |
| error_t | shake128Compute (const void *input, size_t inputLen, uint8_t *output, size_t outputLen) |
| | Digest a message using SHAKE128. More...
|
| |
| error_t | shake256Compute (const void *input, size_t inputLen, uint8_t *output, size_t outputLen) |
| | Digest a message using SHAKE256. More...
|
| |
| error_t | shakeInit (ShakeContext *context, uint_t strength) |
| | Initialize SHAKE context. More...
|
| |
| error_t | shake128Init (ShakeContext *context) |
| | Initialize SHAKE128 context. More...
|
| |
| error_t | shake256Init (ShakeContext *context) |
| | Initialize SHAKE256 context. More...
|
| |
| void | shakeAbsorb (ShakeContext *context, const void *input, size_t length) |
| | Absorb data. More...
|
| |
| void | shakeFinal (ShakeContext *context) |
| | Finish absorbing phase. More...
|
| |
| void | shakeSqueeze (ShakeContext *context, uint8_t *output, size_t length) |
| | Extract data from the squeezing phase. More...
|
| |
SHAKE128 and SHAKE256 extendable-output functions.
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.
- Author
- Oryx Embedded SARL (www.oryx-embedded.com)
- Version
- 2.5.4
Definition in file shake.h.