Encrypt or decrypt one RC2 block in ECB mode (deprecated).
Synopsis
Declared in <openssl/rc2.h>
[[deprecated]]
void
RC2_ecb_encrypt(
unsigned char const* in,
unsigned char* out,
RC2_KEY* key,
int enc);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Parameters
Name |
Description |
in |
8‐byte input block. |
out |
8‐byte output block (may equal |
key |
Expanded key from RC2_set_key(). |
enc |
RC2_ENCRYPT to encrypt, or RC2_DECRYPT to decrypt. |
Created with MrDocs