Lines Matching defs:td
336 init_slot_info(TOKEN_DATA *td)
352 td->token_info.manufacturerID,
353 strlen((char *)td->token_info.manufacturerID));
369 init_token_info(TOKEN_DATA *td)
373 token_info = &td->token_info;
387 if (memcmp(td->user_pin_sha, "00000000000000000000",
411 init_token_data(TSS_HCONTEXT hContext, TOKEN_DATA *td) {
414 (void) memset((char *)td, 0, sizeof (nv_token_data));
418 (void) memcpy(td->user_pin_sha, "00000000000000000000",
420 (void) memcpy(td->so_pin_sha, default_so_pin_sha,
426 (void) memcpy(td->next_token_object_name, "00000000", 8);
428 td->tweak_vector.allow_key_mods = TRUE;
430 init_token_info(td);
432 rc = token_get_tpm_info(hContext, td);
436 rc = save_token_data(td);