Re: [PATCH 5/8] KEYS: Provide software public key query function [ver #2]

From: David Howells
Date: Fri Jun 24 2016 - 08:06:13 EST


Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> IOW exporting the raw RSA might make sense because the key may
> not be visible to user-space, or that the RSA might be implemented
> in hardware offload, but there is no sane reason to export pkcs1pad.

The problem is that if I'm to produce consistency with, say, the TPM
interface, then I have to deal in wrapped/padded data - leastways as far as I
can tell from reading the docs.

David