Home
last modified time | relevance | path

Searched refs:key_length (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.1.9/fs/ntfs/
Dindex.c185 le16_to_cpu(ie->key_length) > in ntfs_index_lookup()
192 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup()
214 key_len, &ie->key, le16_to_cpu(ie->key_length)); in ntfs_index_lookup()
352 le16_to_cpu(ie->key_length) > in ntfs_index_lookup()
362 if ((key_len == le16_to_cpu(ie->key_length)) && !memcmp(key, in ntfs_index_lookup()
377 key_len, &ie->key, le16_to_cpu(ie->key_length)); in ntfs_index_lookup()
Ddir.c127 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_lookup_inode_by_name()
383 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_lookup_inode_by_name()
678 (u8*)ie + le16_to_cpu(ie->key_length) >
861 (u8*)ie + le16_to_cpu(ie->key_length) >
1188 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_readdir()
1370 (u8*)ie + le16_to_cpu(ie->key_length) > in ntfs_readdir()
/linux-6.1.9/arch/arm64/crypto/
Daes-cipher-glue.c18 int rounds = 6 + ctx->key_length / 4; in aes_arm64_encrypt()
26 int rounds = 6 + ctx->key_length / 4; in aes_arm64_decrypt()
Daes-glue.c183 int err, rounds = 6 + ctx->key_length / 4; in ecb_encrypt()
203 int err, rounds = 6 + ctx->key_length / 4; in ecb_decrypt()
224 int err = 0, rounds = 6 + ctx->key_length / 4; in cbc_encrypt_walk()
253 int err = 0, rounds = 6 + ctx->key_length / 4; in cbc_decrypt_walk()
281 int err, rounds = 6 + ctx->key_length / 4; in cts_cbc_encrypt()
338 int err, rounds = 6 + ctx->key_length / 4; in cts_cbc_decrypt()
411 int err, rounds = 6 + ctx->key1.key_length / 4; in essiv_cbc_encrypt()
433 int err, rounds = 6 + ctx->key1.key_length / 4; in essiv_cbc_decrypt()
455 int err, rounds = 6 + ctx->key_length / 4; in xctr_encrypt()
501 int err, rounds = 6 + ctx->key_length / 4; in ctr_encrypt()
[all …]
Daes-ce-glue.c43 return 6 + ctx->key_length / 4; in num_rounds()
93 ctx->key_length = key_len; in ce_aes_expandkey()
/linux-6.1.9/arch/arm/crypto/
Daes-cipher-glue.c19 int rounds = 6 + ctx->key_length / 4; in aes_arm_encrypt()
27 int rounds = 6 + ctx->key_length / 4; in aes_arm_decrypt()
/linux-6.1.9/drivers/s390/crypto/
Dzcrypt_msgtype6.h130 short int key_length; in rng_type6cprb_msgx() member
157 msg->key_length = 0x02; in rng_type6cprb_msgx()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c100 pwep->key_length = wep_key_len; in wpa_set_encryption()
115 memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); in wpa_set_encryption()
129 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption()
130 psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; in wpa_set_encryption()
591 pwep->key_length = wep_key_len; in rtw_set_encryption()
598 memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); in rtw_set_encryption()
606 if (pwep->key_length == 13) { in rtw_set_encryption()
614 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in rtw_set_encryption()
616 psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; in rtw_set_encryption()
618 rtw_ap_set_wep_key(padapter, pwep->key_material, pwep->key_length, wep_key_idx, 1); in rtw_set_encryption()
[all …]
/linux-6.1.9/arch/x86/crypto/
Dcamellia-x86_64-asm_64.S35 #define key_length CAMELLIA_TABLE_BYTE_LEN macro
200 cmpb $16, key_length(CTX);
231 cmpl $16, key_length(CTX);
435 cmpb $16, key_length(CTX);
467 cmpl $16, key_length(CTX);
Dcamellia.h19 u32 key_length; member
/linux-6.1.9/lib/crypto/
Daes.c196 ctx->key_length = key_len; in aes_expandkey()
261 int rounds = 6 + ctx->key_length / 4; in aes_encrypt()
312 int rounds = 6 + ctx->key_length / 4; in aes_decrypt()
/linux-6.1.9/include/crypto/
Daes.h28 u32 key_length; member
/linux-6.1.9/drivers/staging/ks7010/
Deap_packet.h43 unsigned short key_length; member
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c437 switch (wep->key_length) { in rtw_set_802_11_add_wep()
449 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep()
451 psecuritypriv->dot11DefKeylen[keyid] = wep->key_length; in rtw_set_802_11_add_wep()
/linux-6.1.9/drivers/crypto/marvell/cesa/
Dcipher.c274 remaining = (ctx->aes.key_length - 16) / 4; in mv_cesa_aes_setkey()
275 offset = ctx->aes.key_length + 24 - remaining; in mv_cesa_aes_setkey()
711 for (i = 0; i < ctx->aes.key_length / sizeof(u32); i++) in mv_cesa_aes_op()
714 if (ctx->aes.key_length == 24) in mv_cesa_aes_op()
716 else if (ctx->aes.key_length == 32) in mv_cesa_aes_op()
/linux-6.1.9/crypto/
Daes_generic.c1181 const int key_len = ctx->key_length; in crypto_aes_encrypt()
1250 const int key_len = ctx->key_length; in crypto_aes_decrypt()
Dcamellia_generic.c955 int key_length; member
969 cctx->key_length = key_len; in camellia_set_key()
998 if (cctx->key_length == 16) in camellia_encrypt()
1024 if (cctx->key_length == 16) in camellia_decrypt()
/linux-6.1.9/drivers/crypto/axis/
Dartpec6_crypto.c327 size_t key_length; member
1200 ctx->key_length); in artpec6_crypto_ctr_crypt()
1256 ctx->key_length = len; in artpec6_crypto_aead_set_key()
1612 ctx->key_length = keylen; in artpec6_crypto_cipher_set_key()
1638 ctx->key_length = keylen; in artpec6_crypto_xts_set_key()
1692 ctx->key_length, true, false); in artpec6_crypto_prepare_crypto()
1699 cipher_klen = ctx->key_length/2; in artpec6_crypto_prepare_crypto()
1701 cipher_klen = ctx->key_length; in artpec6_crypto_prepare_crypto()
1716 MODULE_NAME, ctx->key_length); in artpec6_crypto_prepare_crypto()
1856 ctx->key_length, true, false); in artpec6_crypto_prepare_aead()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h115 u32 key_length; /* length of key in bytes */ member
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dkey.c37 msg->key_length = key->keylen; in fill_wep_pair()
48 msg->key_length = key->keylen; in fill_wep_group()
Dhif_api_cmd.h434 u8 key_length; member
440 u8 key_length; member
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c919 if (!wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key()
927 wep_key->key_material, wep_key->key_length); in mwifiex_sec_ioctl_set_wep_key()
928 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key()
941 wep_key->key_length = encrypt_key->key_len; in mwifiex_sec_ioctl_set_wep_key()
944 if (wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key()
Dsta_cmd.c530 if ((priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP40) || in mwifiex_set_keyparamset_wep()
531 (priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP104)) { in mwifiex_set_keyparamset_wep()
538 key_length + in mwifiex_set_keyparamset_wep()
546 cpu_to_le16(priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
558 priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
560 cur_key_param_len = priv->wep_key[i].key_length + in mwifiex_set_keyparamset_wep()
568 } else if (!priv->wep_key[i].key_length) { in mwifiex_set_keyparamset_wep()
573 (i + 1), priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_flower.c526 int key_length = vcap->keys[VCAP_ES0_IGR_PORT].length; in ocelot_flower_parse_indev() local
566 filter->ingress_port.mask = GENMASK(key_length - 1, 0); in ocelot_flower_parse_indev()
807 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create() local
810 filter->egress_port.mask = GENMASK(key_length - 1, 0); in ocelot_vcap_filter_create()
/linux-6.1.9/arch/s390/include/uapi/asm/
Ddasd.h226 unsigned int key_length; /* Key length of first record in error */ member

123