Ordo  0.3.4
Symmetric Cryptography Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
block_params.h
Go to the documentation of this file.
1 /*===-- primitives/block_ciphers/block_params.h --------*- PUBLIC -*- H -*-===*/
8 /*===----------------------------------------------------------------------===*/
9 
10 #ifndef ORDO_BLOCK_PARAMS_H
11 #define ORDO_BLOCK_PARAMS_H
12 
14 #include "ordo/common/interface.h"
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 /*===----------------------------------------------------------------------===*/
22 
26 {
29  uint64_t tweak[2];
30 };
31 
34 struct AES_PARAMS
35 {
42  unsigned int rounds;
43 };
44 
48 {
49  struct AES_PARAMS aes;
50  struct THREEFISH256_PARAMS threefish256;
51 };
52 
53 /*===----------------------------------------------------------------------===*/
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif
uint64_t tweak[2]
Definition: block_params.h:29
unsigned int rounds
Definition: block_params.h:42
Threefish-256 block cipher parameters.
Definition: block_params.h:25
Polymorphic block cipher parameter union.
Definition: block_params.h:47
AES block cipher parameters.
Definition: block_params.h:34