OSDN Git Service

Update keymaster API to final signing spec
authorKenny Root <kroot@google.com>
Tue, 13 Mar 2012 16:22:21 +0000 (09:22 -0700)
committerKenny Root <kroot@google.com>
Tue, 13 Mar 2012 20:03:22 +0000 (13:03 -0700)
commit9271d04d888c5676ccd9707378d18cad0f06d607
treea6889e437af581b2729a469a61369cac799312df
parenta9a5f5d57fbcf0f953b940788625404dbcd2cc52
Update keymaster API to final signing spec

Switch from unspecified encoding for import of keys to PKCS#8 (Java
standard encoding).

Add function for obtaining the public key from a keypair.

Add fields for RSA key generation that indicate modulus size and desired
public exponent.

Add in placeholder fields for possible digest and padding types for
signatures. Currently the only thing supported is "none" and "none"
respectively.

Change-Id: I19ee02cf35321aee859e2460a963c7213791414b
include/hardware/keymaster.h