message: Add missing register in new aead encryptor/decryptor
diff: @@ -5,6 +5,8 @@ use crypto::cipher::{CipherCategory, CipherResult, CipherType};
  use crypto::ring::RingAeadCipher;
  #[cfg(feature = "miscreant")]
  use crypto::siv::MiscreantCipher;
  +#[cfg(feature = "sodium")]
  +use crypto::sodium::SodiumAeadCipher;
  use ring::digest::SHA1;
  use ring::hkdf;
  @@ -39,6 +41,11 @@ pub fn new_aead_encryptor(t: CipherType, key: &[u8], nonce: &[u8]) -> BoxAeadEnc
  Box::new(RingAeadCipher::new(t, key, nonce, true))
  }
  + #[cfg(feature = "sodium")]
  + CipherType::XChaCha20Poly1305 => {
  + Box::new(SodiumAeadCipher::new(t, key, nonce))
  + }
  +
  #[cfg(feature = "miscreant")]
  CipherType::Aes128PmacSiv | CipherType::Aes256PmacSiv => Box::new(MiscreantCipher::new(t, key, nonce)),
  @@ -55,6 +62,11 @@ pub fn new_aead_decryptor(t: CipherType, key: &[u8], nonce: &[u8]) -> BoxAeadDec
  Box::new(RingAeadCipher::new(t, key, nonce, false))
  }
  + #[cfg(feature = "sodium")]
  + CipherType::XChaCha20Poly1305 => {
  + Box::new(SodiumAeadCipher::new(t, key, nonce))
  + }
  +
  #[cfg(feature = "miscreant")]
  CipherType::Aes128PmacSiv | CipherType::Aes256PmacSiv => Box::new(MiscreantCipher::new(t, key, nonce)),
  