Callback that encrypts or decrypts whole 16-byte blocks in CTR mode.
Declared in <openssl/modes.h>
typedef void(* ctr128_f)(unsigned char const*, unsigned char*, size_t, void const*, unsigned char const[]);
| Name | Description |
|---|---|
| in | Input ciphertext or plaintext blocks. |
| out | Output buffer for the transformed blocks. |
| blocks | Number of 16-byte blocks to process. |
| key | Cipher-specific expanded key schedule. |
| ivec | 16-byte counter block for the stream. |