- SILC_CIPHER_API_DEF("aes-256-ctr", aes_ctr, 256, 16, 16),
- SILC_CIPHER_API_DEF("aes-192-ctr", aes_ctr, 192, 16, 16),
- SILC_CIPHER_API_DEF("aes-128-ctr", aes_ctr, 128, 16, 16),
- SILC_CIPHER_API_DEF("aes-256-cbc", aes_cbc, 256, 16, 16),
- SILC_CIPHER_API_DEF("aes-192-cbc", aes_cbc, 192, 16, 16),
- SILC_CIPHER_API_DEF("aes-128-cbc", aes_cbc, 128, 16, 16),
- SILC_CIPHER_API_DEF("twofish-256-cbc", twofish_cbc, 256, 16, 16),
- SILC_CIPHER_API_DEF("twofish-192-cbc", twofish_cbc, 192, 16, 16),
- SILC_CIPHER_API_DEF("twofish-128-cbc", twofish_cbc, 128, 16, 16),
- SILC_CIPHER_API_DEF("cast-256-cbc", cast_cbc, 256, 16, 16),
- SILC_CIPHER_API_DEF("cast-192-cbc", cast_cbc, 192, 16, 16),
- SILC_CIPHER_API_DEF("cast-128-cbc", cast_cbc, 128, 16, 16),
+ SILC_CIPHER_API_DEF("aes-256-ctr", aes_ctr, 256, 16, 16,
+ SILC_CIPHER_MODE_CTR),
+ SILC_CIPHER_API_DEF("aes-192-ctr", aes_ctr, 192, 16, 16,
+ SILC_CIPHER_MODE_CTR),
+ SILC_CIPHER_API_DEF("aes-128-ctr", aes_ctr, 128, 16, 16,
+ SILC_CIPHER_MODE_CTR),
+ SILC_CIPHER_API_DEF("aes-256-cbc", aes_cbc, 256, 16, 16,
+ SILC_CIPHER_MODE_CBC),
+ SILC_CIPHER_API_DEF("aes-192-cbc", aes_cbc, 192, 16, 16,
+ SILC_CIPHER_MODE_CBC),
+ SILC_CIPHER_API_DEF("aes-128-cbc", aes_cbc, 128, 16, 16,
+ SILC_CIPHER_MODE_CBC),
+ SILC_CIPHER_API_DEF("twofish-256-cbc", twofish_cbc, 256, 16, 16,
+ SILC_CIPHER_MODE_CBC),
+ SILC_CIPHER_API_DEF("twofish-192-cbc", twofish_cbc, 192, 16, 16,
+ SILC_CIPHER_MODE_CBC),
+ SILC_CIPHER_API_DEF("twofish-128-cbc", twofish_cbc, 128, 16, 16,
+ SILC_CIPHER_MODE_CBC),
+ SILC_CIPHER_API_DEF("cast-256-cbc", cast_cbc, 256, 16, 16,
+ SILC_CIPHER_MODE_CBC),
+ SILC_CIPHER_API_DEF("cast-192-cbc", cast_cbc, 192, 16, 16,
+ SILC_CIPHER_MODE_CBC),
+ SILC_CIPHER_API_DEF("cast-128-cbc", cast_cbc, 128, 16, 16,
+ SILC_CIPHER_MODE_CBC),