[#RC2_set_key]
= RC2&lowbar;set&lowbar;key
:mrdocs:

Expand a raw RC2 key into an RC2&lowbar;KEY schedule (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
RC2&lowbar;set&lowbar;key(
    xref:RC2_KEY.adoc[RC2&lowbar;KEY]* key,
    int len,
    unsigned char const* data,
    int bits);
----

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

[cols="1,4"]
|===
| Name| Description
| *key*
| Destination schedule&period;
| *len*
| Number of key bytes at `data&period;`
| *data*
| Raw key octets&period;
| *bits*
| Effective key bits for RC2 (typically 8&period;&period;1024&semi; 0 selects a default of 1024)&period;
|===


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