Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2025 TU Dresden
3 * Copyright (C) 2021 HAW Hamburg
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser
6 * General Public License v2.1. See the file LICENSE in the top level
7 * directory for more details.
8 */
9
10#pragma once
11
12#include "psa/algorithm.h"
13
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
36
67
72#define PSA_MAC_OPERATION_INIT { 0 }
73
80{
82
83 return v;
84}
85
86#ifdef __cplusplus
87}
88#endif
89
Algorithm definitions for the PSA Crypto API.
uint32_t psa_algorithm_t
Encoding of a cryptographic algorithm.
Definition algorithm.h:38
Structure containing a MAC operation context.
Definition types.h:33
psa_algorithm_t alg
MAC algorithm used for multi-part MAC operations.
Definition types.h:34
#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:72
static psa_mac_operation_t psa_mac_operation_init(void)
Return an initial value for a MAC operation object.
Definition types.h:79
struct psa_mac_operation_s psa_mac_operation_t
The type of the state object for multi-part MAC operations.
Definition types.h:66