hash_algorithms.h File Reference

Collection of hash algorithms. More...

#include "core/crypto.h"
#include "hash/md2.h"
#include "hash/md4.h"
#include "hash/md5.h"
#include "hash/ripemd128.h"
#include "hash/ripemd160.h"
#include "hash/sha1.h"
#include "hash/sha224.h"
#include "hash/sha256.h"
#include "hash/sha384.h"
#include "hash/sha512.h"
#include "hash/sha512_224.h"
#include "hash/sha512_256.h"
#include "hash/sha3_224.h"
#include "hash/sha3_256.h"
#include "hash/sha3_384.h"
#include "hash/sha3_512.h"
#include "hash/blake2b160.h"
#include "hash/blake2b256.h"
#include "hash/blake2b384.h"
#include "hash/blake2b512.h"
#include "hash/blake2s128.h"
#include "hash/blake2s160.h"
#include "hash/blake2s224.h"
#include "hash/blake2s256.h"
#include "hash/sm3.h"
#include "hash/tiger.h"
#include "hash/whirlpool.h"

Go to the source code of this file.

Data Structures

union  HashContext
 Generic hash algorithm context. More...
 

Macros

#define MAX_HASH_BLOCK_SIZE   SHA3_224_BLOCK_SIZE
 
#define MAX_HASH_DIGEST_SIZE   WHIRLPOOL_DIGEST_SIZE
 

Detailed Description

Collection of hash algorithms.

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.

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

Definition in file hash_algorithms.h.

Macro Definition Documentation

◆ MAX_HASH_BLOCK_SIZE

#define MAX_HASH_BLOCK_SIZE   SHA3_224_BLOCK_SIZE

Definition at line 174 of file hash_algorithms.h.

◆ MAX_HASH_DIGEST_SIZE

#define MAX_HASH_DIGEST_SIZE   WHIRLPOOL_DIGEST_SIZE

Definition at line 231 of file hash_algorithms.h.