fix: enable mbedTLS ChaCha20-Poly1305 and HKDF for crypto.c
Some checks failed
Discord Push Notification / notify (push) Has been cancelled

sdkconfig.defaults was gitignored and missing — fresh clones failed to
link due to undefined references to mbedtls_hkdf and mbedtls_chachapoly_*.

- Remove sdkconfig.defaults from .gitignore
- Add sdkconfig.defaults with required mbedTLS options
This commit is contained in:
Eun0us 2026-04-15 11:07:02 +02:00
parent 920e8ec0bd
commit 7d360f0cfd
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,7 +2,6 @@
espilon_bot/build/
espilon_bot/sdkconfig
espilon_bot/sdkconfig.old
espilon_bot/sdkconfig.defaults
espilon_bot/.config
espilon_bot/.config.old

View File

@ -0,0 +1,5 @@
# Required by core/crypto.c (ChaCha20-Poly1305 + HKDF)
CONFIG_MBEDTLS_POLY1305_C=y
CONFIG_MBEDTLS_CHACHA20_C=y
CONFIG_MBEDTLS_CHACHAPOLY_C=y
CONFIG_MBEDTLS_HKDF_C=y