summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2020-09-14 00:47:26 +0200
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2020-09-23 23:15:46 +0200
commitb0614f0ae3c33182ad184dc82056b22aebf42956 (patch)
treeec3c7feddce2c7dae939daae1062381d57ce6e9a /include
parent0ce47b35c7e6b6b82cfd86ec05b786338b8879c2 (diff)
drbg: revert renamings of the generate and reseed counter
The original names were more intuitive: the generate_counter counts the number of generate requests, and the reseed_counter counts the number of reseedings (of the principal DRBG). reseed_gen_counter -> generate_counter reseed_prop_counter -> reseed_counter This is the anologue to commit 8380f453ec81 on the 1.1.1 stable branch. The only difference is that the second renaming has already been reverted on the master branch. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12941)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/core_names.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/core_names.h b/include/openssl/core_names.h
index 76902695f0..a8d4d51533 100644
--- a/include/openssl/core_names.h
+++ b/include/openssl/core_names.h
@@ -229,7 +229,7 @@ extern "C" {
#define OSSL_DRBG_PARAM_MAX_NONCELEN "max_noncelen"
#define OSSL_DRBG_PARAM_MAX_PERSLEN "max_perslen"
#define OSSL_DRBG_PARAM_MAX_ADINLEN "max_adinlen"
-#define OSSL_DRBG_PARAM_RESEED_CTR "reseed_counter"
+#define OSSL_DRBG_PARAM_RESEED_COUNTER "reseed_counter"
#define OSSL_DRBG_PARAM_RESEED_TIME "reseed_time"
#define OSSL_DRBG_PARAM_PROPERTIES OSSL_ALG_PARAM_PROPERTIES
#define OSSL_DRBG_PARAM_DIGEST OSSL_ALG_PARAM_DIGEST