ISARA Quantum Resistant Toolkit  Version 1.1
Quantum resistant cryptographic primitives and algorithms.
iqr_context.h
Go to the documentation of this file.
1 
18 #ifndef IQR_CONTEXT_H
19 #define IQR_CONTEXT_H
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 #include "iqr_api.h"
26 #include "iqr_retval.h"
27 
28 // ---------------------------------------------------------------------------------------------------------------------------------
29 // Opaque data type.
30 // ---------------------------------------------------------------------------------------------------------------------------------
31 
33 typedef struct iqr_Context_struct iqr_Context;
34 
35 // ---------------------------------------------------------------------------------------------------------------------------------
36 // Context functions.
37 // ---------------------------------------------------------------------------------------------------------------------------------
38 
51 IQR_API
53 
63 IQR_API_UNENFORCED_RETURN
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif /* IQR_CONTEXT_H */
IQR_API iqr_retval iqr_CreateContext(iqr_Context **context)
IQR_API_UNENFORCED_RETURN iqr_retval iqr_DestroyContext(iqr_Context **context)
struct iqr_Context_struct iqr_Context
Definition: iqr_context.h:33
iqr_retval
Definition: iqr_retval.h:26