You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if it makes sense, not use a hmac based prng anymore... create our own one to pass to the ecc functions
hopefully it should be as simple as tweaking hmac_drbg.c :)
check for buffer overflows for ecc related functions:
for example br_ec_keygen returns the size written into the private key buffer, we should check it with the size of our buffer and while() in case of errors
use logic_encryption_delete_context function to do house cleaning
use logic_encryption_delete_context function to do house cleaning
removed unused functions:
void logic_encryption_sha256_hmac_init(uint8_t const *key, uint32_t klen);
void logic_encryption_sha256_hmac_update(uint8_t const * data, size_t len);
void logic_encryption_sha256_hmac_final(uint8_t *hmac_out);
void logic_encryption_sha512_init(void);
void logic_encryption_sha512_update(uint8_t const * data, size_t len);
void logic_encryption_sha512_final(uint8_t *hash);
The text was updated successfully, but these errors were encountered: