CAST_encrypt

Encrypt one CAST block in place as two CAST_LONG words (deprecated low-level).

Synopsis

Declared in <openssl/cast.h>

[[deprecated]]
void
CAST_encrypt(
    unsigned int* data,
    CAST_KEY const* key);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
dataTwo CAST_LONG words holding the 64-bit block (host endianness).
keyExpanded CAST key from CAST_set_key().