Searched refs:sr_init (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSign.c505 crypto_sign_recover_init_t sr_init; local
554 sr_init.ri_key.ck_format = CRYPTO_KEY_REFERENCE;
555 sr_init.ri_key.ck_obj_id = key_p->k_handle;
558 if (get_rsa_private_key(key_p, &sr_init.ri_key) !=
569 sr_init.ri_session = session_p->k_session;
572 sr_init.ri_mech.cm_type = k_mech_type;
573 sr_init.ri_mech.cm_param = pMechanism->pParameter;
574 sr_init.ri_mech.cm_param_len = pMechanism->ulParameterLen;
576 while ((r = ioctl(kernel_fd, CRYPTO_SIGN_RECOVER_INIT, &sr_init)) < 0) {
583 rv = crypto2pkcs11_error_number(sr_init
[all...]

Completed in 21 milliseconds