Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
sha256_alt.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 HAW Hamburg
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
19
#ifndef SHA256_ALT_H
20
#define SHA256_ALT_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#include "
kernel_defines.h
"
27
#include "
riot_mbedtls_config.h
"
28
29
#if IS_ACTIVE(MBEDTLS_SHA256_ALT)
30
#include "
hashes/sha256.h
"
31
#include "
hashes/sha224.h
"
32
36
typedef
struct
{
37
sha256_context_t
riot_sha256_ctx;
38
uint8_t is224;
39
} mbedtls_sha256_context;
40
41
#endif
/* MBEDTLS_SHA256_ALT */
42
43
#ifdef __cplusplus
44
}
45
#endif
47
#endif
/* SHA256_ALT_H */
kernel_defines.h
Common macros and compiler attributes/pragmas configuration.
riot_mbedtls_config.h
Configuration options (set of defines)
sha224.h
Header definitions for the SHA224 hash function.
sha256.h
Header definitions for the SHA256 hash function.
sha2xx_context_t
Structure to hold the SHA-2XX context.
Definition
sha2xx_common.h:62
Generated on Sat Nov 23 2024 16:31:09 by
1.9.8