Home
last modified time | relevance | path

Searched hist:bef8bc684207124e10d768c25fdf398db52610cf (Results 1 – 2 of 2) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dpersistent_token.cbef8bc684207124e10d768c25fdf398db52610cf Thu Apr 09 10:30:03 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> ta: pkcs11: helpers for PIN hashing

Adds helpers to hash PIN and to verify the hash of a PIN. The PIN is
hashed together with user type and a generated salt. A used salt never
takes the value 0 so that can be used to tell if a PIN is set.

Acked-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
H A Dpkcs11_token.hbef8bc684207124e10d768c25fdf398db52610cf Thu Apr 09 10:30:03 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> ta: pkcs11: helpers for PIN hashing

Adds helpers to hash PIN and to verify the hash of a PIN. The PIN is
hashed together with user type and a generated salt. A used salt never
takes the value 0 so that can be used to tell if a PIN is set.

Acked-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>