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/RIPEMD160.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/RIPEMD160.c')
-rw-r--r-- | src/RIPEMD160.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/RIPEMD160.c b/src/RIPEMD160.c index 67fec96..8b33bab 100644 --- a/src/RIPEMD160.c +++ b/src/RIPEMD160.c @@ -68,7 +68,13 @@ static char MODULE__doc__[] = "extensively as SHA-1. Moreover, it provides an informal security level of just\n" "80bits.\n" "\n" - ".. _RIPEMD-160: http://homes.esat.kuleuven.be/~bosselae/ripemd160.html\n"; + ".. _RIPEMD-160: http://homes.esat.kuleuven.be/~bosselae/ripemd160.html\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"; #define RIPEMD160_MAGIC 0x9f19dd68u typedef struct { |