I programming using BIO and I have a question about the BIO_set_cipher parameter. Now,i did my research and I read that
"BIO_set_cipher() sets the cipher of BIO <b> to cipher using key key and IV iv.
enc should be set to 1 for encryption and zero for decryption".
So correct me if im wrong, but all i would have to do to decrpyt something is
to change
BIO_set_cipher(cipher, EVP_aes_256_ecb(), key, NULL, 1);
toBIO_set_cipher(cipher, EVP_aes_256_ecb(), key, NULL, 0); ?
