JJérôme Forissierdrivers: se050: allow configuring the Secure Element applet
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
crypto: drivers: se050: fix generation of oid values Converting the OID watermarked value (8 bytes) to a bignum removes the first byte if this is different than zero. The failing case observed the value 0x57.72.15.66.1a.f2.9d.00 being retrieved as 0x57.72.15.66.1a.f2.9d after having been transformed into a bignum and back to its original binary value. This will cause cryptographic operations to fail as the secured keys and objects become not addressable. Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> | 3 年前 | |
se050: ecc: SE050-F shared secret The SE050-F does not support shared secret generation. Allow this operation to also fallback to its software implementation. Fixes: 6cc77cdd73aa ("crypto: drivers: se050-f: ecc: can fallback to softw-ops") Test: xtest regression_4009 Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> | 3 年前 | |
se050: glue: i2c_stm32 To add support in the device tree - since the NXP SE05x device node has not been agreed yet - the user must provide an alias to the bus where the device is located. Once the SE05X node has been agreed, support will be added to all OP-TEE supported platforms. Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> | 3 年前 | |
drivers: se050: allow configuring the Secure Element applet Add CFG_CORE_SE05X_VER to allow configuring the desirable applet version. This enables making the driver compatible with newer elements. Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> | 3 年前 | |
crypto: se050: SCP03 enabled only session. The SE050F FIPS 140-2 certified device makes SCP03 mandatory from boot. To support this use case, we introduce CFG_CORE_SCP03_ONLY. Its functionality is described in crypto.mk. Some information regarding the SE050F device below [1] [1] https://www.nxp.com/docs/en/application-note/AN12436.pdf Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> | 3 年前 | |
se050: glue: i2c_stm32 To add support in the device tree - since the NXP SE05x device node has not been agreed yet - the user must provide an alias to the bus where the device is located. Once the SE05X node has been agreed, support will be added to all OP-TEE supported platforms. Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> | 3 年前 |