File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 66#include "pycore_hashtable.h"
77#include "pycore_strhex.h" // _Py_strhex()
88
9- #include <openssl/obj_mac .h> // LN_* macros
9+ #include <openssl/objects .h>
1010
1111#include "_hacl/Hacl_HMAC.h"
1212#include "hashlib.h"
7676#if defined(LN_sha3_224 )
7777# define Py_OpenSSL_LN_sha3_224 LN_sha3_224
7878#else
79- # define Py_OpenSSL_LN_sha3_224 "sha3_224 "
79+ # define Py_OpenSSL_LN_sha3_224 "sha3-224 "
8080#endif
8181
8282// HACL_HID = sha3_256
8888#if defined(LN_sha3_256 )
8989# define Py_OpenSSL_LN_sha3_256 LN_sha3_256
9090#else
91- # define Py_OpenSSL_LN_sha3_256 "sha3_256 "
91+ # define Py_OpenSSL_LN_sha3_256 "sha3-256 "
9292#endif
9393
9494// HACL_HID = sha3_384
100100#if defined(LN_sha3_384 )
101101# define Py_OpenSSL_LN_sha3_384 LN_sha3_384
102102#else
103- # define Py_OpenSSL_LN_sha3_384 "sha3_384 "
103+ # define Py_OpenSSL_LN_sha3_384 "sha3-384 "
104104#endif
105105
106106// HACL_HID = sha3_512
112112#if defined(LN_sha3_512 )
113113# define Py_OpenSSL_LN_sha3_512 LN_sha3_512
114114#else
115- # define Py_OpenSSL_LN_sha3_512 "sha3_512 "
115+ # define Py_OpenSSL_LN_sha3_512 "sha3-512 "
116116#endif
117117
118118/* Blake family */
You can’t perform that action at this time.
0 commit comments