Skip to content
GitLab
  • Explore
  • Sign in
  • Legacy
  • TracTrac
  • Issues
  • #27728

Signature mismatch for crypto_strongest_rand() in ed-donna code breaks -flto compilation

./src/lib/crypt_ops/crypto_rand.h:24:1: error: variable ‘crypto_strongest_rand’ redeclared as function
 MOCK_DECL(void,crypto_strongest_rand,(uint8_t *out, size_t out_len));
 ^
./src/lib/crypt_ops/crypto_rand.h:24:1: error: variable ‘crypto_strongest_rand’ redeclared as function
src/lib/crypt_ops/crypto_rand.c:338:1: note: previously declared here
 MOCK_IMPL(void,
 ^
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking