diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-07-14 20:26:53 -0700 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-07-14 20:26:53 -0700 |
commit | 63bc0fb0aa463a70a0d115fad21219b896683c8d (patch) | |
tree | 1e1542325314e7af8df6c85d44cb3015f9f206e6 /src/SHA384.c | |
parent | 103bf3ecccf7f5d048385b0494081f140df71cc4 (diff) | |
download | pycrypto-63bc0fb0aa463a70a0d115fad21219b896683c8d.tar.gz |
Improve C extension autodocs
- Add __all__ to C cipher & hash modules
- Update hash module docstrings to document the block_size and
digest_size variables.
Closes: https://bugs.launchpad.net/pycrypto/+bug/1179255
Diffstat (limited to 'src/SHA384.c')
-rw-r--r-- | src/SHA384.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/SHA384.c b/src/SHA384.c index 8bc099a..7ae9ff4 100644 --- a/src/SHA384.c +++ b/src/SHA384.c @@ -49,7 +49,13 @@ static char MODULE__doc__[] = "\n" "*SHA* stands for Secure Hash Algorithm.\n" "\n" - ".. _SHA-2: http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf\n"; + ".. _SHA-2: http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf\n" + "\n" + ":Variables:\n" + " block_size\n" + " The internal block size of the hash algorithm in bytes.\n" + " digest_size\n" + " The size of the resulting hash in bytes.\n"; #include "hash_SHA2.h" |