BF_ecb_encrypt

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

NameDescription
in8-byte input block.
out8-byte output buffer (may equal in).
keyExpanded Blowfish key schedule from BF_set_key().
encBF_ENCRYPT to encrypt, or BF_DECRYPT to decrypt.