diff options
| author | Palmer Cox <p@lmercox.com> | 2013-07-29 21:12:20 -0400 |
|---|---|---|
| committer | Palmer Cox <p@lmercox.com> | 2013-08-02 18:49:00 -0400 |
| commit | 281b79525b31affc7cdf5540e27c629a460cadab (patch) | |
| tree | 409f602335a6179a98095d2849d91a391b99faaf /src/rt/rust_exchange_alloc.cpp | |
| parent | 2cbe312343a31127de9d8e28f7b4ce04bc48768c (diff) | |
| download | rust-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
