From e7e906de13add2c609e639da135418d4b0a9435f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 6 Mar 2015 17:03:50 +0000 Subject: [PATCH] Normalize a few more name references --- include/polarssl/config.h | 2 +- include/polarssl/pkcs11.h | 2 +- include/polarssl/rsa.h | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/polarssl/config.h b/include/polarssl/config.h index 14a9abbac..33309b538 100644 --- a/include/polarssl/config.h +++ b/include/polarssl/config.h @@ -2124,7 +2124,7 @@ * library/ssl_srv.c * * Requires: POLARSSL_CIPHER_C, POLARSSL_MD_C - * and at least one of the POLARSSL_SSL_PROTO_* defines + * and at least one of the POLARSSL_SSL_PROTO_XXX defines * * This module is required for SSL/TLS. */ diff --git a/include/polarssl/pkcs11.h b/include/polarssl/pkcs11.h index 18c3370fc..1d64f0cf6 100644 --- a/include/polarssl/pkcs11.h +++ b/include/polarssl/pkcs11.h @@ -117,7 +117,7 @@ int pkcs11_decrypt( pkcs11_context *ctx, * * \param ctx PKCS #11 context * \param mode must be RSA_PRIVATE, for compatibility with rsa.c's signature - * \param md_alg a POLARSSL_MD_* (use POLARSSL_MD_NONE for signing raw data) + * \param md_alg a POLARSSL_MD_XXX (use POLARSSL_MD_NONE for signing raw data) * \param hashlen message digest length (for POLARSSL_MD_NONE only) * \param hash buffer holding the message digest * \param sig buffer that will hold the ciphertext diff --git a/include/polarssl/rsa.h b/include/polarssl/rsa.h index 21109edbd..c1fc3cb1e 100644 --- a/include/polarssl/rsa.h +++ b/include/polarssl/rsa.h @@ -408,7 +408,7 @@ int rsa_rsaes_oaep_decrypt( rsa_context *ctx, * RSA_PRIVATE) * \param p_rng RNG parameter * \param mode RSA_PUBLIC or RSA_PRIVATE - * \param md_alg a POLARSSL_MD_* (use POLARSSL_MD_NONE for signing raw data) + * \param md_alg a POLARSSL_MD_XXX (use POLARSSL_MD_NONE for signing raw data) * \param hashlen message digest length (for POLARSSL_MD_NONE only) * \param hash buffer holding the message digest * \param sig buffer that will hold the ciphertext @@ -438,7 +438,7 @@ int rsa_pkcs1_sign( rsa_context *ctx, * \param f_rng RNG function (Only needed for RSA_PRIVATE) * \param p_rng RNG parameter * \param mode RSA_PUBLIC or RSA_PRIVATE - * \param md_alg a POLARSSL_MD_* (use POLARSSL_MD_NONE for signing raw data) + * \param md_alg a POLARSSL_MD_XXX (use POLARSSL_MD_NONE for signing raw data) * \param hashlen message digest length (for POLARSSL_MD_NONE only) * \param hash buffer holding the message digest * \param sig buffer that will hold the ciphertext @@ -466,7 +466,7 @@ int rsa_rsassa_pkcs1_v15_sign( rsa_context *ctx, * RSA_PRIVATE) * \param p_rng RNG parameter * \param mode RSA_PUBLIC or RSA_PRIVATE - * \param md_alg a POLARSSL_MD_* (use POLARSSL_MD_NONE for signing raw data) + * \param md_alg a POLARSSL_MD_XXX (use POLARSSL_MD_NONE for signing raw data) * \param hashlen message digest length (for POLARSSL_MD_NONE only) * \param hash buffer holding the message digest * \param sig buffer that will hold the ciphertext @@ -500,7 +500,7 @@ int rsa_rsassa_pss_sign( rsa_context *ctx, * \param f_rng RNG function (Only needed for RSA_PRIVATE) * \param p_rng RNG parameter * \param mode RSA_PUBLIC or RSA_PRIVATE - * \param md_alg a POLARSSL_MD_* (use POLARSSL_MD_NONE for signing raw data) + * \param md_alg a POLARSSL_MD_XXX (use POLARSSL_MD_NONE for signing raw data) * \param hashlen message digest length (for POLARSSL_MD_NONE only) * \param hash buffer holding the message digest * \param sig buffer holding the ciphertext @@ -530,7 +530,7 @@ int rsa_pkcs1_verify( rsa_context *ctx, * \param f_rng RNG function (Only needed for RSA_PRIVATE) * \param p_rng RNG parameter * \param mode RSA_PUBLIC or RSA_PRIVATE - * \param md_alg a POLARSSL_MD_* (use POLARSSL_MD_NONE for signing raw data) + * \param md_alg a POLARSSL_MD_XXX (use POLARSSL_MD_NONE for signing raw data) * \param hashlen message digest length (for POLARSSL_MD_NONE only) * \param hash buffer holding the message digest * \param sig buffer holding the ciphertext @@ -558,7 +558,7 @@ int rsa_rsassa_pkcs1_v15_verify( rsa_context *ctx, * \param f_rng RNG function (Only needed for RSA_PRIVATE) * \param p_rng RNG parameter * \param mode RSA_PUBLIC or RSA_PRIVATE - * \param md_alg a POLARSSL_MD_* (use POLARSSL_MD_NONE for signing raw data) + * \param md_alg a POLARSSL_MD_XXX (use POLARSSL_MD_NONE for signing raw data) * \param hashlen message digest length (for POLARSSL_MD_NONE only) * \param hash buffer holding the message digest * \param sig buffer holding the ciphertext @@ -592,7 +592,7 @@ int rsa_rsassa_pss_verify( rsa_context *ctx, * \param f_rng RNG function (Only needed for RSA_PRIVATE) * \param p_rng RNG parameter * \param mode RSA_PUBLIC or RSA_PRIVATE - * \param md_alg a POLARSSL_MD_* (use POLARSSL_MD_NONE for signing raw data) + * \param md_alg a POLARSSL_MD_XXX (use POLARSSL_MD_NONE for signing raw data) * \param hashlen message digest length (for POLARSSL_MD_NONE only) * \param hash buffer holding the message digest * \param mgf1_hash_id message digest used for mask generation