mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
x448 test vectors (#4576)
This commit is contained in:
parent
3666786771
commit
1cd33bc4f0
2 changed files with 17 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ Asymmetric ciphers
|
|||
* `Botan's ECC private keys`_.
|
||||
* `asymmetric/public/PKCS1/dsa.pub.pem`_ is a PKCS1 DSA public key from the
|
||||
Ruby test suite.
|
||||
* X25519 test vectors from :rfc:`7748`.
|
||||
* X25519 and X448 test vectors from :rfc:`7748`.
|
||||
* RSA OAEP with custom label from the `BoringSSL evp tests`_.
|
||||
|
||||
|
||||
|
|
|
|||
16
vectors/cryptography_vectors/asymmetric/X448/rfc7748.txt
Normal file
16
vectors/cryptography_vectors/asymmetric/X448/rfc7748.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# From https://tools.ietf.org/html/rfc7748#section-5.2
|
||||
|
||||
COUNT = 1
|
||||
INPUT_SCALAR = 3d262fddf9ec8e88495266fea19a34d28882acef045104d0d1aae121700a779c984c24f8cdd78fbff44943eba368f54b29259a4f1c600ad3
|
||||
INPUT_U = 06fce640fa3487bfda5f6cf2d5263f8aad88334cbd07437f020f08f9814dc031ddbdc38c19c6da2583fa5429db94ada18aa7a7fb4ef8a086
|
||||
OUTPUT_U = ce3e4ff95a60dc6697da1db1d85e6afbdf79b50a2412d7546d5f239fe14fbaadeb445fc66a01b0779d98223961111e21766282f73dd96b6f
|
||||
|
||||
COUNT = 2
|
||||
INPUT_SCALAR = 203d494428b8399352665ddca42f9de8fef600908e0d461cb021f8c538345dd77c3e4806e25f46d3315c44e0a5b4371282dd2c8d5be3095f
|
||||
INPUT_U = 0fbcc2f993cd56d3305b0b7d9e55d4c1a8fb5dbb52f8e9a1e9b6201b165d015894e56c4d3570bee52fe205e28a78b91cdfbde71ce8d157db
|
||||
OUTPUT_U = 884a02576239ff7a2f2f63b2db6a9ff37047ac13568e1e30fe63c4a7ad1b3ee3a5700df34321d62077e63633c575c1c954514e99da7c179d
|
||||
|
||||
COUNT = 3
|
||||
INPUT_SCALAR = 0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
INPUT_U = 0500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
OUTPUT_U = 3f482c8a9f19b01e6c46ee9711d9dc14fd4bf67af30765c2ae2b846a4d23a8cd0db897086239492caf350b51f833868b9bc2b3bca9cf4113
|
||||
Loading…
Reference in a new issue