aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-sha1.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-11-30 16:16:49 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2009-11-30 16:16:49 +0100
commiteaf180889e63584942ec0d8da8707b964de8fe35 (patch)
tree28d08bd6fb236b572e801263248cecf3bd323e7b /gcc/ada/g-sha1.ads
parent40513dd30b587ccb7967b565822f473f96d73544 (diff)
downloadgcc-eaf180889e63584942ec0d8da8707b964de8fe35.zip
gcc-eaf180889e63584942ec0d8da8707b964de8fe35.tar.gz
gcc-eaf180889e63584942ec0d8da8707b964de8fe35.tar.bz2
[multiple changes]
2009-11-30 Robert Dewar <dewar@adacore.com> * osint.ads: Minor comment update. 2009-11-30 Thomas Quinot <quinot@adacore.com> * s-sechas.adb: Fix swapping error in previous checkin. * g-md5.ads, g-sha256.ads, g-sha512.ads, g-sha1.ads, g-sha224.ads, g-sha384.ads: Add missing documentation. From-SVN: r154819
Diffstat (limited to 'gcc/ada/g-sha1.ads')
-rw-r--r--gcc/ada/g-sha1.ads8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/g-sha1.ads b/gcc/ada/g-sha1.ads
index a7d8e4c..8570923 100644
--- a/gcc/ada/g-sha1.ads
+++ b/gcc/ada/g-sha1.ads
@@ -31,9 +31,15 @@
-- --
------------------------------------------------------------------------------
--- Why no documentation ???
+-- This package implaments the SHA-1 secure hash function as decsribed in
+-- FIPS PUB 180-3. The complete text of FIPS PUB 180-3 can be found at:
+-- http://csrc.nist.gov/publications/fips/fips180-3/fips180-3_final.pdf
+
+-- See the declaration of System.Secure_Hashes.H in s-sechas.ads for complete
+-- documentation.
with System.Secure_Hashes.SHA1;
+
package GNAT.SHA1 is new System.Secure_Hashes.H
(Block_Words => System.Secure_Hashes.SHA1.Block_Words,
State_Words => 5,