Encrypt or decrypt one 8‐byte Blowfish block in ECB mode (deprecated).

Synopsis

Declared in <openssl/blowfish.h>

[[deprecated]]
void
BF_ecb_encrypt(
    unsigned char const* in,
    unsigned char* out,
    BF_KEY const* 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 buffer (may equal in).

key

Expanded Blowfish key schedule from BF_set_key().

enc

BF_ENCRYPT to encrypt, or BF_DECRYPT to decrypt.

Created with MrDocs