daviddpd / dpdChatFabric

A Light weight private messaging (and chat) fabric, with direct, relayed, and P2P modes for IoT
https://chatfabric.org
BSD 2-Clause "Simplified" License
3 stars 1 forks source link

Simple C ChaCha20 and Poly1305 for IETF (AEAD) #1

Open daviddpd opened 8 years ago

daviddpd commented 8 years ago

I can't seem to find a simple ChaCha20 C implementation for RFC 7539. Most are 64bit nonce , the IETF version uses a 96 bit nonce.

Currently, encrypted payloads are Salsa20 + Poly1305.

beckmx commented 8 years ago

so, does it mean the esp8266 might not be able to implement chacha20?

daviddpd commented 8 years ago

Not at all. I just can't find C99 code for chacha20 (RFC 7539) w/ the 96 bin nonce. The encryption code is just a little bit outside my skill and patience level to implement.

There is absolutely not issue with esp8266 cpu power for encryption.

pallas commented 5 years ago

https://github.com/wg/c20p1305