Skip to content

Commit 77be33e

Browse files
committed
Document origin of Argon2 test vectors
1 parent 303d59f commit 77be33e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pg/src/test/java/org/bouncycastle/openpgp/test/Argon2S2KTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class Argon2S2KTest
4242

4343
static final String TEST_MSG_PASSWORD = "password";
4444

45-
// Test message from the crypto-refresh-05 document
45+
// https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-13.html#name-version-4-skesk-using-argon
4646
static final String TEST_MSG_AES128 = "-----BEGIN PGP MESSAGE-----\n" +
4747
"Comment: Encrypted using AES with 128-bit key\n" +
4848
"Comment: Session key: 01FE16BBACFD1E7B78EF3B865187374F\n" +
@@ -53,7 +53,7 @@ public class Argon2S2KTest
5353
"=uIks\n" +
5454
"-----END PGP MESSAGE-----";
5555

56-
// Test message from the crypto-refresh-05 document
56+
// https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-13.html#name-version-4-skesk-using-argon2
5757
private static final String TEST_MSG_AES192 = "-----BEGIN PGP MESSAGE-----\n" +
5858
"Comment: Encrypted using AES with 192-bit key\n" +
5959
"Comment: Session key: 27006DAE68E509022CE45A14E569E91001C2955AF8DFE194\n" +
@@ -64,7 +64,7 @@ public class Argon2S2KTest
6464
"=n8Ma\n" +
6565
"-----END PGP MESSAGE-----";
6666

67-
// Test message from the crypto-refresh-05 document
67+
// https://www.ietf.org/archive/id/draft-ietf-openpgp-crypto-refresh-13.html#name-version-4-skesk-using-argon2-
6868
private static final String TEST_MSG_AES256 = "-----BEGIN PGP MESSAGE-----\n" +
6969
"Comment: Encrypted using AES with 192-bit key\n" +
7070
"Comment: Session key: 27006DAE68E509022CE45A14E569E91001C2955AF8DFE194\n" +

0 commit comments

Comments
 (0)