get_mech_info
int get_mech_info(crypto_op_t *op);
if ((ret = get_mech_info(crypto_op)) != CRYPTO_SUCCESS) {