@@ -106,7 +106,7 @@ has_uint32_t_buffer_length(const Py_buffer *buffer)
106106}
107107
108108/* One-shot HMAC-HASH using the given HACL_HID. */
109- #define Py_HACL_HMAC_ONESHOT (HACL_HID , KEY , MSG ) \
109+ #define Py_HMAC_HACL_ONESHOT (HACL_HID , KEY , MSG ) \
110110 do { \
111111 Py_buffer keyview, msgview; \
112112 GET_BUFFER_VIEW_OR_ERROUT((KEY), &keyview); \
@@ -156,7 +156,7 @@ static PyObject *
156156_hmac_compute_md5_impl (PyObject * module , PyObject * key , PyObject * msg )
157157/*[clinic end generated code: output=7837a4ceccbbf636 input=77a4b774c7d61218]*/
158158{
159- Py_HACL_HMAC_ONESHOT (md5 , key , msg );
159+ Py_HMAC_HACL_ONESHOT (md5 , key , msg );
160160}
161161
162162/*[clinic input]
@@ -172,7 +172,7 @@ static PyObject *
172172_hmac_compute_sha1_impl (PyObject * module , PyObject * key , PyObject * msg )
173173/*[clinic end generated code: output=79fd7689c83691d8 input=3b64dccc6bdbe4ba]*/
174174{
175- Py_HACL_HMAC_ONESHOT (sha1 , key , msg );
175+ Py_HMAC_HACL_ONESHOT (sha1 , key , msg );
176176}
177177
178178/*[clinic input]
@@ -188,7 +188,7 @@ static PyObject *
188188_hmac_compute_sha2_224_impl (PyObject * module , PyObject * key , PyObject * msg )
189189/*[clinic end generated code: output=7f21f1613e53979e input=bcaac7a3637484ce]*/
190190{
191- Py_HACL_HMAC_ONESHOT (sha2_224 , key , msg );
191+ Py_HMAC_HACL_ONESHOT (sha2_224 , key , msg );
192192}
193193
194194/*[clinic input]
@@ -204,7 +204,7 @@ static PyObject *
204204_hmac_compute_sha2_256_impl (PyObject * module , PyObject * key , PyObject * msg )
205205/*[clinic end generated code: output=d4a291f7d9a82459 input=6e2d1f6fe9c56d21]*/
206206{
207- Py_HACL_HMAC_ONESHOT (sha2_256 , key , msg );
207+ Py_HMAC_HACL_ONESHOT (sha2_256 , key , msg );
208208}
209209
210210/*[clinic input]
@@ -220,7 +220,7 @@ static PyObject *
220220_hmac_compute_sha2_384_impl (PyObject * module , PyObject * key , PyObject * msg )
221221/*[clinic end generated code: output=f211fa26e3700c27 input=9ce8de89dda79e62]*/
222222{
223- Py_HACL_HMAC_ONESHOT (sha2_384 , key , msg );
223+ Py_HMAC_HACL_ONESHOT (sha2_384 , key , msg );
224224}
225225
226226/*[clinic input]
@@ -236,7 +236,7 @@ static PyObject *
236236_hmac_compute_sha2_512_impl (PyObject * module , PyObject * key , PyObject * msg )
237237/*[clinic end generated code: output=d5c20373762cecca input=b964bb8487d7debd]*/
238238{
239- Py_HACL_HMAC_ONESHOT (sha2_512 , key , msg );
239+ Py_HMAC_HACL_ONESHOT (sha2_512 , key , msg );
240240}
241241
242242/*[clinic input]
@@ -252,7 +252,7 @@ static PyObject *
252252_hmac_compute_sha3_224_impl (PyObject * module , PyObject * key , PyObject * msg )
253253/*[clinic end generated code: output=a242ccac9ad9c22b input=d0ab0c7d189c3d87]*/
254254{
255- Py_HACL_HMAC_ONESHOT (sha3_224 , key , msg );
255+ Py_HMAC_HACL_ONESHOT (sha3_224 , key , msg );
256256}
257257
258258/*[clinic input]
@@ -268,7 +268,7 @@ static PyObject *
268268_hmac_compute_sha3_256_impl (PyObject * module , PyObject * key , PyObject * msg )
269269/*[clinic end generated code: output=b539dbb61af2fe0b input=f05d7b6364b35d02]*/
270270{
271- Py_HACL_HMAC_ONESHOT (sha3_256 , key , msg );
271+ Py_HMAC_HACL_ONESHOT (sha3_256 , key , msg );
272272}
273273
274274/*[clinic input]
@@ -284,7 +284,7 @@ static PyObject *
284284_hmac_compute_sha3_384_impl (PyObject * module , PyObject * key , PyObject * msg )
285285/*[clinic end generated code: output=5eb372fb5c4ffd3a input=d842d393e7aa05ae]*/
286286{
287- Py_HACL_HMAC_ONESHOT (sha3_384 , key , msg );
287+ Py_HMAC_HACL_ONESHOT (sha3_384 , key , msg );
288288}
289289
290290/*[clinic input]
@@ -300,7 +300,7 @@ static PyObject *
300300_hmac_compute_sha3_512_impl (PyObject * module , PyObject * key , PyObject * msg )
301301/*[clinic end generated code: output=154bcbf8c2eacac1 input=166fe5baaeaabfde]*/
302302{
303- Py_HACL_HMAC_ONESHOT (sha3_512 , key , msg );
303+ Py_HMAC_HACL_ONESHOT (sha3_512 , key , msg );
304304}
305305
306306/*[clinic input]
@@ -316,7 +316,7 @@ static PyObject *
316316_hmac_compute_blake2s_32_impl (PyObject * module , PyObject * key , PyObject * msg )
317317/*[clinic end generated code: output=cfc730791bc62361 input=d22c36e7fe31a985]*/
318318{
319- Py_HACL_HMAC_ONESHOT (blake2s_32 , key , msg );
319+ Py_HMAC_HACL_ONESHOT (blake2s_32 , key , msg );
320320}
321321
322322/*[clinic input]
@@ -332,7 +332,7 @@ static PyObject *
332332_hmac_compute_blake2b_32_impl (PyObject * module , PyObject * key , PyObject * msg )
333333/*[clinic end generated code: output=765c5c4fb9124636 input=4a35ee058d172f4b]*/
334334{
335- Py_HACL_HMAC_ONESHOT (blake2b_32 , key , msg );
335+ Py_HMAC_HACL_ONESHOT (blake2b_32 , key , msg );
336336}
337337
338338static PyMethodDef hmacmodule_methods [] = {
0 commit comments