Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
riot_hashes.h
1
/*
2
* Copyright (C) 2022 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 HASHES_PSA_RIOT_HASHES_H
20
#define HASHES_PSA_RIOT_HASHES_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#include "
kernel_defines.h
"
27
28
#if (IS_USED(MODULE_PSA_RIOT_HASHES_MD5))
29
#include "
hashes/md5.h
"
30
31
typedef
md5_ctx_t
psa_hashes_md5_ctx_t;
32
#endif
33
34
#if (IS_USED(MODULE_PSA_RIOT_HASHES_SHA_1))
35
#include "
hashes/sha1.h
"
36
37
typedef
sha1_context
psa_hashes_sha1_ctx_t
;
38
#endif
39
40
#if (IS_USED(MODULE_PSA_RIOT_HASHES_SHA_224))
41
#include "
hashes/sha224.h
"
42
43
typedef
sha224_context_t
psa_hashes_sha224_ctx_t
;
44
#endif
45
46
#if (IS_USED(MODULE_PSA_RIOT_HASHES_SHA_256))
47
#include "
hashes/sha256.h
"
48
49
typedef
sha256_context_t
psa_hashes_sha256_ctx_t
;
50
#endif
51
52
#if (IS_USED(MODULE_PSA_RIOT_HASHES_SHA_512))
53
#include "
hashes/sha512.h
"
54
55
typedef
sha512_context_t
psa_hashes_sha512_ctx_t
;
56
#endif
57
58
#if (IS_USED(MODULE_PSA_RIOT_HASHES_HMAC_SHA256))
59
#include "
hashes/sha256.h
"
60
#endif
61
62
#ifdef __cplusplus
63
}
64
#endif
65
66
#endif
/* HASHES_PSA_RIOT_HASHES_H */
kernel_defines.h
Common macros and compiler attributes/pragmas configuration.
md5.h
MD5 interface definition.
psa_hashes_sha224_ctx_t
CRYS_HASHUserContext_t psa_hashes_sha224_ctx_t
Map driver specific SHA224 context to PSA context.
Definition
psa_periph_hashes_ctx.h:42
psa_hashes_sha256_ctx_t
CRYS_HASHUserContext_t psa_hashes_sha256_ctx_t
Map driver specific SHA256 context to PSA context.
Definition
psa_periph_hashes_ctx.h:49
psa_hashes_sha512_ctx_t
CRYS_HASHUserContext_t psa_hashes_sha512_ctx_t
Map driver specific SHA512 context to PSA context.
Definition
psa_periph_hashes_ctx.h:56
psa_hashes_sha1_ctx_t
CRYS_HASHUserContext_t psa_hashes_sha1_ctx_t
Map driver specific SHA1 context to PSA context.
Definition
psa_periph_hashes_ctx.h:35
sha1.h
SHA-1 interface definition.
sha224.h
Header definitions for the SHA224 hash function.
sha256.h
Header definitions for the SHA256 hash function.
sha512.h
Header definitions for the SHA512 hash function.
md5_ctx_t
MD5 calculation context.
Definition
md5.h:72
sha1_context
SHA-1 algorithm context.
Definition
sha1.h:49
sha2xx_context_t
Structure to hold the SHA-2XX context.
Definition
sha2xx_common.h:62
sha512_common_context_t
Structure to hold the SHA-512 context.
Definition
sha512_common.h:34
Generated on Sat May 11 2024 09:30:55 by
1.9.8