Define specific mode for ChachaPoly

The TLS layer is checking for mode, such as GCM, CCM, CBC, STREAM. ChachaPoly
needs to have its own mode, even if it's used just one cipher, in order to
allow consistent handling of mode in the TLS layer.
diff --git a/library/cipher_wrap.c b/library/cipher_wrap.c
index e22c172..893490a 100644
--- a/library/cipher_wrap.c
+++ b/library/cipher_wrap.c
@@ -2040,7 +2040,7 @@
 };
 static const mbedtls_cipher_info_t chachapoly_info = {
     MBEDTLS_CIPHER_CHACHA20_POLY1305,
-    MBEDTLS_MODE_NONE,
+    MBEDTLS_MODE_CHACHAPOLY,
     256,
     "CHACHA20-POLY1305",
     12,