nuttx/crypto
Alan Carvalho de Assis c027e7c3e4 tools: fix stale archive members surviving a Kconfig-driven CSRCS change
During the Toybox port to NuttX, Claude noticed that changes in the
menuconfig weren't taking affect. This issue exists for a long time on
NuttX, in fact BayLibre's presentation from 2017 make jokes about our
building system not been reliable:
https://www.youtube.com/watch?v=XUJK2htXxKw&t=320s

Stale archive members from $(AR)'s additive-only behavior can linger
after Kconfig toggles change which files provide a symbol, causing dead
weight or "multiple definition" link errors on incremental builds.
Fixed by splitting ARCHIVE into two macros: ARCHIVE keeps the original
additive behavior for apps/libapps.a, which many independent
subdirectories contribute to across a build, while the new
ARCHIVE_REBUILD deletes then archives for the far more common case
of a single Makefile building its own self-contained $(OBJS)
- all 39 such call sites now use it.

Assisted-By: Claude Sonnet 5
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2026-07-28 21:26:03 -03:00
..
aes.c
blake2s.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
blf.c
bn.c
cast.c
castsb.h
chacha_private.h crypto: Add ChaCha20/ChaCha20-Poly1305 to /dev/crypto, fix RFC 8439 nonce. 2026-07-11 10:19:39 -03:00
chachapoly.c crypto: add CRYPTO_CHACHA20_DJB variant (64-bit counter/nonce) 2026-07-11 17:58:55 -03:00
cmac.c
CMakeLists.txt crypto: decouple curve25519 and idgen from random pool 2026-04-07 09:33:34 +08:00
crypto.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
cryptodev.c crypto: add CRYPTO_AES_CTR_SSH variant (128-bit big-endian counter) 2026-07-16 15:42:10 +08:00
cryptosoft.c crypto: add CRYPTO_AES_CTR_SSH variant (128-bit big-endian counter) 2026-07-16 15:42:10 +08:00
curve25519.c
des_locl.h
ecb3_enc.c
ecb_enc.c
ecc.c crypto/ecc: add SPDX license identifier 2026-01-26 10:55:57 +08:00
gmac.c
hmac.c
hmac_buff.c
idgen.c
Kconfig crypto: decouple curve25519 and idgen from random pool 2026-04-07 09:33:34 +08:00
key_wrap.c
Makefile tools: fix stale archive members surviving a Kconfig-driven CSRCS change 2026-07-28 21:26:03 -03:00
md5.c
podd.h
poly1305.c
random_pool.c !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +08:00
rijndael.c
rmd160.c
set_key.c
sha1.c
sha2.c
siphash.c crypto/siphash: avoid redefine name issue 2026-01-19 23:25:37 +08:00
sk.h
spr.h
testmngr.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
testmngr.h
xform.c crypto: add CRYPTO_AES_CTR_SSH variant (128-bit big-endian counter) 2026-07-16 15:42:10 +08:00