Browse Source

provider: use #define for PBKDF1 algorithm name

This seems to be standard practice so bringing PBKDF1 into line.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15967)
master
Pauli 4 months ago
parent
commit
56cd5dc78b
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      providers/implementations/include/prov/names.h
  2. +1
    -1
      providers/legacyprov.c

+ 1
- 0
providers/implementations/include/prov/names.h View File

@ -250,6 +250,7 @@
#define PROV_NAMES_HKDF "HKDF"
#define PROV_DESCS_HKDF_SIGN "OpenSSL HKDF via EVP_PKEY implementation"
#define PROV_NAMES_SSKDF "SSKDF"
#define PROV_NAMES_PBKDF1 "PBKDF1"
#define PROV_NAMES_PBKDF2 "PBKDF2:1.2.840.113549.1.5.12"
#define PROV_NAMES_SSHKDF "SSHKDF"
#define PROV_NAMES_X963KDF "X963KDF:X942KDF-CONCAT"


+ 1
- 1
providers/legacyprov.c View File

@ -144,7 +144,7 @@ static const OSSL_ALGORITHM legacy_ciphers[] = {
};
static const OSSL_ALGORITHM legacy_kdfs[] = {
ALG("PBKDF1", ossl_kdf_pbkdf1_functions),
ALG(PROV_NAMES_PBKDF1, ossl_kdf_pbkdf1_functions),
{ NULL, NULL, NULL }
};


Loading…
Cancel
Save