Tiger hash function. More...
Go to the source code of this file.
Macros | |
#define | TRACE_LEVEL CRYPTO_TRACE_LEVEL |
#define | ROUND(a, b, c, x, mul) |
#define | KEY_SCHEDULE(x) |
Functions | |
error_t | tigerCompute (const void *data, size_t length, uint8_t *digest) |
Digest a message using Tiger. More... | |
void | tigerInit (TigerContext *context) |
Initialize Tiger message digest context. More... | |
void | tigerUpdate (TigerContext *context, const void *data, size_t length) |
Update the Tiger context with a portion of the message being hashed. More... | |
void | tigerFinal (TigerContext *context, uint8_t *digest) |
Finish the Tiger message digest. More... | |
void | tigerProcessBlock (TigerContext *context) |
Process message in 16-word blocks. More... | |
Variables | |
const uint8_t | TIGER_OID [9] = {0x2B, 0x06, 0x01, 0x04, 0x01, 0xDA, 0x47, 0x0C, 0x02} |
const HashAlgo | tigerHashAlgo |
Detailed Description
Tiger hash function.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 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.4.4
Definition in file tiger.c.
Macro Definition Documentation
◆ KEY_SCHEDULE
#define KEY_SCHEDULE | ( | x | ) |
◆ ROUND
◆ TRACE_LEVEL
Function Documentation
◆ tigerCompute()
error_t tigerCompute | ( | const void * | data, |
size_t | length, | ||
uint8_t * | digest | ||
) |
◆ tigerFinal()
void tigerFinal | ( | TigerContext * | context, |
uint8_t * | digest | ||
) |
◆ tigerInit()
void tigerInit | ( | TigerContext * | context | ) |
◆ tigerProcessBlock()
void tigerProcessBlock | ( | TigerContext * | context | ) |
◆ tigerUpdate()
void tigerUpdate | ( | TigerContext * | context, |
const void * | data, | ||
size_t | length | ||
) |
Variable Documentation
◆ TIGER_OID
const uint8_t TIGER_OID[9] = {0x2B, 0x06, 0x01, 0x04, 0x01, 0xDA, 0x47, 0x0C, 0x02} |
◆ tigerHashAlgo
const HashAlgo tigerHashAlgo |