Logical provider members can offer the same mechanisms but for different purposes.
Misaki Kataoka supplied me with the following mars card (SCA-6000) example:
CKM_DES_CBC encrypt/decrypt is registered for mca0:CB provider and
CKM_DES_CBC wrap/unwrap is registered for mca0:OM provider.
Same mechanism used in two different ways. The kernel supplies raw information
to cryptoadm which does not filter out duplicates. Try 'cryptoadm list -m mca/0'
on a machine with a mars card.
Any provider that registers more than once with the crypto framework
can cause this to happen. The providers don't have to belong to
a logical provider.
|