1 /*[clinic input] 2 preserve 3 [clinic start generated code]*/ 4 5 PyDoc_STRVAR(_sha3_sha3_224_copy__doc__, 6 "copy($self, /)\n" 7 "--\n" 8 "\n" 9 "Return a copy of the hash object."); 10 11 #define _SHA3_SHA3_224_COPY_METHODDEF \ 12 {"copy", (PyCFunction)_sha3_sha3_224_copy, METH_NOARGS, _sha3_sha3_224_copy__doc__}, 13 14 static PyObject * 15 _sha3_sha3_224_copy_impl(SHA3object *self); 16 17 static PyObject * 18 _sha3_sha3_224_copy(SHA3object *self, PyObject *Py_UNUSED(ignored)) 19 { 20 return _sha3_sha3_224_copy_impl(self); 21 } 22 23 PyDoc_STRVAR(_sha3_sha3_224_digest__doc__, 24 "digest($self, /)\n" 25 "--\n" 26 "\n" 27 "Return the digest value as a bytes object."); 28 29 #define _SHA3_SHA3_224_DIGEST_METHODDEF \ 30 {"digest", (PyCFunction)_sha3_sha3_224_digest, METH_NOARGS, _sha3_sha3_224_digest__doc__}, 31 32 static PyObject * 33 _sha3_sha3_224_digest_impl(SHA3object *self); 34 35 static PyObject * 36 _sha3_sha3_224_digest(SHA3object *self, PyObject *Py_UNUSED(ignored)) 37 { 38 return _sha3_sha3_224_digest_impl(self); 39 } 40 41 PyDoc_STRVAR(_sha3_sha3_224_hexdigest__doc__, 42 "hexdigest($self, /)\n" 43 "--\n" 44 "\n" 45 "Return the digest value as a string of hexadecimal digits."); 46 47 #define _SHA3_SHA3_224_HEXDIGEST_METHODDEF \ 48 {"hexdigest", (PyCFunction)_sha3_sha3_224_hexdigest, METH_NOARGS, _sha3_sha3_224_hexdigest__doc__}, 49 50 static PyObject * 51 _sha3_sha3_224_hexdigest_impl(SHA3object *self); 52 53 static PyObject * 54 _sha3_sha3_224_hexdigest(SHA3object *self, PyObject *Py_UNUSED(ignored)) 55 { 56 return _sha3_sha3_224_hexdigest_impl(self); 57 } 58 59 PyDoc_STRVAR(_sha3_sha3_224_update__doc__, 60 "update($self, data, /)\n" 61 "--\n" 62 "\n" 63 "Update this hash object\'s state with the provided bytes-like object."); 64 65 #define _SHA3_SHA3_224_UPDATE_METHODDEF \ 66 {"update", (PyCFunction)_sha3_sha3_224_update, METH_O, _sha3_sha3_224_update__doc__}, 67 68 PyDoc_STRVAR(_sha3_shake_128_digest__doc__, 69 "digest($self, length, /)\n" 70 "--\n" 71 "\n" 72 "Return the digest value as a bytes object."); 73 74 #define _SHA3_SHAKE_128_DIGEST_METHODDEF \ 75 {"digest", (PyCFunction)_sha3_shake_128_digest, METH_O, _sha3_shake_128_digest__doc__}, 76 77 PyDoc_STRVAR(_sha3_shake_128_hexdigest__doc__, 78 "hexdigest($self, length, /)\n" 79 "--\n" 80 "\n" 81 "Return the digest value as a string of hexadecimal digits."); 82 83 #define _SHA3_SHAKE_128_HEXDIGEST_METHODDEF \ 84 {"hexdigest", (PyCFunction)_sha3_shake_128_hexdigest, METH_O, _sha3_shake_128_hexdigest__doc__}, 85 /*[clinic end generated code: output=826b6b5a7c3406eb input=a9049054013a1b77]*/ 86