rfc3961_do_encrypt
rfc3961_do_encrypt(cipher, NULL, &inblock, &outblock);
ret = rfc3961_do_encrypt(cipher, NULL, in_data, result);