about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorPalmer Cox <p@lmercox.com>2013-06-23 18:57:59 -0400
committerPalmer Cox <p@lmercox.com>2013-06-24 00:02:45 -0400
commite1b8c6758099b634ea9033f97ddcd3fa88b5abeb (patch)
tree6928e2a55656fe6f10a748bf5e02bfa2b5ed36cd /src/rt/rust_kernel.cpp
parentc5400a8830c0115af06c1a5fe4d04f6ba5f6751d (diff)
downloadrust-e1b8c6758099b634ea9033f97ddcd3fa88b5abeb.tar.gz
rust-e1b8c6758099b634ea9033f97ddcd3fa88b5abeb.zip
Improve the SHA-1 implementation
* Rename struct Sha1State to Sha1
* Remove all use of @ types
* Use fixed length vectors
* Move all of the inner functions from inside sha1() to top level, private functions
* Sha1 instances are now created via Sha1::new()
* Update all constant names to uppercase
* Remove unecessary assert_eq!s
* Remove check_vec_eq() helper function; use vec::eq() instead
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions