Commit Graph

174 Commits (603c9c59a5f5849a2b961fc378929b9d5efda09c)

Author SHA1 Message Date
Simon1511 34c64e7c67 Import A525FXXU3AUG4 3 years ago
Arnd Bergmann 109d149795 crypto: asymmetric_keys - select CRYPTO_HASH where needed 6 years ago
Yannik Sembritzki f70805bef7 Replace magic for trusting the secondary keyring with #define 6 years ago
Maciej S. Szmigiero af20e4eccc X.509: unpack RSA signatureValue field from BIT STRING 7 years ago
Eric Biggers e47c1bf99a PKCS#7: fix direct verification of SignerInfo signature 7 years ago
Eric Biggers 29e76b211e PKCS#7: fix certificate blacklisting 7 years ago
Eric Biggers 1a1f7f726b PKCS#7: fix certificate chain verification 7 years ago
Eric Biggers 99b2095ac7 X.509: fix NULL dereference when restricting key with unsupported_sig 7 years ago
Eric Biggers dcb04cc794 X.509: fix BUG_ON() when hash algorithm is unsupported 7 years ago
Eric Biggers 70feeaaabf X.509: fix comparisons of ->pkey_algo 7 years ago
Eric Biggers 31b3bcc66f X.509: reject invalid BIT STRING for subjectPublicKey 7 years ago
Greg Kroah-Hartman b24413180f License cleanup: add SPDX GPL-2.0 license identifier to files with no license 7 years ago
Eric Sesterhenn 68a1fdbbf8 pkcs7: Prevent NULL pointer dereference, since sinfo is not always set. 7 years ago
Chun-Yi Lee b3811d36a3 KEYS: checking the input id parameters before finding asymmetric key 7 years ago
Chun-Yi Lee 6a6d2a77ad KEYS: Fix the wrong index when checking the existence of second id 7 years ago
Dan Carpenter 3bca64c1b9 X.509: Fix error code in x509_cert_parse() 8 years ago
Loganaden Velvindron da7798a7b6 crypto : asymmetric_keys : verify_pefile:zero memory content before freeing 8 years ago
Dan Carpenter 4e880168e9 X.509: Fix error code in x509_cert_parse() 8 years ago
Gilad Ben-Yossef e68368aed5 crypto: asymmetric_keys - handle EBUSY due to backlog correctly 8 years ago
Mat Martineau 8e323a02e8 KEYS: Keyring asymmetric key restrict method with chaining 8 years ago
Mat Martineau 7e3c4d2208 KEYS: Restrict asymmetric key linkage using a specific keychain 8 years ago
Mat Martineau 97d3aa0f31 KEYS: Add a lookup_restriction function for the asymmetric key type 8 years ago
Mat Martineau aaf66c8838 KEYS: Split role of the keyring pointer for keyring restrict functions 8 years ago
David Howells 03bb79315d PKCS#7: Handle blacklisted certificates 8 years ago
David Howells 436529562d X.509: Allow X.509 certs to be blacklisted 8 years ago
Pan Bian fbb726302a crypto: asymmetric_keys - set error code on failure 8 years ago
Andrey Ryabinin 2b95fda2c4 X.509: Fix double free in x509_cert_parse() [ver #3] 8 years ago
Mat Martineau acddc72015 KEYS: Fix for erroneous trust of incorrectly signed X.509 certs 9 years ago
Lans Zhang d128471a14 pefile: Fix the failure of calculation for digest 9 years ago
Lans Zhang a46e667887 PKCS#7: Fix panic when referring to the empty AKID when DEBUG defined 9 years ago
Arnd Bergmann bad6a185b4 crypto: public_key: select CRYPTO_AKCIPHER 9 years ago
David Howells 3c8f227871 KEYS: The PKCS#7 test key type should use the secondary keyring 9 years ago
David Howells a511e1af8b KEYS: Move the point of trust determination to __key_link() 9 years ago
David Howells 99716b7cae KEYS: Make the system trusted keyring depend on the asymmetric key type 9 years ago
David Howells cfb664ff2b X.509: Move the trust validation code out to its own file 9 years ago
David Howells 5f7f5c81e5 X.509: Use verify_signature() if we have a struct key * to use 9 years ago
David Howells 9eb029893a KEYS: Generalise x509_request_asymmetric_key() 9 years ago
David Howells 983023f28b KEYS: Move x509_request_asymmetric_key() to asymmetric_type.c 9 years ago
David Howells bda850cd21 PKCS#7: Make trust determination dependent on contents of trust keyring 9 years ago
David Howells e68503bd68 KEYS: Generalise system_verify_data() to provide access to internal content 9 years ago
David Howells ad3043fda3 X.509: Fix self-signed determination 9 years ago
David Howells 6c2dc5ae4a X.509: Extract signature digest and make self-signed cert checks earlier 9 years ago
David Howells 566a117a8b PKCS#7: Make the signature a pointer rather than embedding it 9 years ago
David Howells 77d0910d15 X.509: Retain the key verification data 9 years ago
David Howells a022ec0269 KEYS: Add identifier pointers to public_key_signature struct 9 years ago
David Howells 3b76456317 KEYS: Allow authentication data to be stored in an asymmetric key 9 years ago
David Howells 864e7a816a X.509: Whitespace cleanup 9 years ago
Colin Ian King 06af9b0f49 PKCS#7: fix missing break on OID_sha224 case 9 years ago
Nicolai Stange e54358915d PKCS#7: pkcs7_validate_trust(): initialize the _trusted output argument 9 years ago
David Howells 4e8ae72a75 X.509: Make algo identifiers text instead of enum 9 years ago