Re: [PATCH v5 1/2] certs: Move RSA self-test data to separate file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/13/24 3:26 PM, Jarkko Sakkinen wrote:
On Mon May 13, 2024 at 7:55 AM EEST, Joachim Vandersmissen wrote:
+	pkcs7 = pkcs7_parse_message(sig, sig_len);
+	if (IS_ERR(pkcs7))
+		panic("Certs %s selftest: pkcs7_parse_message() = %d\n", name, ret);
Off-topic: wondering if Linux had similar helpers for PKCS#1 padding
(and if not, are they difficult to add)?
PKCS#7 here refers to the message container format, rather than the padding. Internally, the PKCS#1 v1.5 padding scheme will be used (see software_key_determine_akcipher). Unless you are referring to PSS padding (also defined in PKCS#1)?

Anyway, looks good to me:

Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>

BR, Jarkko




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux