Hi Arek, > I do not have any particular security issues in mind here, and if PMD need to > copy keys internally, for alignment or padding purposes, redundancy problems > can be overcome. My concern was, that it is the more natural way of handling > the API; we have one key, multiple padding schemes, so we reflect this logic > in > the API. > > Both options are widely used; libcrypto, for example is setting padding within > session, other languages like Go, Rust are setting it as an argument to the > method of the key struct. > > If this is that problematic with VirtIO compatibility, I say this change is > okay. >
Thank you for your input. I understand your concern. We ensure the impact Is nominal and make changes if needed. Thanks,