Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 TU Dresden
3 * SPDX-FileCopyrightText: 2021 HAW Hamburg
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
9#include "psa/algorithm.h"
10
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
33
64
69#define PSA_MAC_OPERATION_INIT { 0 }
70
77{
79
80 return v;
81}
82
83#ifdef __cplusplus
84}
85#endif
86
Algorithm definitions for the PSA Crypto API.
uint32_t psa_algorithm_t
Encoding of a cryptographic algorithm.
Definition algorithm.h:35
Structure containing a MAC operation context.
Definition types.h:30
psa_algorithm_t alg
MAC algorithm used for multi-part MAC operations.
Definition types.h:31
#define PSA_MAC_OPERATION_INIT
This macro returns a suitable initializer for a MAC operation object of type psa_mac_operation_t.
Definition types.h:69
static psa_mac_operation_t psa_mac_operation_init(void)
Return an initial value for a MAC operation object.
Definition types.h:76
struct psa_mac_operation_s psa_mac_operation_t
The type of the state object for multi-part MAC operations.
Definition types.h:63