[#DES_encrypt1]
= DES&lowbar;encrypt1
:mrdocs:

Encrypt or decrypt one DES block in place with IP and FP (deprecated low&hyphen;level core)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
DES&lowbar;encrypt1(
    xref:DES_LONG.adoc[DES&lowbar;LONG]* data,
    xref:DES_key_schedule.adoc[DES&lowbar;key&lowbar;schedule]* ks,
    int 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
| *data*
| Two DES&lowbar;LONG words holding the 64&hyphen;bit block in little&hyphen;endian byte order&period;
| *ks*
| Expanded DES key schedule&period;
| *enc*
| Non&hyphen;zero to encrypt, or zero to decrypt&period;
|===


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