[#AES_cfb1_encrypt]
= AES&lowbar;cfb1&lowbar;encrypt
:mrdocs:

Encrypt or decrypt data with AES in 1&hyphen;bit CFB mode (deprecated&semi; prefer EVP)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
AES&lowbar;cfb1&lowbar;encrypt(
    unsigned char const* in,
    unsigned char* out,
    size&lowbar;t length,
    xref:AES_KEY.adoc[AES&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 bytes of length `length&period;`
| *out*
| Output buffer of length `length` (may equal `in)&period;`
| *length*
| Number of bytes to process&period;
| *key*
| Expanded AES key schedule&period;
| *ivec*
| 16&hyphen;byte IV updated in place&period;
| *num*
| Feedback bit offset into the IV (updated&semi; typically starts at 0)&period;
| *enc*
| AES&lowbar;ENCRYPT to encrypt, or AES&lowbar;DECRYPT to decrypt&period;
|===


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