summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/x509.asn1
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-01-19 03:54:33 +0300
committerJarkko Sakkinen <jarkko@kernel.org>2022-03-08 11:33:18 +0300
commit8f2a7b518bb878c9a8c4f86432908a53e060da1f (patch)
treeb6926c7d2c37632315e959168b1959ff94f69b1e /crypto/asymmetric_keys/x509.asn1
parentc51abd96837f600d8fd940b6ab8e2da578575504 (diff)
downloadlinux-8f2a7b518bb878c9a8c4f86432908a53e060da1f.tar.xz
KEYS: x509: clearly distinguish between key and signature algorithms
An X.509 certificate has two, potentially different public key algorithms: the one used by the certificate's key, and the one that was used to sign the certificate. Some of the naming made it unclear which algorithm was meant. Rename things appropriately: - x509_note_pkey_algo() => x509_note_sig_algo() - algo_oid => sig_algo Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'crypto/asymmetric_keys/x509.asn1')
-rw-r--r--crypto/asymmetric_keys/x509.asn12
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asymmetric_keys/x509.asn1 b/crypto/asymmetric_keys/x509.asn1
index 5c9f4e4a5231..92d59c32f96a 100644
--- a/crypto/asymmetric_keys/x509.asn1
+++ b/crypto/asymmetric_keys/x509.asn1
@@ -7,7 +7,7 @@ Certificate ::= SEQUENCE {
TBSCertificate ::= SEQUENCE {
version [ 0 ] Version DEFAULT,
serialNumber CertificateSerialNumber ({ x509_note_serial }),
- signature AlgorithmIdentifier ({ x509_note_pkey_algo }),
+ signature AlgorithmIdentifier ({ x509_note_sig_algo }),
issuer Name ({ x509_note_issuer }),
validity Validity,
subject Name ({ x509_note_subject }),