Loading...
Searching...
No Matches
psa_periph_hashes_ctx.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021 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
9#pragma once
10
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include <stdlib.h>
27#include "kernel_defines.h"
28#include "crys_hash.h"
29
30#if IS_USED(MODULE_PERIPH_HASH_SHA_1) || DOXYGEN
34typedef CRYS_HASHUserContext_t psa_hashes_sha1_ctx_t;
35#endif
36
37#if IS_USED(MODULE_PERIPH_HASH_SHA_224) || DOXYGEN
41typedef CRYS_HASHUserContext_t psa_hashes_sha224_ctx_t;
42#endif
43
44#if IS_USED(MODULE_PERIPH_HASH_SHA_256) || DOXYGEN
48typedef CRYS_HASHUserContext_t psa_hashes_sha256_ctx_t;
49#endif
50
51#if IS_USED(MODULE_PERIPH_HASH_SHA_512) || DOXYGEN
55typedef CRYS_HASHUserContext_t psa_hashes_sha512_ctx_t;
56#endif
57
58#ifdef __cplusplus
59}
60#endif
61
Common macros and compiler attributes/pragmas configuration.
CRYS_HASHUserContext_t psa_hashes_sha224_ctx_t
Map driver specific SHA224 context to PSA context.
CRYS_HASHUserContext_t psa_hashes_sha256_ctx_t
Map driver specific SHA256 context to PSA context.
CRYS_HASHUserContext_t psa_hashes_sha512_ctx_t
Map driver specific SHA512 context to PSA context.
CRYS_HASHUserContext_t psa_hashes_sha1_ctx_t
Map driver specific SHA1 context to PSA context.