pub/t/x*: Rearrange the Monte-Carlo tests.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 19 Oct 2017 18:35:23 +0000 (19:35 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 19 Oct 2017 18:35:23 +0000 (19:35 +0100)
commit1e4c26653e52aa4c4b06e345617135a6ff271ab5
tree2765d25285efd8935a719ccb8a00d99529829cbd
parent814bf4c5e6e79dd20661786a5a32b5b287d252da
pub/t/x*: Rearrange the Monte-Carlo tests.

  * Insert more intermediate values, specifically at every power of 10.

  * Rather than calculating the whole thing from scratch each time,
    tests other than the first one continue from the previous
    state (which I had to calculate the hard way and enter into the
    test-vector files).  The total iteration count and final results
    still match the RFC.

  * Split the very slow high-iteration-count tests into a separate file,
    where they can be run discretionally without having to edit source
    files.  Arrange to distribute these new files.
pub/Makefile.am
pub/t/x25519
pub/t/x25519.slow [new file with mode: 0644]
pub/t/x448
pub/t/x448.slow [new file with mode: 0644]