Searched defs:newtoken (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c379 TOKEN_DATA newtoken; local
400 rc = load_token_data(hContext, &newtoken);
405 if (newtoken.token_info.flags & CKF_SO_PIN_LOCKED) {
424 (void) init_token_data(hContext, &newtoken);
425 (void) init_slot_info(&newtoken);
428 (void) strncpy((char *)newtoken.token_info.label, (char *)pLabel,
429 sizeof (newtoken.token_info.label));
431 (void) memcpy(newtoken.so_pin_sha, hash_sha,
434 newtoken.token_info.flags |= CKF_TOKEN_INITIALIZED;
436 rc = save_token_data(&newtoken);
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgweb.c2756 replace_token(char *path, char oldtoken, char newtoken) argument
2760 if ((path == NULL) || (oldtoken == '\0') || (newtoken == '\0')) {
2768 *p = newtoken;

Completed in 83 milliseconds