/linux/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()
|
H A D | aes-ce-glue.c | 66 return 6 + ctx->key_length / 4; in num_rounds() 88 ctx->key_length = key_len; in ce_aes_expandkey()
|
/linux/arch/arm64/crypto/ |
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-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-ce-glue.c | 43 return 6 + ctx->key_length / 4; in num_rounds() 93 ctx->key_length = key_len; in ce_aes_expandkey()
|
/linux/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()
|
H A D | zcrypt_ccamisc.c | 306 char key_length[8]; in cca_genseckey() member 352 memcpy(preqparm->lv1.key_length, "KEYLN16 ", 8); in cca_genseckey() 357 memcpy(preqparm->lv1.key_length, "KEYLN24 ", 8); in cca_genseckey() 362 memcpy(preqparm->lv1.key_length, "KEYLN32 ", 8); in cca_genseckey()
|
/linux/arch/x86/crypto/ |
H A D | camellia-x86_64-asm_64.S | 35 #define key_length CAMELLIA_TABLE_BYTE_LEN macro 202 cmpb $16, key_length(CTX); 233 cmpl $16, key_length(CTX); 437 cmpb $16, key_length(CTX); 469 cmpl $16, key_length(CTX);
|
H A D | camellia.h | 19 u32 key_length; member
|
H A D | aesni-intel_glue.c | 388 if (ctx->key_length == AES_KEYSIZE_128) in aesni_ctr_enc_avx_tfm() 390 else if (ctx->key_length == AES_KEYSIZE_192) in aesni_ctr_enc_avx_tfm() 434 if (ctx->key_length == AES_KEYSIZE_128) in aesni_xctr_enc_avx_tfm() 437 else if (ctx->key_length == AES_KEYSIZE_192) in aesni_xctr_enc_avx_tfm() 1205 BUILD_BUG_ON(offsetof(struct aes_gcm_key_aesni, base.aes_key.key_length) != 480); in gcm_setkey() 1210 BUILD_BUG_ON(offsetof(struct aes_gcm_key_avx10, base.aes_key.key_length) != 480); in gcm_setkey()
|
H A D | camellia-aesni-avx-asm_64.S | 25 #define key_length CAMELLIA_TABLE_BYTE_LEN macro 761 cmpl $16, key_length(CTX); 918 cmpl $16, key_length(CTX); 948 cmpl $16, key_length(CTX);
|
H A D | camellia-aesni-avx2-asm_64.S | 15 #define key_length CAMELLIA_TABLE_BYTE_LEN macro 795 cmpl $16, key_length(CTX); 958 cmpl $16, key_length(CTX); 993 cmpl $16, key_length(CTX);
|
/linux/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/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/include/crypto/ |
H A D | aes.h | 28 u32 key_length; member
|
H A D | aria.h | 38 int key_length; member
|
/linux/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/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/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/drivers/staging/rtl8723bs/include/ |
H A D | wlan_bssdef.h | 115 u32 key_length; /* length of key in bytes */ member
|
/linux/arch/sparc/crypto/ |
H A D | aes_glue.c | 55 u32 key_length; member 194 ctx->key_length = key_len; in aes_set_key()
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | txrx.h | 449 __be16 key_length; member
|