Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build issue with mbedtls 3.1.0 #180

Open
hgy59 opened this issue Jul 6, 2022 · 0 comments
Open

build issue with mbedtls 3.1.0 #180

hgy59 opened this issue Jul 6, 2022 · 0 comments

Comments

@hgy59
Copy link

hgy59 commented Jul 6, 2022

mbedtls 3.x has dropped the HAVEGE module and build fails with:

make[6]: Entering directory '/spksrc/spk/umurmur/work-x64-6.1/umurmur-0.2.20/build'
[ 11%] Building C object src/CMakeFiles/umurmurd.dir/channel.c.o
[ 11%] Building C object src/CMakeFiles/umurmurd.dir/ban.c.o
In file included from /spksrc/spk/umurmur/work-x64-6.1/umurmur-0.2.20/src/client.h:47:0,
                 from /spksrc/spk/umurmur/work-x64-6.1/umurmur-0.2.20/src/ban.h:35,
                 from /spksrc/spk/umurmur/work-x64-6.1/umurmur-0.2.20/src/ban.c:35:
/spksrc/spk/umurmur/work-x64-6.1/umurmur-0.2.20/src/crypt.h:39:28: fatal error: mbedtls/havege.h: No such file or directory
 #include <mbedtls/havege.h>
                            ^

from mbedtls changelog:
API changes

  • Remove HAVEGE module.
    The design of HAVEGE makes it unsuitable for microcontrollers. Platforms
    with a more complex CPU usually have an operating system interface that
    provides better randomness. Instead of HAVEGE, declare OS or hardware RNG
    interfaces with mbedtls_entropy_add_source() and/or use an entropy seed
    file created securely during device provisioning. See
    https://tls.mbed.org/kb/how-to/add-entropy-sources-to-entropy-pool for
    more information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant