[#AES_set_decrypt_key] = AES_set_decrypt_key :mrdocs: Expand a user key into an AES decryption key schedule (deprecated; prefer EVP). == Synopsis Declared in `<openssl/aes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int AES_set_decrypt_key( unsigned char const* userKey, int const bits, xref:AES_KEY.adoc[AES_KEY]* key); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 0 on success, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *userKey* | Raw AES key bytes (16, 24, or 32 bytes for 128/192/256‐bit). | *bits* | Key length in bits (128, 192, or 256). | *key* | Destination expanded key schedule for AES_decrypt() and decrypting modes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#