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

Name

Description

in

Input bytes of length len.

out

Output buffer of length len.

len

Number of bytes to process (should be a multiple of SEED_BLOCK_SIZE).

ks

Expanded SEED key schedule.

ivec

16‐byte IV updated in place.

enc

Nonzero to encrypt, or zero to decrypt.

Created with MrDocs