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

Reply via email to