@@ -208,7 +208,7 @@ ENSUREPIP= @ENSUREPIP@
208208# Internal static libraries
209209LIBMPDEC_A= Modules/_decimal/libmpdec/libmpdec.a
210210LIBEXPAT_A= Modules/expat/libexpat.a
211- LIBHACL_SHA2_A= Modules/_hacl/libHacl_Streaming_SHA2 .a
211+ LIBHACL_SHA2_A= Modules/_hacl/libHacl_Hash_SHA2 .a
212212
213213# Module state, compiler flags and linker flags
214214# Empty CFLAGS and LDFLAGS are omitted.
@@ -583,7 +583,7 @@ LIBEXPAT_HEADERS= \
583583# hashlib's HACL* library
584584
585585LIBHACL_SHA2_OBJS= \
586- Modules/_hacl/Hacl_Streaming_SHA2 .o
586+ Modules/_hacl/Hacl_Hash_SHA2 .o
587587
588588LIBHACL_HEADERS= \
589589 Modules/_hacl/include/krml/FStar_UInt128_Verified.h \
@@ -596,8 +596,8 @@ LIBHACL_HEADERS= \
596596 Modules/_hacl/python_hacl_namespaces.h
597597
598598LIBHACL_SHA2_HEADERS= \
599- Modules/_hacl/Hacl_Streaming_SHA2 .h \
600- Modules/_hacl/internal/Hacl_SHA2_Generic .h \
599+ Modules/_hacl/Hacl_Hash_SHA2 .h \
600+ Modules/_hacl/internal/Hacl_Hash_SHA2 .h \
601601 $(LIBHACL_HEADERS)
602602
603603#########################################################################
@@ -964,11 +964,11 @@ $(LIBEXPAT_A): $(LIBEXPAT_OBJS)
964964 $(AR) $(ARFLAGS) $@ $(LIBEXPAT_OBJS)
965965
966966##########################################################################
967- # Build HACL* static libraries for hashlib: libHacl_Streaming_SHA2 .a
967+ # Build HACL* static libraries for hashlib: libHacl_Hash_SHA2 .a
968968LIBHACL_CFLAGS=-I$(srcdir)/Modules/_hacl/include -D_BSD_SOURCE -D_DEFAULT_SOURCE $(PY_STDMODULE_CFLAGS) $(CCSHARED)
969969
970- Modules/_hacl/Hacl_Streaming_SHA2 .o: $(srcdir)/Modules/_hacl/Hacl_Streaming_SHA2 .c $(LIBHACL_SHA2_HEADERS)
971- $(CC) -c $(LIBHACL_CFLAGS) -o $@ $(srcdir)/Modules/_hacl/Hacl_Streaming_SHA2 .c
970+ Modules/_hacl/Hacl_Hash_SHA2 .o: $(srcdir)/Modules/_hacl/Hacl_Hash_SHA2 .c $(LIBHACL_SHA2_HEADERS)
971+ $(CC) -c $(LIBHACL_CFLAGS) -o $@ $(srcdir)/Modules/_hacl/Hacl_Hash_SHA2 .c
972972
973973$(LIBHACL_SHA2_A): $(LIBHACL_SHA2_OBJS)
974974 -rm -f $@
0 commit comments