CKM_AES_CBC (and CKM_DES3_CBC) seem to support the wrap operation, but not the unwrap operation, this is kind of silly.
Given that AES_CBC_PAD does implement both, I suspect it's easy to add unwrapping support (also it looks like the unpadded wrapping code needs to be fixed to actually copy the IV).
CKM_AES_CBC(andCKM_DES3_CBC) seem to support the wrap operation, but not the unwrap operation, this is kind of silly.Given that
AES_CBC_PADdoes implement both, I suspect it's easy to add unwrapping support (also it looks like the unpadded wrapping code needs to be fixed to actually copy the IV).