about summary refs log tree commit diff
path: root/src/rt/sync/timer.cpp
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2013-07-30 00:07:51 -0400
committerPalmer Cox <p@lmercox.com>2013-08-02 18:49:00 -0400
commit4e7b0ee3cd8ef889c4fed673e06b91263b238e10 (patch)
treec2da11986079d474b418f08449d2e46b309c2914 /src/rt/sync/timer.cpp
parent281b79525b31affc7cdf5540e27c629a460cadab (diff)
downloadrust-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