Searched refs:crp_nbits (Results 1 – 10 of 10) sorted by relevance
632 crp->crp_nbits = 0; in bn2crparam()642 crp->crp_nbits = bits; in bn2crparam()662 bytes = (crp->crp_nbits + 7) / 8; in crparam2bn()688 kop->crk_param[i].crp_nbits = 0; in zapparams()702 kop->crk_param[kop->crk_iparams].crp_nbits = rlen * 8; in cryptodev_asym()707 kop->crk_param[kop->crk_iparams+1].crp_nbits = slen * 8; in cryptodev_asym()881 kop.crk_param[0].crp_nbits = dlen * 8; in cryptodev_dsa_do_sign()921 kop.crk_param[0].crp_nbits = dlen * 8; in cryptodev_dsa_verify()998 kop.crk_param[3].crp_nbits = keylen * 8; in cryptodev_dh_compute_key()
661 crp->crp_nbits = 0; in bn2crparam()671 crp->crp_nbits = bits; in bn2crparam()690 bytes = (crp->crp_nbits + 7) / 8; in crparam2bn()715 kop->crk_param[i].crp_nbits = 0; in zapparams()730 kop->crk_param[kop->crk_iparams].crp_nbits = rlen * 8; in cryptodev_asym()736 kop->crk_param[kop->crk_iparams + 1].crp_nbits = slen * 8; in cryptodev_asym()925 kop.crk_param[0].crp_nbits = dlen * 8; in cryptodev_dsa_do_sign()965 kop.crk_param[0].crp_nbits = dlen * 8; in cryptodev_dsa_verify()1046 kop.crk_param[3].crp_nbits = keylen * 8; in cryptodev_dh_compute_key()
1021 crp->crp_nbits = 0; in bn2crparam()1032 crp->crp_nbits = bits; in bn2crparam()1051 bytes = (crp->crp_nbits + 7) / 8; in crparam2bn()1075 kop->crk_param[i].crp_nbits = 0; in zapparams()1093 kop->crk_param[kop->crk_iparams].crp_nbits = rlen * 8; in cryptodev_asym()1105 kop->crk_param[kop->crk_iparams + 1].crp_nbits = slen * 8; in cryptodev_asym()1295 kop.crk_param[0].crp_nbits = dlen * 8; in cryptodev_dsa_do_sign()1338 kop.crk_param[0].crp_nbits = dlen * 8; in cryptodev_dsa_verify()1419 kop.crk_param[3].crp_nbits = keylen * 8; in cryptodev_dh_compute_key()
1020 crp->crp_nbits = 0; in bn2crparam()1031 crp->crp_nbits = bits; in bn2crparam()1050 bytes = (crp->crp_nbits + 7) / 8; in crparam2bn()1074 kop->crk_param[i].crp_nbits = 0; in zapparams()1092 kop->crk_param[kop->crk_iparams].crp_nbits = rlen * 8; in cryptodev_asym()1104 kop->crk_param[kop->crk_iparams + 1].crp_nbits = slen * 8; in cryptodev_asym()1294 kop.crk_param[0].crp_nbits = dlen * 8; in cryptodev_dsa_do_sign()1337 kop.crk_param[0].crp_nbits = dlen * 8; in cryptodev_dsa_verify()1418 kop.crk_param[3].crp_nbits = keylen * 8; in cryptodev_dh_compute_key()
876 krp->krp_param[i].crp_nbits = kop->crk_param[i].crp_nbits; in cryptodev_key()878 size = (krp->krp_param[i].crp_nbits + 7) / 8; in cryptodev_key()914 size = (krp->krp_param[i].crp_nbits + 7) / 8; in cryptodev_key()931 size = (kp->crp_nbits + 7) / 8; in cryptodev_key()1466 krp->krp_param[i].crp_nbits = in cryptodev_mkey()1467 kop[req].crk_param[i].crp_nbits; in cryptodev_mkey()1469 size = (krp->krp_param[i].crp_nbits + 7) / 8; in cryptodev_mkey()1501 size = (kp->crp_nbits + 7) / 8; in cryptodev_mkey()1900 size = (krp->krp_param[i].crp_nbits in cryptodev_getmstatus()1923 size = (kp->crp_nbits + 7) / 8; in cryptodev_getmstatus()[all …]
266 u_int crp_nbits; member
2062 clen = (krp->krp_param[krp->krp_iparams].crp_nbits + 7) / 8; in ubsec_callback2()2078 (krp->krp_param[krp->krp_iparams].crp_nbits in ubsec_callback2()2087 krp->krp_param[krp->krp_iparams].crp_nbits); in ubsec_callback2()2112 len = (krp->krp_param[UBS_RSAPRIV_PAR_MSGOUT].crp_nbits + 7) in ubsec_callback2()2596 if (krp->krp_param[krp->krp_iparams].crp_nbits < nbits) { in ubsec_kprocess_modexp_sw()2803 if (krp->krp_param[krp->krp_iparams].crp_nbits < nbits) { in ubsec_kprocess_modexp_hw()3030 (krp->krp_param[UBS_RSAPRIV_PAR_P].crp_nbits + 7) / 8); in ubsec_kprocess_rsapriv()3035 (krp->krp_param[UBS_RSAPRIV_PAR_Q].crp_nbits + 7) / 8); in ubsec_kprocess_rsapriv()3040 (krp->krp_param[UBS_RSAPRIV_PAR_DP].crp_nbits + 7) / 8); in ubsec_kprocess_rsapriv()3045 (krp->krp_param[UBS_RSAPRIV_PAR_DQ].crp_nbits + 7) / 8); in ubsec_kprocess_rsapriv()[all …]
1547 req->krp->krp_param[parm].crp_nbits = numbytes*8; in n8_kcallback_finish()1772 if (krp->krp_param[ind].crp_nbits > (NSP_MAX_KEYLEN*8)) { in check_key_parms()1776 krp->krp_param[ind].crp_nbits); in check_key_parms()1891 krp->krp_param[ind].crp_nbits, in n8_kprocess()1909 (krp->krp_param[ind].crp_nbits+7)/8; in n8_kprocess()1911 krp->krp_param[ind].crp_nbits, in n8_kprocess()