about summary refs log tree commit diff
path: root/src/rt/rust_exchange_alloc.cpp
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2013-07-29 21:12:20 -0400
committerPalmer Cox <p@lmercox.com>2013-08-02 18:49:00 -0400
commit281b79525b31affc7cdf5540e27c629a460cadab (patch)
tree409f602335a6179a98095d2849d91a391b99faaf /src/rt/rust_exchange_alloc.cpp
parent2cbe312343a31127de9d8e28f7b4ce04bc48768c (diff)
downloadrust-281b79525b31affc7cdf5540e27c629a460cadab.tar.gz
rust-281b79525b31affc7cdf5540e27c629a460cadab.zip
Crypto: Add large input tests for all Digests
Create a helper function in cryptoutil.rs which feeds 1,000,000 'a's into
a Digest with varying input sizes and then checks the result. This is
essentially the same as one of Sha1's existing tests, so, that test was
re-implemented using this method. New tests were added using this method for
Sha512 and Sha256.
Diffstat (limited to 'src/rt/rust_exchange_alloc.cpp')
0 files changed, 0 insertions, 0 deletions