MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClKey_DerivationAlgorithms_HKDF.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2023 NXP */
3/* */
4/* NXP Proprietary. This software is owned or controlled by NXP and may */
5/* only be used strictly in accordance with the applicable license terms. */
6/* By expressly accepting such terms or by downloading, installing, */
7/* activating and/or otherwise using the software, you are agreeing that */
8/* you have read, and that you agree to comply with and are bound by, such */
9/* license terms. If you do not agree to be bound by the applicable */
10/* license terms, then you may not retain, install, activate or otherwise */
11/* use the software. */
12/*--------------------------------------------------------------------------*/
13
19#ifndef MCUXCLKEY_DERIVATIONALGORITHMS_HKDF_H_
20#define MCUXCLKEY_DERIVATIONALGORITHMS_HKDF_H_
21
22#include <mcuxClConfig.h> // Exported features flags header
23
24#include <mcuxCsslAnalysis.h>
25#include <mcuxClKey.h>
26#include <mcuxClMac.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
47 mcuxClKey_DerivationMode_t * pDerivationMode,
48 const mcuxClKey_DerivationAlgorithmDescriptor_t * derivationAlgorithm,
49 mcuxClMac_Mode_t macMode,
50 uint32_t options // currently no options for this mode
51);
52
56extern const mcuxClKey_DerivationAlgorithmDescriptor_t mcuxClKey_DerivationAlgorithmDescriptor_HKDF;
57
65MCUX_CSSL_ANALYSIS_START_SUPPRESS_DECLARED_BUT_NEVER_REFERENCED("Consumed by user / customer. Hence, it is declared but never referenced.")
67MCUX_CSSL_ANALYSIS_STOP_SUPPRESS_DECLARED_BUT_NEVER_REFERENCED()
68
69#ifdef __cplusplus
70} /* extern "C" */
71#endif
72
73#endif /* MCUXCLKEY_DERIVATIONALGORITHMS_HKDF_H_ */
Top-level include file for the mcuxClKey component.
mcuxClKey_Status_t mcuxClKey_Derivation_ModeConstructor_HKDF(mcuxClKey_DerivationMode_t *pDerivationMode, const mcuxClKey_DerivationAlgorithmDescriptor_t *derivationAlgorithm, mcuxClMac_Mode_t macMode, uint32_t options)
Construct a key derivation function (KDF) mode according to RFC5869.
const mcuxClKey_DerivationAlgorithmDescriptor_t mcuxClKey_DerivationAlgorithmDescriptor_HKDF
RFC5869 key derivation algorithm descriptor.
static mcuxClKey_DerivationAlgorithm_t mcuxClKey_DerivationAlgorithm_HKDF
RFC5869 key derivation algorithm type.
Definition mcuxClKey_DerivationAlgorithms_HKDF.h:66
Top-level include file for the mcuxClMac component.
uint32_t mcuxClKey_Status_t
Type for Key component error codes.
Definition mcuxClKey_Types.h:47
const mcuxClMac_ModeDescriptor_t *const mcuxClMac_Mode_t
MAC mode/algorithm type.
Definition mcuxClMac_Types.h:67
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition mcuxCsslFlowProtection.h:125
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:81