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

Commit b8fe0e98 authored by Eran Messeri's avatar Eran Messeri Committed by Gerrit Code Review
Browse files

Merge "Clarifying the KM challenge size" into main

parents ecf90eb7 83a90a4d
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1596,6 +1596,8 @@ public final class KeyGenParameterSpec implements AlgorithmParameterSpec, UserAu
         * {@link #getAttestationChallenge()} returns non-null and the spec is used to generate a
         * {@link #getAttestationChallenge()} returns non-null and the spec is used to generate a
         * symmetric (AES or HMAC) key, {@link javax.crypto.KeyGenerator#generateKey()} will throw
         * symmetric (AES or HMAC) key, {@link javax.crypto.KeyGenerator#generateKey()} will throw
         * {@link java.security.InvalidAlgorithmParameterException}.
         * {@link java.security.InvalidAlgorithmParameterException}.
         *
         * <p>The challenge may be up to 128 bytes.
         */
         */
        @NonNull
        @NonNull
        public Builder setAttestationChallenge(byte[] attestationChallenge) {
        public Builder setAttestationChallenge(byte[] attestationChallenge) {