| /linux-6.15/arch/arm/crypto/ |
| H A D | aes-cipher-glue.c | 20 int rounds = 6 + ctx->key_length / 4; in aes_arm_encrypt() 28 int rounds = 6 + ctx->key_length / 4; in aes_arm_decrypt()
|
| /linux-6.15/arch/arm64/crypto/ |
| H A D | aes-cipher-glue.c | 18 int rounds = 6 + ctx->key_length / 4; in aes_arm64_encrypt() 26 int rounds = 6 + ctx->key_length / 4; in aes_arm64_decrypt()
|
| H A D | aes-glue.c | 183 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 …]
|
| H A D | aes-ce-glue.c | 43 return 6 + ctx->key_length / 4; in num_rounds() 93 ctx->key_length = key_len; in ce_aes_expandkey()
|
| /linux-6.15/drivers/s390/crypto/ |
| H A D | zcrypt_msgtype6.h | 130 short int key_length; in rng_type6cprb_msgx() member 157 msg->key_length = 0x02; in rng_type6cprb_msgx()
|
| /linux-6.15/arch/x86/crypto/ |
| H A D | camellia-x86_64-asm_64.S | 36 #define key_length CAMELLIA_TABLE_BYTE_LEN macro 203 cmpb $16, key_length(CTX); 234 cmpl $16, key_length(CTX); 438 cmpb $16, key_length(CTX); 470 cmpl $16, key_length(CTX);
|
| H A D | camellia.h | 19 u32 key_length; member
|
| H A D | camellia-aesni-avx-asm_64.S | 26 #define key_length CAMELLIA_TABLE_BYTE_LEN macro 762 cmpl $16, key_length(CTX); 919 cmpl $16, key_length(CTX); 949 cmpl $16, key_length(CTX);
|
| H A D | camellia-aesni-avx2-asm_64.S | 16 #define key_length CAMELLIA_TABLE_BYTE_LEN macro 796 cmpl $16, key_length(CTX); 959 cmpl $16, key_length(CTX); 994 cmpl $16, key_length(CTX);
|
| /linux-6.15/lib/crypto/ |
| H A D | aes.c | 196 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.15/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_ioctl_set.c | 437 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.15/drivers/crypto/marvell/cesa/ |
| H A D | cipher.c | 274 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.15/include/crypto/ |
| H A D | aes.h | 28 u32 key_length; member
|
| H A D | aria.h | 38 int key_length; member
|
| /linux-6.15/crypto/ |
| H A D | aes_generic.c | 1181 const int key_len = ctx->key_length; in crypto_aes_encrypt() 1250 const int key_len = ctx->key_length; in crypto_aes_decrypt()
|
| H A D | camellia_generic.c | 955 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.15/drivers/crypto/axis/ |
| H A D | artpec6_crypto.c | 327 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() 1616 ctx->key_length = keylen; in artpec6_crypto_cipher_set_key() 1642 ctx->key_length = keylen; in artpec6_crypto_xts_set_key() 1696 ctx->key_length, true, false); in artpec6_crypto_prepare_crypto() 1703 cipher_klen = ctx->key_length/2; in artpec6_crypto_prepare_crypto() 1705 cipher_klen = ctx->key_length; in artpec6_crypto_prepare_crypto() 1720 MODULE_NAME, ctx->key_length); in artpec6_crypto_prepare_crypto() 1860 ctx->key_length, true, false); in artpec6_crypto_prepare_aead() [all …]
|
| /linux-6.15/drivers/staging/rtl8723bs/include/ |
| H A D | wlan_bssdef.h | 115 u32 key_length; /* length of key in bytes */ member
|
| /linux-6.15/drivers/net/wireless/silabs/wfx/ |
| H A D | key.c | 37 msg->key_length = key->keylen; in fill_wep_pair() 48 msg->key_length = key->keylen; in fill_wep_group()
|
| H A D | hif_api_cmd.h | 434 u8 key_length; member 440 u8 key_length; member
|
| /linux-6.15/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_ioctl.c | 916 if (!wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key() 924 wep_key->key_material, wep_key->key_length); in mwifiex_sec_ioctl_set_wep_key() 925 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key() 938 wep_key->key_length = encrypt_key->key_len; in mwifiex_sec_ioctl_set_wep_key() 941 if (wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key()
|
| H A D | sta_cmd.c | 530 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.15/drivers/net/ethernet/mscc/ |
| H A D | ocelot_flower.c | 556 int key_length = vcap->keys[VCAP_ES0_IGR_PORT].length; in ocelot_flower_parse_indev() local 596 filter->ingress_port.mask = GENMASK(key_length - 1, 0); in ocelot_flower_parse_indev() 844 int key_length = vcap->keys[VCAP_ES0_EGR_PORT].length; in ocelot_vcap_filter_create() local 847 filter->egress_port.mask = GENMASK(key_length - 1, 0); in ocelot_vcap_filter_create()
|
| /linux-6.15/arch/s390/include/uapi/asm/ |
| H A D | dasd.h | 228 unsigned int key_length; /* Key length of first record in error */ member
|
| /linux-6.15/arch/sparc/crypto/ |
| H A D | aes_glue.c | 55 u32 key_length; member 194 ctx->key_length = key_len; in aes_set_key()
|