@@ -180,6 +180,15 @@ static const crypt_size _crypt_sizes[] = {
180180#ifdef LTC_PMAC
181181 _SZ_STRINGIFY_T (pmac_state ),
182182#endif
183+ #ifdef LTC_POLY1305
184+ _SZ_STRINGIFY_T (poly1305_state ),
185+ #endif
186+ #ifdef LTC_BLAKE2SMAC
187+ _SZ_STRINGIFY_T (blake2smac_state ),
188+ #endif
189+ #ifdef LTC_BLAKE2BMAC
190+ _SZ_STRINGIFY_T (blake2bmac_state ),
191+ #endif
183192#ifdef LTC_XCBC
184193 _SZ_STRINGIFY_T (xcbc_state ),
185194#endif
@@ -189,17 +198,17 @@ static const crypt_size _crypt_sizes[] = {
189198#ifdef LTC_OCB3_MODE
190199 _SZ_STRINGIFY_T (ocb3_state ),
191200#endif
201+ #ifdef LTC_CHACHA20POLY1305_MODE
202+ _SZ_STRINGIFY_T (chacha20poly1305_state ),
203+ #endif
192204#ifdef LTC_GCM_MODE
193205 _SZ_STRINGIFY_T (gcm_state ),
194206#endif
195207#ifdef LTC_EAX_MODE
196208 _SZ_STRINGIFY_T (eax_state ),
197209#endif
198210#ifdef LTC_CCM_MODE
199- /* not defined */
200- #endif
201- #ifdef LRW_MODE
202- /* not defined */
211+ _SZ_STRINGIFY_T (ccm_state ),
203212#endif
204213
205214 /* asymmetric keys */
@@ -242,6 +251,16 @@ static const crypt_size _crypt_sizes[] = {
242251 /* sprng has no state as it uses other potentially available sources */
243252 /* like /dev/random. See Developers Guide for more info. */
244253
254+ #ifdef LTC_SOBER128_STREAM
255+ _SZ_STRINGIFY_T (sober128_state ),
256+ #endif
257+ #ifdef LTC_RC4_STREAM
258+ _SZ_STRINGIFY_T (rc4_state ),
259+ #endif
260+ #ifdef LTC_CHACHA
261+ _SZ_STRINGIFY_T (chacha_state ),
262+ #endif
263+
245264#ifdef LTC_ADLER32
246265 _SZ_STRINGIFY_T (adler32_state ),
247266#endif
0 commit comments