44 #if !defined( BFR_UNIT )
57 #if defined(__cplusplus)
72 # define RETURN_WARN 1
74 # define RETURN_ERROR -1
81 #define GCM_BLOCK_SIZE AES_BLOCK_SIZE
87 #if defined( TABLES_64K )
90 #if defined( TABLES_8K )
93 #if defined( TABLES_4K )
96 #if defined( TABLES_256 )
114 const unsigned char key[],
115 unsigned long key_len,
124 const unsigned char iv[],
125 unsigned long iv_len,
126 const unsigned char hdr[],
127 unsigned long hdr_len,
129 unsigned long msg_len,
131 unsigned long tag_len,
137 const unsigned char iv[],
138 unsigned long iv_len,
139 const unsigned char hdr[],
140 unsigned long hdr_len,
142 unsigned long msg_len,
143 const unsigned char tag[],
144 unsigned long tag_len,
152 const unsigned char iv[],
153 unsigned long iv_len,
157 const unsigned char hdr[],
158 unsigned long hdr_len,
162 unsigned char data[],
163 unsigned long data_len,
167 unsigned char data[],
168 unsigned long data_len,
173 unsigned long tag_len,
205 const unsigned char data[],
206 unsigned long data_len,
210 unsigned char data[],
211 unsigned long data_len,
214 #if defined(__cplusplus)