[Cryptech Tech] [Cryptech-Commits] [user/sra/aes-keywrap] 01/01: Initial commit of AES Key Wrap implementation.

Peter Gutmann pgut001 at cs.auckland.ac.nz
Sat May 9 07:48:52 UTC 2015


Russ Housley <housley at vigilsec.com> writes:

>According to PKCS #1, a RSA private key should be represented with the ASN.1
>type RSAPrivateKey.

I think a better format to use is the PKCS #15 one, which doesn't require
every single component to be present.  This has two benefits, firstly it makes
the key data smaller, and secondly it recognises the fact that since you never
need all of the components, some implementations don't generate them, so
there's nothing available to store.

(PKCS #15 also provides the format for wrapping the key).

Peter.


More information about the Tech mailing list