co_mech_ops
if (src->co_mech_ops != NULL)
dst->co_mech_ops = kmem_alloc(sizeof (crypto_mech_ops_t),
if (desc->pd_ops_vector->co_mech_ops != NULL)
kmem_free(desc->pd_ops_vector->co_mech_ops,
KCF_SPI_COPY_OPS(src_ops, dst_ops, co_mech_ops);
#define KCF_PROV_MECH_OPS(pd) ((pd)->pd_ops_vector->co_mech_ops)
crypto_mech_ops_t *co_mech_ops;
#define co_mech_ops cou.cou_v2.co_mech_ops