Home
last modified time | relevance | path

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

12

/linux/arch/arm/crypto/
H A Daes-cipher-glue.c20 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 Daes-ce-glue.c66 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 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 …]
H A 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()
H A Daes-ce-glue.c43 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 Dzcrypt_msgtype6.h130 short int key_length; in rng_type6cprb_msgx() member
157 msg->key_length = 0x02; in rng_type6cprb_msgx()
H A Dzcrypt_ccamisc.c306 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 Dcamellia-x86_64-asm_64.S35 #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 Dcamellia.h19 u32 key_length; member
H A Daesni-intel_glue.c388 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 Dcamellia-aesni-avx-asm_64.S25 #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 Dcamellia-aesni-avx2-asm_64.S15 #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 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/drivers/staging/rtl8723bs/core/
H A 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/include/crypto/
H A Daes.h28 u32 key_length; member
H A Daria.h38 int key_length; member
/linux/crypto/
H A 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()
H A 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/drivers/net/wireless/silabs/wfx/
H A Dkey.c37 msg->key_length = key->keylen; in fill_wep_pair()
48 msg->key_length = key->keylen; in fill_wep_group()
H A Dhif_api_cmd.h434 u8 key_length; member
440 u8 key_length; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c916 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 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/drivers/staging/rtl8723bs/include/
H A Dwlan_bssdef.h115 u32 key_length; /* length of key in bytes */ member
/linux/arch/sparc/crypto/
H A Daes_glue.c55 u32 key_length; member
194 ctx->key_length = key_len; in aes_set_key()
/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx.h449 __be16 key_length; member

12