Encrypt or decrypt with AES in bidirectional IGE mode (deprecated; prefer EVP).

Synopsis

Declared in <openssl/aes.h>

[[deprecated]]
void
AES_bi_ige_encrypt(
    unsigned char const* in,
    unsigned char* out,
    size_t length,
    AES_KEY const* key,
    AES_KEY const* key2,
    unsigned char const* ivec,
    int const enc);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Parameters

Name

Description

in

Input bytes of length length (multiple of AES_BLOCK_SIZE).

out

Output buffer of length length (may equal in).

length

Number of bytes to process.

key

First expanded AES key schedule.

key2

Second expanded AES key schedule used in the bidirectional step.

ivec

64‐byte (four‐block) IV; not updated by this call.

enc

AES_ENCRYPT to encrypt, or AES_DECRYPT to decrypt.

Created with MrDocs