Lines Matching refs:pkcs11
960 if (attempt == 0 && setup_data && setup_data->pki_key.key.pkcs11.user_pin) { in pin_callback()
961 int len = min(pin_max - 1, strlen(setup_data->pki_key.key.pkcs11.user_pin)); in pin_callback()
962 memcpy(pin, setup_data->pki_key.key.pkcs11.user_pin, len); in pin_callback()
1320 if (setup_data->pki_key.key.pkcs11.public_cert && in setup_pki_credentials()
1321 setup_data->pki_key.key.pkcs11.public_cert[0] && in setup_pki_credentials()
1322 setup_data->pki_key.key.pkcs11.private_key && in setup_pki_credentials()
1323 setup_data->pki_key.key.pkcs11.private_key[0]) { in setup_pki_credentials()
1329 setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_credentials()
1330 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_credentials()
1343 setup_data->pki_key.key.pkcs11.public_cert, in setup_pki_credentials()
1344 setup_data->pki_key.key.pkcs11.private_key, in setup_pki_credentials()
1356 if (setup_data->pki_key.key.pkcs11.ca && in setup_pki_credentials()
1357 setup_data->pki_key.key.pkcs11.ca[0]) { in setup_pki_credentials()
1359 setup_data->pki_key.key.pkcs11.ca, in setup_pki_credentials()