GCRY_CIPHER_MODE_NONEGCRY_CIPHER_MODE_ECBGCRY_CIPHER_MODE_CFBGCRY_CIPHER_MODE_CBCGCRY_CIPHER_MODE_STREAMGCRY_CIPHER_MODE_OFBGCRY_CIPHER_MODE_CTRGCRY_CIPHER_MODE_AESWRAPgcry_cipher_setiv has not been used the
standard IV is used; if it has been used the lower 64 bit of the IV
are used as the Alternative Initial Value. On encryption the provided
output buffer must be 64 bit (8 byte) larger than the input buffer;
in-place encryption is still allowed. On decryption the output buffer
may be specified 64 bit (8 byte) shorter than then input buffer. As
per specs the input length must be at least 128 bits and the length
must be a multiple of 64 bits.