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

Commit 40eb8f53 authored by David Drysdale's avatar David Drysdale
Browse files

KeyMint AIDL tweaks

- Describe 3DES requirements
- Remove references to non-existent getKeyCharacteristics() entrypoint
- Remove references to non-existent attestKey() entrypoint
- Remove mention of asymmetric verification operations
- Remove text describing incomplete update()
- Remove text discussing padding for ECDSA
- EC keys can't encrypt/decrypt
- Force use of curve not key size for EC keys
- Drop TODO re: CBOR encoding of wrapped key
- Indicate caller-provided nonces must have correct size
- Add more reference to IKeyMintOperation
- Align parameter names with signatures
- Correct MIN_MAC_LENGTH error code
- Make CREATION_DATETIME consistently optional
- Describe use of MGF1 digest option
- Fix typos

Test: VtsKeyMintAidlTargetTest (CF)
Change-Id: Ie01b99d33be7336e872bf24a7761a3ac5b1d584c
parent b4be35f8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -25,7 +25,10 @@ import android.hardware.security.keymint.KeyParameter;
 */
@VintfStability
parcelable BeginResult {
    /* This is the challenge used in verifyAuthorization.  It must be a nonce. */
    /**
     * This is the challenge used to verify authorization of an operation.
     * See IKeyMintOperation.aidl entrypoints updateAad() and update().
     */
    long challenge;

    /**
Loading