Searched refs:sr_init (Results 1 – 1 of 1) sorted by relevance
506 crypto_sign_recover_init_t sr_init; in C_SignRecoverInit() local555 sr_init.ri_key.ck_format = CRYPTO_KEY_REFERENCE; in C_SignRecoverInit()556 sr_init.ri_key.ck_obj_id = key_p->k_handle; in C_SignRecoverInit()559 if (get_rsa_private_key(key_p, &sr_init.ri_key) != in C_SignRecoverInit()570 sr_init.ri_session = session_p->k_session; in C_SignRecoverInit()573 sr_init.ri_mech.cm_type = k_mech_type; in C_SignRecoverInit()574 sr_init.ri_mech.cm_param = pMechanism->pParameter; in C_SignRecoverInit()575 sr_init.ri_mech.cm_param_len = pMechanism->ulParameterLen; in C_SignRecoverInit()577 while ((r = ioctl(kernel_fd, CRYPTO_SIGN_RECOVER_INIT, &sr_init)) < 0) { in C_SignRecoverInit()584 rv = crypto2pkcs11_error_number(sr_init.ri_return_value); in C_SignRecoverInit()[all …]