Home
last modified time | relevance | path

Searched refs:mod_len (Results 1 – 5 of 5) sorted by relevance

/drivers/s390/crypto/
Dzcrypt_msgtype50.c200 int mod_len; in ICAMEX_msg_to_type50MEX_msg() local
202 mod_len = mex->inputdatalength; in ICAMEX_msg_to_type50MEX_msg()
204 if (mod_len <= 128) { in ICAMEX_msg_to_type50MEX_msg()
212 mod = meb1->modulus + sizeof(meb1->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
213 exp = meb1->exponent + sizeof(meb1->exponent) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
214 inp = meb1->message + sizeof(meb1->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
215 } else if (mod_len <= 256) { in ICAMEX_msg_to_type50MEX_msg()
223 mod = meb2->modulus + sizeof(meb2->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
224 exp = meb2->exponent + sizeof(meb2->exponent) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
225 inp = meb2->message + sizeof(meb2->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
[all …]
Dzcrypt_cca_key.h81 unsigned short mod_len; member
208 key->pvt.mod_len = crt->inputdatalength; in zcrypt_type6_crt_key()
/drivers/crypto/ccp/
Dccp-crypto-rsa.c84 rctx->cmd.u.rsa.mod_len = ctx->u.rsa.n_len; in ccp_rsa_crypt()
Dccp-ops.c1919 ret = ccp_reverse_set_dm_area(&src, 0, rsa->mod, 0, rsa->mod_len); in ccp_run_rsa_cmd()
1948 ccp_reverse_get_dm_area(&dst, 0, rsa->dst, 0, rsa->mod_len); in ccp_run_rsa_cmd()
2204 ret = ccp_reverse_set_dm_area(&src, 0, ecc->mod, 0, ecc->mod_len); in ccp_run_ecc_mm_cmd()
2327 ret = ccp_reverse_set_dm_area(&src, 0, ecc->mod, 0, ecc->mod_len); in ccp_run_ecc_pm_cmd()
2447 (ecc->mod_len > CCP_ECC_MODULUS_BYTES)) in ccp_run_ecc_cmd()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c4068 u16 rel_num, prod_ver, mod_len, cap, offset; in ixgbe_get_oem_prod_version() local
4078 hw->eeprom.ops.read(hw, offset, &mod_len); in ixgbe_get_oem_prod_version()
4082 if (mod_len != NVM_OEM_PROD_VER_MOD_LEN || in ixgbe_get_oem_prod_version()