Re:Cryptographic Right Answers
by posterboy on Tuesday April 03, 2018 @10:55PM
(#16751513)
avr has aes extensions, surely arm cortex-m has similar. are those any good, are they used by the libs you mention?
[ Parent
| on HN ]
Neither of those libraries uses any extensions. TweetNaCl is a famously minimal implementation of NaCl in portable C by the NaCl authors. Monocypher is a library 'loup-vaillant wrote as a sort of side project. TweetNaCl does see some use, but libsodium is the most popular NaCl implementation, and libsodium's author provides his own low-footprint misuse-resistant crypto API separately.
Neither TweetNaCl nor 'loup-vaillant's library really addresses the low-footprint concern.
Re:Cryptographic Right Answers
by loup-vaillant on Wednesday April 04, 2018 @01:57AM
(#16752341)
If they have hardware AES support, forget everything I said. Monocypher and TweetNacl are portable C, they don't use extensions of any kind.