[#Camellia_cfb128_encrypt]
= Camellia&lowbar;cfb128&lowbar;encrypt
:mrdocs:

Encrypt or decrypt data with Camellia in 128&hyphen;bit CFB mode (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;camellia&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
Camellia&lowbar;cfb128&lowbar;encrypt(
    unsigned char const* in,
    unsigned char* out,
    size&lowbar;t length,
    xref:CAMELLIA_KEY.adoc[CAMELLIA&lowbar;KEY] const* key,
    unsigned char* ivec,
    int* num,
    int const enc);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *in*
| Input buffer of `length` bytes&period;
| *out*
| Output buffer of at least `length` bytes (may equal `in)&period;`
| *length*
| Number of bytes to process (need not be block&hyphen;aligned)&period;
| *key*
| Expanded Camellia key from Camellia&lowbar;set&lowbar;key()&period;
| *ivec*
| 16&hyphen;byte IV&semi; updated with running feedback state on return&period;
| *num*
| Byte offset into the feedback buffer (0–15)&semi; updated on return&semi; initialize to 0 with `ivec&period;`
| *enc*
| Non&hyphen;zero to encrypt, zero to decrypt&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
