11#
22# * Copyright IBM Corp. 2023
33# *
4- # * Licensed under the Apache License 2.0 (the "License"). You may not use
5- # * this file except in compliance with the License. You can obtain a copy
4+ # * Licensed under the Apache License 2.0 (the "License"). You may not use
5+ # * this file except in compliance with the License. You can obtain a copy
66# * in the file LICENSE in the source distribution.
77#
88
@@ -58,6 +58,7 @@ TARGETS = \
5858 MINIMAL$(OBJSUFX ) \
5959 TRNG$(OBJSUFX ) \
6060 TRNG_ALT$(OBJSUFX ) \
61+ TRNG_ALT2$(OBJSUFX ) \
6162 entropy_to_NRBG$(OBJSUFX ) \
6263 SP800-90TRNG$(OBJSUFX )
6364
8687# - Note some platforms, SUN_SOL8/SUN64 AIX/AIX64 need added assembler tweaks
8788#
8889entropy_to_NRBG$(OBJSUFX ) : entropy_to_NRBG.h noise_to_entropy.h \
89- MINIMAL.h TRNG.h TRNG_ALT.h
90+ MINIMAL.h TRNG.h TRNG_ALT.h TRNG_ALT2.h
9091 $(CC ) $(CFLAGS ) $(HDRS ) $(ASM_TWEAKS ) entropy_to_NRBG.c
9192
9293nist_algs$(OBJSUFX ) : nist_algs.c nist_algs.h
@@ -113,7 +114,10 @@ TRNG$(OBJSUFX): TRNG.c TRNG.h timer_entropy.h
113114TRNG_ALT$(OBJSUFX ) : TRNG.c TRNG.h TRNG_ALT.h timer_entropy.h
114115 $(CC ) $(CFLAGS ) $(HDRS ) TRNG_ALT.c
115116
116- ICC_NRBG$(OBJSUFX ) : ICC_NRBG.c MINIMAL.h TRNG.h TRNG_ALT.h
117+ TRNG_ALT2$(OBJSUFX ) : TRNG_ALT2.c timer_entropy.h ../fips-prng/SP800-90.h TRNG.h TRNG_ALT2.h
118+ $(CC ) $(CFLAGS ) $(HDRS ) TRNG_ALT2.c
119+
120+ ICC_NRBG$(OBJSUFX ) : ICC_NRBG.c MINIMAL.h TRNG.h TRNG_ALT.h TRNG_ALT2.h
117121 $(CC ) $(CFLAGS ) $(HDRS ) ICC_NRBG.c
118122
119123SP800-90TRNG$(OBJSUFX ) : ../fips-prng/SP800-90.h ../fips-prng/SP800-90i.h
0 commit comments