Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(36639)

Delta Between Two Patch Sets: Modules/_sha3/clinic/sha3module.c.h

Issue 16113: Add SHA-3 (Keccak) support
Left Patch Set: Created 3 years, 3 months ago
Right Patch Set: Created 3 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Modules/_sha3/cleanup.py ('k') | Modules/_sha3/kcp/align.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 /*[clinic input] 1 /*[clinic input]
2 preserve 2 preserve
3 [clinic start generated code]*/ 3 [clinic start generated code]*/
4 4
5 PyDoc_STRVAR(py_sha3_new__doc__, 5 PyDoc_STRVAR(py_sha3_new__doc__,
6 "sha3_224(string=None)\n" 6 "sha3_224(string=None)\n"
7 "--\n" 7 "--\n"
8 "\n" 8 "\n"
9 "Return a new SHA3 hash object with a hashbit length of 28 bytes."); 9 "Return a new SHA3 hash object with a hashbit length of 28 bytes.");
10 10
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "k:hexdigest", _keywords, 140 if (!PyArg_ParseTupleAndKeywords(args, kwargs, "k:hexdigest", _keywords,
141 &length)) 141 &length))
142 goto exit; 142 goto exit;
143 return_value = _sha3_shake_128_hexdigest_impl(self, length); 143 return_value = _sha3_shake_128_hexdigest_impl(self, length);
144 144
145 exit: 145 exit:
146 return return_value; 146 return return_value;
147 } 147 }
148 /*[clinic end generated code: output=2eb6db41778eeb50 input=a9049054013a1b77]*/ 148 /*[clinic end generated code: output=2eb6db41778eeb50 input=a9049054013a1b77]*/
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+