diff options
| author | Palmer Cox <p@lmercox.com> | 2013-07-30 00:07:51 -0400 |
|---|---|---|
| committer | Palmer Cox <p@lmercox.com> | 2013-08-02 18:49:00 -0400 |
| commit | 4e7b0ee3cd8ef889c4fed673e06b91263b238e10 (patch) | |
| tree | c2da11986079d474b418f08449d2e46b309c2914 /src/rt/sync/timer.cpp | |
| parent | 281b79525b31affc7cdf5540e27c629a460cadab (diff) | |
| download | rust-4e7b0ee3cd8ef889c4fed673e06b91263b238e10.tar.gz rust-4e7b0ee3cd8ef889c4fed673e06b91263b238e10.zip | |
Crypto: Add overflow checking addition functions.
Added functions to cryptoutil.rs that perform an addition after shifting the 2nd parameter by a specified constant. These function fail!() if integer overflow will result. Updated the Sha2 implementation to use these functions.
Diffstat (limited to 'src/rt/sync/timer.cpp')
0 files changed, 0 insertions, 0 deletions
