Encrypt or decrypt data with CAST in 64-bit CFB mode (deprecated; prefer EVP).
Declared in <openssl/cast.h>
[[deprecated]]
void
CAST_cfb64_encrypt(
unsigned char const* in,
unsigned char* out,
long length,
CAST_KEY const* schedule,
unsigned char* ivec,
int* num,
int enc);
Deprecated. Use of this entity is allowed but discouraged.
| Name | Description |
|---|---|
| in | Input bytes of length length. |
| out | Output buffer of length length (may equal in). |
| length | Number of bytes to process. |
| schedule | Expanded CAST key from CAST_set_key(). |
| ivec | 8-byte IV updated in place. |
| num | Feedback offset into the IV (updated; typically starts at 0). |
| enc | CAST_ENCRYPT to encrypt, or CAST_DECRYPT to decrypt. |