MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
els_pkc_crypto_composites.h
Go to the documentation of this file.
1/*
2 * Copyright 2023-2024 NXP
3 * All rights reserved.
4 *
5 *
6 * SPDX-License-Identifier: BSD-3-Clause
7 */
8
9#ifndef ELS_PKC_CRYPTO_COMPOSITES_H
10#define ELS_PKC_CRYPTO_COMPOSITES_H
11
19/* Include CLNS header files */
20#include <mcuxClPsaDriver_MemoryConsumption.h>
21#include <mcuxClKey.h>
22#include <mcuxClMac.h>
23#include <mcuxClMacModes.h>
24#include <mcuxClAead.h>
25
26typedef struct {
27 uint8_t clns_data[MCUXCLPSADRIVER_CLNSDATA_MAC_SIZE];
29
30#define ELS_PKC_PSA_MAC_OPERATION_INIT { { 0 } }
31
32typedef struct {
33 psa_algorithm_t alg;
34 psa_key_type_t key_type;
35 uint8_t is_encrypt;
36 uint8_t tag_length;
37
38 uint32_t body_started;
39 uint32_t ad_remaining;
40 uint32_t body_remaining;
41 uint32_t nonce_set;
42
43 uint8_t clns_data[MCUXCLPSADRIVER_CLNSDATA_AEAD_SIZE];
45
46#define ELS_PKC_PSA_AEAD_OPERATION_INIT { 0, 0, 0, 0, 0, 0, 0, 0, { 0 } }
47
48#endif /* ELS_PKC_CRYPTO_COMPOSITES_H */
Top-level include file for the mcuxClAead component.
Top-level include file for the mcuxClKey component.
Top-level include file for the mcuxClMac component.
Definition els_pkc_crypto_composites.h:26
Definition els_pkc_crypto_composites.h:32