Next: , Previous: Cipher modules, Up: Symmetric cryptography


5.3 Available cipher modes

GCRY_CIPHER_MODE_NONE
No mode specified, may be set later using other functions. The value of this constant is always 0.
GCRY_CIPHER_MODE_ECB
Electronic Codebook mode.
GCRY_CIPHER_MODE_CFB
Cipher Feedback mode.
GCRY_CIPHER_MODE_CBC
Cipher Block Chaining mode.
GCRY_CIPHER_MODE_STREAM
Stream mode, only to be used with stream cipher algorithms.
GCRY_CIPHER_MODE_OFB
Output Feedback mode.
GCRY_CIPHER_MODE_CTR
Counter mode.