Home
last modified time | relevance | path

Searched refs:pkcs11_modes (Results 1 – 1 of 1) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dtoken_capabilities.c69 static const struct pkcs11_mechachism_modes pkcs11_modes[] = { variable
163 for (n = 0; n < ARRAY_SIZE(pkcs11_modes); n++) in mechanism_string_id()
164 if (pkcs11_modes[n].id == id) in mechanism_string_id()
165 return pkcs11_modes[n].string + offset; in mechanism_string_id()
178 for (n = 0; n < ARRAY_SIZE(pkcs11_modes); n++) in mechanism_is_valid()
179 if (id == pkcs11_modes[n].id) in mechanism_is_valid()
195 for (n = 0; n < ARRAY_SIZE(pkcs11_modes); n++) { in mechanism_flags_complies_pkcs11()
196 if (pkcs11_modes[n].id == mechanism_type) { in mechanism_flags_complies_pkcs11()
197 if (flags & ~pkcs11_modes[n].flags) in mechanism_flags_complies_pkcs11()
200 flags, pkcs11_modes[n].flags); in mechanism_flags_complies_pkcs11()
[all …]