Loading...
Searching...
No Matches
psa_periph_hashes_ctx.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021 HAW Hamburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include <stdlib.h>
24#include "kernel_defines.h"
25#include "crys_hash.h"
26
27#if IS_USED(MODULE_PERIPH_HASH_SHA_1) || DOXYGEN
31typedef CRYS_HASHUserContext_t psa_hashes_sha1_ctx_t;
32#endif
33
34#if IS_USED(MODULE_PERIPH_HASH_SHA_224) || DOXYGEN
38typedef CRYS_HASHUserContext_t psa_hashes_sha224_ctx_t;
39#endif
40
41#if IS_USED(MODULE_PERIPH_HASH_SHA_256) || DOXYGEN
45typedef CRYS_HASHUserContext_t psa_hashes_sha256_ctx_t;
46#endif
47
48#if IS_USED(MODULE_PERIPH_HASH_SHA_512) || DOXYGEN
52typedef CRYS_HASHUserContext_t psa_hashes_sha512_ctx_t;
53#endif
54
55#ifdef __cplusplus
56}
57#endif
58
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.