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

Commit 8b78dc50 authored by Seth Moore's avatar Seth Moore
Browse files

Correct the description for getKeyCharacteristics

The description should note that keystore-enforced tags are not to be
returned. This is done so that the keymint implementation doesn't have
to bother keeping track of tags it's not repsonsible for dealing with.

Fixes: 192575557
Test: none (it's just a comment change)
Change-Id: I3ff94201c262a5071d271b150dbbf21888d678aa
Merged-In: I3ff94201c262a5071d271b150dbbf21888d678aa
parent 0700d79f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -813,9 +813,10 @@ interface IKeyMintDevice {
    byte[] convertStorageKeyToEphemeral(in byte[] storageKeyBlob);

    /**
     * Returns parameters associated with the provided key. This should match the
     * KeyCharacteristics present in the KeyCreationResult returned by generateKey(),
     * importKey(), or importWrappedKey().
     * Returns KeyMint-enforced parameters associated with the provided key. The returned tags are
     * a subset of KeyCharacteristics found in the KeyCreationResult returned by generateKey(),
     * importKey(), or importWrappedKey(). The returned value is a subset, as it does not include
     * any Keystore-enforced parameters.
     *
     * @param keyBlob The opaque descriptor returned by generateKey, importKey or importWrappedKey.
     *