Skip to content

Commit

Permalink
Merge pull request #182 from subrahmanyaman/Javacard_KM_41_AOSP_UPMER…
Browse files Browse the repository at this point in the history
…GE_0630

Keymaster4.1 : Use const variable instead of hard-coded length.
  • Loading branch information
mdwivedi authored Jun 27, 2022
2 parents 32850ff + 4b2ad71 commit 9971f23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public KMAndroidSEProvider() {
}

public void clean() {
Util.arrayFillNonAtomic(tmpArray, (short) 0, (short) 256, (byte) 0);
Util.arrayFillNonAtomic(tmpArray, (short) 0, TMP_ARRAY_SIZE, (byte) 0);
}

private void initECKey(KeyPair ecKeyPair) {
Expand Down

0 comments on commit 9971f23

Please sign in to comment.