Home
last modified time | relevance | path

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

/drivers/s390/crypto/
Dzcrypt_msgtype50.c205 int mod_len; in ICAMEX_msg_to_type50MEX_msg() local
207 mod_len = mex->inputdatalength; in ICAMEX_msg_to_type50MEX_msg()
209 if (mod_len <= 128) { in ICAMEX_msg_to_type50MEX_msg()
217 mod = meb1->modulus + sizeof(meb1->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
218 exp = meb1->exponent + sizeof(meb1->exponent) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
219 inp = meb1->message + sizeof(meb1->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
220 } else if (mod_len <= 256) { in ICAMEX_msg_to_type50MEX_msg()
228 mod = meb2->modulus + sizeof(meb2->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
229 exp = meb2->exponent + sizeof(meb2->exponent) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
230 inp = meb2->message + sizeof(meb2->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
[all …]
Dzcrypt_cca_key.h81 unsigned short mod_len; member
220 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()
2448 (ecc->mod_len > CCP_ECC_MODULUS_BYTES)) in ccp_run_ecc_cmd()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c4057 u16 rel_num, prod_ver, mod_len, cap, offset; in ixgbe_get_oem_prod_version() local
4067 hw->eeprom.ops.read(hw, offset, &mod_len); in ixgbe_get_oem_prod_version()
4071 if (mod_len != NVM_OEM_PROD_VER_MOD_LEN || in ixgbe_get_oem_prod_version()