Skip to content

Commit

Permalink
Use actual length instead of hard-coding
Browse files Browse the repository at this point in the history
  • Loading branch information
subrahmanyaman committed Jun 25, 2022
1 parent f55412a commit 4b2ad71
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 4b2ad71

Please sign in to comment.