The key derivation is still following EVP_BytesToKey(3) in OpenSSL. The master key can be input directly from user or generated from a password. SIP004 was proposed by with design inspirations from and SIP007 was proposed by with input from and many others. The way Shadowsocks using AEAD ciphers is specified in SIP004 and amended in SIP007. Please refer to IANA AEAD registry for naming scheme and specification. Implementations for devices with hardware AES acceleration should also implement AEAD_AES_128_GCM and AEAD_AES_256_GCM. Compliant Shadowsocks implementations must support AEAD_CHACHA20_POLY1305. The following AEAD ciphers are recommended. Users should use AEAD ciphers whenever possible. They have excellent performance and power efficiency on modern hardware. AEAD ciphers simultaneously provide confidentiality, integrity, and authenticity. AEAD stands for Authenticated Encryption with Associated Data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |