In https://github.com/cfrg/draft-irtf-cfrg-opaque/pull/411, the test vectors were updated to ensure that keypair generation was done using the specified derivation method (using DeriveDiffieHellmanKeyPair). The test vectors also were updated to include the seed used to generate the keypair, as opposed to the private key itself. The constant string "OPAQUE-DeriveAuthKeyPair" was also updated to now be "OPAQUE-DeriveDiffieHellmanKeyPair"
Previously, this implementation just generated the private key randomly and derived the corresponding public key in a way that matched the test vectors. Now that the test vectors have become more strict, it revealed that we were not generating them according to specification.
This PR fixes that, and also pulls in the new test vectors to make sure they match.
In https://github.com/cfrg/draft-irtf-cfrg-opaque/pull/411, the test vectors were updated to ensure that keypair generation was done using the specified derivation method (using DeriveDiffieHellmanKeyPair). The test vectors also were updated to include the seed used to generate the keypair, as opposed to the private key itself. The constant string "OPAQUE-DeriveAuthKeyPair" was also updated to now be "OPAQUE-DeriveDiffieHellmanKeyPair"
Previously, this implementation just generated the private key randomly and derived the corresponding public key in a way that matched the test vectors. Now that the test vectors have become more strict, it revealed that we were not generating them according to specification.
This PR fixes that, and also pulls in the new test vectors to make sure they match.