Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61519122 authored by David Drysdale's avatar David Drysdale
Browse files

KeyMint: wrapping key must be RSA

The description of the `unwrappingParams` parameter to
`importWrappedKey` incorrectly implies that the wrapping key might be an
AES key.  This is not supported; it must be an RSA key as indicated 20
lines further up.

Test: None, comment change
Change-Id: Iabe6125ba8de0c6273f26fef2ed57e15e67a7311
parent 2233a9b2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -479,8 +479,8 @@ interface IKeyMintDevice {
     *        structure.
     *
     * @param unwrappingParams must contain any parameters needed to perform the unwrapping
     *        operation.  For example, if the wrapping key is an AES key the block and padding modes
     *        must be specified in this argument.
     *        operation.  For example, the padding mode for the RSA wrapping key must be specified
     *        in this argument.
     *
     * @param passwordSid specifies the password secure ID (SID) of the user that owns the key being
     *        installed.  If the authorization list in wrappedKeyData contains a