@@ -1024,7 +1024,7 @@ py_evp_fromname(PyObject *module, const char *digestname, PyObject *data_obj,
10241024_hashlib.new as EVP_new
10251025
10261026 name as name_obj: object
1027- string as data_obj: object(c_default="NULL") = b''
1027+ data as data_obj: object(c_default="NULL") = b''
10281028 *
10291029 usedforsecurity: bool = True
10301030
@@ -1039,7 +1039,7 @@ The MD5 and SHA1 algorithms are always supported.
10391039static PyObject *
10401040EVP_new_impl (PyObject * module , PyObject * name_obj , PyObject * data_obj ,
10411041 int usedforsecurity )
1042- /*[clinic end generated code: output=ddd5053f92dffe90 input=c24554d0337be1b0 ]*/
1042+ /*[clinic end generated code: output=ddd5053f92dffe90 input=fc1f4513bde332d1 ]*/
10431043{
10441044 char * name ;
10451045 if (!PyArg_Parse (name_obj , "s" , & name )) {
@@ -1053,7 +1053,7 @@ EVP_new_impl(PyObject *module, PyObject *name_obj, PyObject *data_obj,
10531053/*[clinic input]
10541054_hashlib.openssl_md5
10551055
1056- string as data_obj: object(py_default="b''") = NULL
1056+ data as data_obj: object(py_default="b''") = NULL
10571057 *
10581058 usedforsecurity: bool = True
10591059
@@ -1064,7 +1064,7 @@ Returns a md5 hash object; optionally initialized with a string
10641064static PyObject *
10651065_hashlib_openssl_md5_impl (PyObject * module , PyObject * data_obj ,
10661066 int usedforsecurity )
1067- /*[clinic end generated code: output=87b0186440a44f8c input=990e36d5e689b16e ]*/
1067+ /*[clinic end generated code: output=87b0186440a44f8c input=541743b9302c3a1d ]*/
10681068{
10691069 return py_evp_fromname (module , Py_hash_md5 , data_obj , usedforsecurity );
10701070}
@@ -1073,7 +1073,7 @@ _hashlib_openssl_md5_impl(PyObject *module, PyObject *data_obj,
10731073/*[clinic input]
10741074_hashlib.openssl_sha1
10751075
1076- string as data_obj: object(py_default="b''") = NULL
1076+ data as data_obj: object(py_default="b''") = NULL
10771077 *
10781078 usedforsecurity: bool = True
10791079
@@ -1084,7 +1084,7 @@ Returns a sha1 hash object; optionally initialized with a string
10841084static PyObject *
10851085_hashlib_openssl_sha1_impl (PyObject * module , PyObject * data_obj ,
10861086 int usedforsecurity )
1087- /*[clinic end generated code: output=6813024cf690670d input=948f2f4b6deabc10 ]*/
1087+ /*[clinic end generated code: output=6813024cf690670d input=5cbd1a022f397432 ]*/
10881088{
10891089 return py_evp_fromname (module , Py_hash_sha1 , data_obj , usedforsecurity );
10901090}
@@ -1093,7 +1093,7 @@ _hashlib_openssl_sha1_impl(PyObject *module, PyObject *data_obj,
10931093/*[clinic input]
10941094_hashlib.openssl_sha224
10951095
1096- string as data_obj: object(py_default="b''") = NULL
1096+ data as data_obj: object(py_default="b''") = NULL
10971097 *
10981098 usedforsecurity: bool = True
10991099
@@ -1104,7 +1104,7 @@ Returns a sha224 hash object; optionally initialized with a string
11041104static PyObject *
11051105_hashlib_openssl_sha224_impl (PyObject * module , PyObject * data_obj ,
11061106 int usedforsecurity )
1107- /*[clinic end generated code: output=a2dfe7cc4eb14ebb input=f9272821fadca505 ]*/
1107+ /*[clinic end generated code: output=a2dfe7cc4eb14ebb input=9d70f1b767e0da1a ]*/
11081108{
11091109 return py_evp_fromname (module , Py_hash_sha224 , data_obj , usedforsecurity );
11101110}
@@ -1113,7 +1113,7 @@ _hashlib_openssl_sha224_impl(PyObject *module, PyObject *data_obj,
11131113/*[clinic input]
11141114_hashlib.openssl_sha256
11151115
1116- string as data_obj: object(py_default="b''") = NULL
1116+ data as data_obj: object(py_default="b''") = NULL
11171117 *
11181118 usedforsecurity: bool = True
11191119
@@ -1124,7 +1124,7 @@ Returns a sha256 hash object; optionally initialized with a string
11241124static PyObject *
11251125_hashlib_openssl_sha256_impl (PyObject * module , PyObject * data_obj ,
11261126 int usedforsecurity )
1127- /*[clinic end generated code: output=1f874a34870f0a68 input=549fad9d2930d4c5 ]*/
1127+ /*[clinic end generated code: output=1f874a34870f0a68 input=6baf2fb84aa40b28 ]*/
11281128{
11291129 return py_evp_fromname (module , Py_hash_sha256 , data_obj , usedforsecurity );
11301130}
@@ -1133,7 +1133,7 @@ _hashlib_openssl_sha256_impl(PyObject *module, PyObject *data_obj,
11331133/*[clinic input]
11341134_hashlib.openssl_sha384
11351135
1136- string as data_obj: object(py_default="b''") = NULL
1136+ data as data_obj: object(py_default="b''") = NULL
11371137 *
11381138 usedforsecurity: bool = True
11391139
@@ -1144,7 +1144,7 @@ Returns a sha384 hash object; optionally initialized with a string
11441144static PyObject *
11451145_hashlib_openssl_sha384_impl (PyObject * module , PyObject * data_obj ,
11461146 int usedforsecurity )
1147- /*[clinic end generated code: output=58529eff9ca457b2 input=48601a6e3bf14ad7 ]*/
1147+ /*[clinic end generated code: output=58529eff9ca457b2 input=416c85fc491fd51a ]*/
11481148{
11491149 return py_evp_fromname (module , Py_hash_sha384 , data_obj , usedforsecurity );
11501150}
@@ -1153,7 +1153,7 @@ _hashlib_openssl_sha384_impl(PyObject *module, PyObject *data_obj,
11531153/*[clinic input]
11541154_hashlib.openssl_sha512
11551155
1156- string as data_obj: object(py_default="b''") = NULL
1156+ data as data_obj: object(py_default="b''") = NULL
11571157 *
11581158 usedforsecurity: bool = True
11591159
@@ -1164,7 +1164,7 @@ Returns a sha512 hash object; optionally initialized with a string
11641164static PyObject *
11651165_hashlib_openssl_sha512_impl (PyObject * module , PyObject * data_obj ,
11661166 int usedforsecurity )
1167- /*[clinic end generated code: output=2c744c9e4a40d5f6 input=c5c46a2a817aa98f ]*/
1167+ /*[clinic end generated code: output=2c744c9e4a40d5f6 input=db07e145351f0eb3 ]*/
11681168{
11691169 return py_evp_fromname (module , Py_hash_sha512 , data_obj , usedforsecurity );
11701170}
@@ -1175,7 +1175,7 @@ _hashlib_openssl_sha512_impl(PyObject *module, PyObject *data_obj,
11751175/*[clinic input]
11761176_hashlib.openssl_sha3_224
11771177
1178- string as data_obj: object(py_default="b''") = NULL
1178+ data as data_obj: object(py_default="b''") = NULL
11791179 *
11801180 usedforsecurity: bool = True
11811181
@@ -1186,15 +1186,15 @@ Returns a sha3-224 hash object; optionally initialized with a string
11861186static PyObject *
11871187_hashlib_openssl_sha3_224_impl (PyObject * module , PyObject * data_obj ,
11881188 int usedforsecurity )
1189- /*[clinic end generated code: output=144641c1d144b974 input=e3a01b2888916157 ]*/
1189+ /*[clinic end generated code: output=144641c1d144b974 input=8473784706f2bcfa ]*/
11901190{
11911191 return py_evp_fromname (module , Py_hash_sha3_224 , data_obj , usedforsecurity );
11921192}
11931193
11941194/*[clinic input]
11951195_hashlib.openssl_sha3_256
11961196
1197- string as data_obj: object(py_default="b''") = NULL
1197+ data as data_obj: object(py_default="b''") = NULL
11981198 *
11991199 usedforsecurity: bool = True
12001200
@@ -1205,15 +1205,15 @@ Returns a sha3-256 hash object; optionally initialized with a string
12051205static PyObject *
12061206_hashlib_openssl_sha3_256_impl (PyObject * module , PyObject * data_obj ,
12071207 int usedforsecurity )
1208- /*[clinic end generated code: output=c61f1ab772d06668 input=e2908126c1b6deed ]*/
1208+ /*[clinic end generated code: output=c61f1ab772d06668 input=2c0433e4af5389af ]*/
12091209{
12101210 return py_evp_fromname (module , Py_hash_sha3_256 , data_obj , usedforsecurity );
12111211}
12121212
12131213/*[clinic input]
12141214_hashlib.openssl_sha3_384
12151215
1216- string as data_obj: object(py_default="b''") = NULL
1216+ data as data_obj: object(py_default="b''") = NULL
12171217 *
12181218 usedforsecurity: bool = True
12191219
@@ -1224,15 +1224,15 @@ Returns a sha3-384 hash object; optionally initialized with a string
12241224static PyObject *
12251225_hashlib_openssl_sha3_384_impl (PyObject * module , PyObject * data_obj ,
12261226 int usedforsecurity )
1227- /*[clinic end generated code: output=f68e4846858cf0ee input=ec0edf5c792f8252 ]*/
1227+ /*[clinic end generated code: output=f68e4846858cf0ee input=15cf1a0f31210933 ]*/
12281228{
12291229 return py_evp_fromname (module , Py_hash_sha3_384 , data_obj , usedforsecurity );
12301230}
12311231
12321232/*[clinic input]
12331233_hashlib.openssl_sha3_512
12341234
1235- string as data_obj: object(py_default="b''") = NULL
1235+ data as data_obj: object(py_default="b''") = NULL
12361236 *
12371237 usedforsecurity: bool = True
12381238
@@ -1243,7 +1243,7 @@ Returns a sha3-512 hash object; optionally initialized with a string
12431243static PyObject *
12441244_hashlib_openssl_sha3_512_impl (PyObject * module , PyObject * data_obj ,
12451245 int usedforsecurity )
1246- /*[clinic end generated code: output=2eede478c159354a input=64e2cc0c094d56f4 ]*/
1246+ /*[clinic end generated code: output=2eede478c159354a input=3c49cbee1c406eb8 ]*/
12471247{
12481248 return py_evp_fromname (module , Py_hash_sha3_512 , data_obj , usedforsecurity );
12491249}
@@ -1253,7 +1253,7 @@ _hashlib_openssl_sha3_512_impl(PyObject *module, PyObject *data_obj,
12531253/*[clinic input]
12541254_hashlib.openssl_shake_128
12551255
1256- string as data_obj: object(py_default="b''") = NULL
1256+ data as data_obj: object(py_default="b''") = NULL
12571257 *
12581258 usedforsecurity: bool = True
12591259
@@ -1264,15 +1264,15 @@ Returns a shake-128 variable hash object; optionally initialized with a string
12641264static PyObject *
12651265_hashlib_openssl_shake_128_impl (PyObject * module , PyObject * data_obj ,
12661266 int usedforsecurity )
1267- /*[clinic end generated code: output=bc49cdd8ada1fa97 input=6c9d67440eb33ec8 ]*/
1267+ /*[clinic end generated code: output=bc49cdd8ada1fa97 input=ee01cb8679a1e230 ]*/
12681268{
12691269 return py_evp_fromname (module , Py_hash_shake_128 , data_obj , usedforsecurity );
12701270}
12711271
12721272/*[clinic input]
12731273_hashlib.openssl_shake_256
12741274
1275- string as data_obj: object(py_default="b''") = NULL
1275+ data as data_obj: object(py_default="b''") = NULL
12761276 *
12771277 usedforsecurity: bool = True
12781278
@@ -1283,7 +1283,7 @@ Returns a shake-256 variable hash object; optionally initialized with a string
12831283static PyObject *
12841284_hashlib_openssl_shake_256_impl (PyObject * module , PyObject * data_obj ,
12851285 int usedforsecurity )
1286- /*[clinic end generated code: output=358d213be8852df7 input=479cbe9fefd4a9f8 ]*/
1286+ /*[clinic end generated code: output=358d213be8852df7 input=92e304b3733f14c8 ]*/
12871287{
12881288 return py_evp_fromname (module , Py_hash_shake_256 , data_obj , usedforsecurity );
12891289}
0 commit comments