Skip to content

Commit

Permalink
TKSS-848: SM3HMacPerfTest uses Kona SM3HMac twice
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshajiang committed Sep 2, 2024
1 parent 2598b38 commit 9fb1822
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022, 2023, THL A29 Limited, a Tencent company. All rights reserved.
* Copyright (C) 2022, 2024, THL A29 Limited, a Tencent company. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -83,7 +83,7 @@ public static class MacHolderBC {

@Setup(Level.Trial)
public void setup() throws Exception {
mac = Mac.getInstance("HMACSM3", PROVIDER);
mac = Mac.getInstance("HMACSM3", "BC");
mac.init(SECRET_KEY);
}
}
Expand Down

0 comments on commit 9fb1822

Please sign in to comment.