Searched hist:b3ac50354af5cfe2529788da3124274bf2a8d844 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | pkcs11_token.c | b3ac50354af5cfe2529788da3124274bf2a8d844 Mon Feb 17 13:45:57 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> ta: pkcs11: add pad_str() helper in token info wrapper
Add pad_str() to pad a string ('\0' terminated) with blank characters (' '), removing the '\0' termination as per PKCS#11 specification.
This will factorize other padding needed in other function/command wrappers.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|