Blowfish as an engine
  Home FAQ Contact Sign in
mailing.openssl.dev only
 
Advanced search
POPULAR GROUPS

more...

mailing.openssl.dev Profile…
 Up
Blowfish as an engine         


Author: Mehdi Asgari
Date: Jun 10, 2008 05:58

Hi
I want to add my own implementation of Blowfish to OpenSSL as an engine.
My program stops at EVP_add_cipher, and here is my EVP_CIPHER struct:

const EVP_CIPHER AgahBF_bf_ecb = {
9999,
8, 16, 0,
EVP_CIPH_ECB_MODE,
MyBF_init_key,
MyBF_ecb_encrypt,
MyBF_cleanup,
sizeof(BLOWFISH_CTX),
EVP_CIPHER_set_asn1_iv,
EVP_CIPHER_get_asn1_iv,
NULL,
NULL
};

Is my NID wrong ? (It's custom, so I chose 9999)
Could anyone help me in setting this struct's fields ?
Thanks
Show full article (1.16Kb)
no comments