diff options
author | David Howells <dhowells@redhat.com> | 2013-08-30 11:15:10 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2013-09-25 10:51:07 -0400 |
commit | 9abc4e66eb839c28516916543768be08c814a3c8 (patch) | |
tree | 1cf2c1715b7c9ea166338a84d37ff90ea6254591 /include/crypto/public_key.h | |
parent | f36f8c75ae2e7d4da34f4c908cebdb4aa42c977e (diff) |
KEYS: Rename public key parameter name arrays
Rename the arrays of public key parameters (public key algorithm names, hash
algorithm names and ID type names) so that the array name ends in "_name".
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Josh Boyer <jwboyer@redhat.com>
Diffstat (limited to 'include/crypto/public_key.h')
-rw-r--r-- | include/crypto/public_key.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/crypto/public_key.h b/include/crypto/public_key.h index f5b0224c9967..619d5706d837 100644 --- a/include/crypto/public_key.h +++ b/include/crypto/public_key.h | |||
@@ -22,7 +22,7 @@ enum pkey_algo { | |||
22 | PKEY_ALGO__LAST | 22 | PKEY_ALGO__LAST |
23 | }; | 23 | }; |
24 | 24 | ||
25 | extern const char *const pkey_algo[PKEY_ALGO__LAST]; | 25 | extern const char *const pkey_algo_name[PKEY_ALGO__LAST]; |
26 | 26 | ||
27 | enum pkey_hash_algo { | 27 | enum pkey_hash_algo { |
28 | PKEY_HASH_MD4, | 28 | PKEY_HASH_MD4, |
@@ -36,7 +36,7 @@ enum pkey_hash_algo { | |||
36 | PKEY_HASH__LAST | 36 | PKEY_HASH__LAST |
37 | }; | 37 | }; |
38 | 38 | ||
39 | extern const char *const pkey_hash_algo[PKEY_HASH__LAST]; | 39 | extern const char *const pkey_hash_algo_name[PKEY_HASH__LAST]; |
40 | 40 | ||
41 | enum pkey_id_type { | 41 | enum pkey_id_type { |
42 | PKEY_ID_PGP, /* OpenPGP generated key ID */ | 42 | PKEY_ID_PGP, /* OpenPGP generated key ID */ |
@@ -44,7 +44,7 @@ enum pkey_id_type { | |||
44 | PKEY_ID_TYPE__LAST | 44 | PKEY_ID_TYPE__LAST |
45 | }; | 45 | }; |
46 | 46 | ||
47 | extern const char *const pkey_id_type[PKEY_ID_TYPE__LAST]; | 47 | extern const char *const pkey_id_type_name[PKEY_ID_TYPE__LAST]; |
48 | 48 | ||
49 | /* | 49 | /* |
50 | * Cryptographic data for the public-key subtype of the asymmetric key type. | 50 | * Cryptographic data for the public-key subtype of the asymmetric key type. |