Deprecate mbedtls_cipher_auth_xxcrypt()
This temporarily breaks all.sh '*deprecated*' (deprecated functions still used
in the library), which will be fix in the next commit.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/library/cipher.c b/library/cipher.c
index 47dafa4..44cba34 100644
--- a/library/cipher.c
+++ b/library/cipher.c
@@ -1469,6 +1469,7 @@
return( MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE );
}
+#if !defined(MBEDTLS_DEPRECATED_REMOVED)
/*
* Packet-oriented encryption for AEAD modes: public function.
*/
@@ -1536,6 +1537,7 @@
input, ilen, output, olen,
tag, tag_len ) );
}
+#endif /* !MBEDTLS_DEPRECATED_REMOVED */
#endif /* MBEDTLS_CIPHER_MODE_AEAD */
#if defined(MBEDTLS_CIPHER_MODE_AEAD) || defined(MBEDTLS_NIST_KW_C)