TrustCore SDK NanoCrypto API reference  version 7.0
ansix9_63_kdf.h
Go to the documentation of this file.
1 /*
2  * ansix9_63_kdf.h
3  *
4  * ansi x9.63 Key Derivation Function
5  *
6  * Copyright 2019-2024 DigiCert, Inc. All Rights Reserved.
7  * Proprietary and Confidential Material.
8  *
9  */
10 
21 #ifndef __ANSIX9_63_KDF_HEADER__
22 #define __ANSIX9_63_KDF_HEADER__
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
46 MOC_EXTERN MSTATUS ANSIX963KDF_generate( MOC_HASH(hwAccelDescr hwAccelCtx)
47  const BulkHashAlgo* pBulkHashAlgo,
48  ubyte* z, ubyte4 zLength,
49  const ubyte* sharedInfo, ubyte4 sharedInfoLen,
50  ubyte4 retLen, ubyte ret[/*retLen*/]);
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif /* __ANSIX9_63_KDF_HEADER__*/
57 
Structure to hold function pointers to hashing or extenable output methods.
Definition: crypto.h:133
MOC_EXTERN MSTATUS ANSIX963KDF_generate(MOC_HASH(hwAccelDescr hwAccelCtx) const BulkHashAlgo *pBulkHashAlgo, ubyte *z, ubyte4 zLength, const ubyte *sharedInfo, ubyte4 sharedInfoLen, ubyte4 retLen, ubyte ret[])
Performs the ANSI x9.63 Key Derivation.