Re: [PATCH v2] crypto: rsa-pkcs1pad: export rsa1_asn_lookup()

2024-05-15 Thread Herbert Xu
On Wed, May 15, 2024 at 06:02:10PM +0300, Jarkko Sakkinen wrote: > ASN.1 template is required for TPM2 asymmetric keys, as it needs to be > piggy-packed with the input data before applying TPM2_RSA_Decrypt. This > patch prepares crypto subsystem for the addition of those keys. > > Later rsa_lookup

[PATCH v2] crypto: rsa-pkcs1pad: export rsa1_asn_lookup()

2024-05-15 Thread Jarkko Sakkinen
ASN.1 template is required for TPM2 asymmetric keys, as it needs to be piggy-packed with the input data before applying TPM2_RSA_Decrypt. This patch prepares crypto subsystem for the addition of those keys. Later rsa_lookup_asn1() can be enabled in crypto/asymmetric_keys/Kconfig by: depen

[PATCH] crypto: rsa-pkcs1pad: export rsa1_asn_lookup()

2024-05-15 Thread Jarkko Sakkinen
ASN.1 template is required for TPM2 asymmetric keys, as it needs to be piggy-packed with the input data before applying TPM2_RSA_Decrypt. This patch prepares crypto subsystem for the addition of those keys. Later rsa_lookup_asn1() can be enabled in crypto/asymmetric_keys/Kconfig by: depen