]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: rsa: Fix PKCS11 URI if one is not given in `keydir`
authorCsókás Bence <csokas.bence@prolan.hu>
Fri, 5 Jan 2024 14:08:03 +0000 (15:08 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jan 2024 22:50:27 +0000 (17:50 -0500)
commit11ad2bbfa2d83501a3d7b9fdbd567f55214fde0d
tree616d5c48f71dc37bc430bbb5f6fc2271d827bd70
parent10fee88d42fe37d83f0a37b3dae69b674f8055f3
lib: rsa: Fix PKCS11 URI if one is not given in `keydir`

If `keydir` is not present, we need to build a PKCS11 URI
from just the key name. In this case, we *do* need 'pkcs11:'

Fixes: ece85cc020 rsa: use pkcs11 uri as defined in rfc7512
Signed-off-by: Csókás Bence <csokas.bence@prolan.hu>
lib/rsa/rsa-sign.c