Encrypt or decrypt with a 128-bit block cipher in 1-bit CFB mode.
Declared in <openssl/modes.h>
void
CRYPTO_cfb128_1_encrypt(
unsigned char const* in,
unsigned char* out,
size_t bits,
void const* key,
unsigned char ivec[],
int* num,
int enc,
block128_f block);
| Name | Description |
|---|---|
| in | Input bits packed most-significant-bit first. |
| out | Output buffer holding the transformed bits (same packing). |
| bits | Number of bits to process. |
| key | Cipher-specific expanded key for block. |
| ivec | 16-byte IV / feedback block updated in place. |
| num | Offset into the current CFB block (updated). |
| enc | Non-zero to encrypt, zero to decrypt. |
| block | Block-encrypt function for the underlying cipher. |