Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libcryptoutil/common/
H A Dpassutils.c64 pkcs11_get_pass(char *token_name, char **pdata, size_t *psize, size_t min_psize, in pkcs11_get_pass() argument
72 if (token_name != NULL) in pkcs11_get_pass()
74 token_name); in pkcs11_get_pass()
86 if (token_name != NULL) in pkcs11_get_pass()
102 if (token_name != NULL) in pkcs11_get_pass()
104 DEFAULT_TOKEN_REPROMPT, token_name); in pkcs11_get_pass()
H A Dcryptoutil.h213 extern int pkcs11_get_pass(char *token_name, char **pdata, size_t *psize,
/titanic_50/usr/src/cmd/cmd-crypto/pktool/
H A Dsetpin.c120 char *token_name = NULL; in setpin_pkcs11() local
132 token_name = SOFT_TOKEN_LABEL; in setpin_pkcs11()
142 if (token_name == NULL) in setpin_pkcs11()
143 token_name = (char *)token_info.label; in setpin_pkcs11()
153 strcmp(token_name, SOFT_TOKEN_LABEL) == 0) { in setpin_pkcs11()
190 if (token_name != NULL) { in setpin_pkcs11()
192 token_name, strlen(token_name)); in setpin_pkcs11()
/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c234 parse_token_spec(char *token_spec, char **token_name, char **manuf_id, in parse_token_spec() argument
243 *token_name = NULL; in parse_token_spec()
249 *token_name = token_spec; in parse_token_spec()
252 unescape_str(*token_name); in parse_token_spec()
254 if (*(*token_name) == '\0') { /* token label is required */ in parse_token_spec()
305 char *token_name = NULL; in kmf_pk11_token_lookup() local
331 if (parse_token_spec(tmplabel, &token_name, &manuf_id, in kmf_pk11_token_lookup()
357 len = strlen(token_name); in kmf_pk11_token_lookup()
359 if (memcmp_pad_max(&(token_info.label), max_sz, token_name, in kmf_pk11_token_lookup()
418 if (memcmp_pad_max(metaslot_token_info, max_sz, token_name, len, in kmf_pk11_token_lookup()