AEAD/Chacha20/Poly1305 encryption

This commit is contained in:
orignal 2018-06-13 11:41:46 -04:00
parent bf1e1ad457
commit df60e78766
5 changed files with 52 additions and 10 deletions

View file

@ -113,7 +113,20 @@ inline void htobe64buf(void *buf, uint64_t big64)
htobuf64(buf, htobe64(big64));
}
inline void htole16buf(void *buf, uint16_t big16)
{
htobuf16(buf, htole16(big16));
}
inline void htole32buf(void *buf, uint32_t big32)
{
htobuf32(buf, htole32(big32));
}
inline void htole64buf(void *buf, uint64_t big64)
{
htobuf64(buf, htole64(big64));
}
#endif // I2PENDIAN_H__