Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
18 lines
662 B
Plaintext
18 lines
662 B
Plaintext
$ java -cp classes Rfc5869Vectors (25.0.5+8-LTS)
|
|
== RFC 5869 A.1 basic (IKM 22 B, salt 13 B, info 10 B, L=42)
|
|
PASS extract+expand -> OKM
|
|
PASS extractOnly -> PRK
|
|
PASS expandOnly(PRK) -> OKM
|
|
== RFC 5869 A.2 long inputs (IKM 80 B, salt 80 B, info 80 B, L=82)
|
|
PASS extract+expand -> OKM
|
|
PASS extractOnly -> PRK
|
|
PASS expandOnly(PRK) -> OKM
|
|
== RFC 5869 A.3 empty salt and info (IKM 22 B, salt 0 B, info 0 B, L=42)
|
|
PASS extract+expand -> OKM
|
|
PASS extractOnly -> PRK
|
|
PASS expandOnly(PRK) -> OKM
|
|
== RFC 5869 cases 4 to 7 use SHA-1, which this provider does not offer
|
|
PASS HKDF-SHA1 -> NoSuchAlgorithmException
|
|
ALL CHECKS PASSED
|
|
exit=0
|