SEED_cbc_encrypt

Encrypt or decrypt data with SEED in CBC mode (deprecated; prefer EVP).

Synopsis

Declared in <openssl/seed.h>

[[deprecated]]
void
SEED_cbc_encrypt(
    unsigned char const* in,
    unsigned char* out,
    size_t len,
    SEED_KEY_SCHEDULE const* ks,
    unsigned char ivec[],
    int enc);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
inInput bytes of length len.
outOutput buffer of length len.
lenNumber of bytes to process (should be a multiple of SEED_BLOCK_SIZE).
ksExpanded SEED key schedule.
ivec16-byte IV updated in place.
encNonzero to encrypt, or zero to decrypt.