Home
last modified time | relevance | path

Searched defs:keylen (Results 1 – 25 of 248) sorted by relevance

12345678910

/linux-6.6.21/drivers/crypto/amcc/
Dcrypto4xx_alg.c123 unsigned int keylen, in crypto4xx_setkey_aes()
178 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_cbc()
185 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_cfb()
192 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_ecb()
199 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_ofb()
206 const u8 *key, unsigned int keylen) in crypto4xx_setkey_rfc3686()
290 unsigned int keylen) in crypto4xx_sk_setup_fallback()
300 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_ctr()
369 unsigned int keylen) in crypto4xx_aead_setup_fallback()
382 unsigned int keylen) in crypto4xx_setkey_aes_ccm()
[all …]
/linux-6.6.21/drivers/crypto/cavium/cpt/
Dcptvf_algs.c233 u32 keylen) in cvm_xts_setkey()
261 static int cvm_validate_keylen(struct cvm_enc_ctx *ctx, u32 keylen) in cvm_validate_keylen()
289 u32 keylen, u8 cipher_type) in cvm_setkey()
303 u32 keylen) in cvm_cbc_aes_setkey()
309 u32 keylen) in cvm_ecb_aes_setkey()
315 u32 keylen) in cvm_cfb_aes_setkey()
321 u32 keylen) in cvm_cbc_des3_setkey()
328 u32 keylen) in cvm_ecb_des3_setkey()
/linux-6.6.21/drivers/crypto/hisilicon/sec/
Dsec_algs.c144 unsigned int keylen, in sec_alg_skcipher_init_context()
228 const u8 *key, unsigned int keylen, in sec_alg_skcipher_setkey()
254 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_aes_ecb()
276 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_aes_cbc()
298 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_aes_ctr()
320 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_aes_xts()
344 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_des_ecb()
351 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_des_cbc()
358 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_3des_ecb()
366 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_3des_cbc()
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_algs.c412 const u8 *key, unsigned int keylen) in qat_alg_skcipher_init_com()
453 unsigned int keylen, int mode) in qat_alg_skcipher_init_enc()
464 static void qat_alg_xts_reverse_key(const u8 *key_forward, unsigned int keylen, in qat_alg_xts_reverse_key()
488 unsigned int keylen, int mode) in qat_alg_skcipher_init_dec()
547 unsigned int keylen, int mode) in qat_alg_aead_init_sessions()
576 unsigned int keylen, in qat_alg_skcipher_init_sessions()
590 unsigned int keylen) in qat_alg_aead_rekey()
604 unsigned int keylen) in qat_alg_aead_newkey()
656 unsigned int keylen) in qat_alg_aead_setkey()
876 const u8 *key, unsigned int keylen, in qat_alg_skcipher_rekey()
[all …]
/linux-6.6.21/drivers/staging/wlan-ng/
Dp80211wep.c46 int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen) in wep_change_key()
72 u32 i, j, k, crc, keylen; in wep_decrypt() local
143 u32 i, j, k, crc, keylen; in wep_encrypt() local
/linux-6.6.21/net/mac80211/
Dwep.c31 static inline bool ieee80211_wep_weak_iv(u32 iv, int keylen) in ieee80211_wep_weak_iv()
48 int keylen, int keyidx, u8 *iv) in ieee80211_wep_get_iv()
66 int keylen, int keyidx) in ieee80211_wep_add_iv()
133 const u8 *key, int keylen, int keyidx) in ieee80211_wep_encrypt()
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c167 unsigned int keylen) in nitrox_skcipher_setkey()
198 unsigned int keylen) in nitrox_aes_setkey()
321 const u8 *key, unsigned int keylen) in nitrox_3des_setkey()
338 const u8 *key, unsigned int keylen) in nitrox_aes_xts_setkey()
362 const u8 *key, unsigned int keylen) in nitrox_aes_ctr_rfc3686_setkey()
/linux-6.6.21/include/crypto/
Dblake2s.h47 const void *key, size_t keylen) in __blake2s_init()
78 const size_t keylen) in blake2s_init_key()
91 const size_t keylen) in blake2s()
/linux-6.6.21/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c394 const u8 *key, u32 keylen) in otx_cpt_skcipher_xts_setkey()
423 u32 keylen, u8 cipher_type) in cpt_des_setkey()
439 u32 keylen, u8 cipher_type) in cpt_aes_setkey()
465 const u8 *key, u32 keylen) in otx_cpt_skcipher_cbc_aes_setkey()
471 const u8 *key, u32 keylen) in otx_cpt_skcipher_ecb_aes_setkey()
477 const u8 *key, u32 keylen) in otx_cpt_skcipher_cfb_aes_setkey()
483 const u8 *key, u32 keylen) in otx_cpt_skcipher_cbc_des3_setkey()
489 const u8 *key, u32 keylen) in otx_cpt_skcipher_ecb_des3_setkey()
839 unsigned int keylen) in otx_cpt_aead_cbc_aes_sha_setkey()
898 unsigned int keylen) in otx_cpt_aead_ecb_null_sha_setkey()
[all …]
/linux-6.6.21/crypto/
Dcrypto_null.c60 unsigned int keylen) in null_hash_setkey()
64 unsigned int keylen) in null_skcipher_setkey()
68 unsigned int keylen) in null_setkey()
Ddes_generic.c20 unsigned int keylen) in des_setkey()
52 unsigned int keylen) in des3_ede_setkey()
Dcipher.c21 unsigned int keylen) in setkey_unaligned()
44 const u8 *key, unsigned int keylen) in crypto_cipher_setkey()
/linux-6.6.21/drivers/crypto/caam/
Dcaamalg_qi.c201 unsigned int keylen) in aead_setkey()
289 unsigned int keylen) in des3_aead_setkey()
364 const u8 *key, unsigned int keylen) in gcm_setkey()
468 const u8 *key, unsigned int keylen) in rfc4106_setkey()
574 const u8 *key, unsigned int keylen) in rfc4543_setkey()
623 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey()
670 const u8 *key, unsigned int keylen) in aes_skcipher_setkey()
682 const u8 *key, unsigned int keylen) in rfc3686_skcipher_setkey()
703 const u8 *key, unsigned int keylen) in ctr_skcipher_setkey()
723 const u8 *key, unsigned int keylen) in des3_skcipher_setkey()
[all …]
Dcaamalg.c569 unsigned int keylen) in chachapoly_setkey()
586 const u8 *key, unsigned int keylen) in aead_setkey()
650 unsigned int keylen) in des3_aead_setkey()
667 const u8 *key, unsigned int keylen) in gcm_setkey()
688 const u8 *key, unsigned int keylen) in rfc4106_setkey()
714 const u8 *key, unsigned int keylen) in rfc4543_setkey()
740 unsigned int keylen, const u32 ctx1_iv_off) in skcipher_setkey()
776 const u8 *key, unsigned int keylen) in aes_skcipher_setkey()
788 const u8 *key, unsigned int keylen) in rfc3686_skcipher_setkey()
809 const u8 *key, unsigned int keylen) in ctr_skcipher_setkey()
[all …]
/linux-6.6.21/drivers/crypto/qce/
Dskcipher.c171 unsigned int keylen) in qce_skcipher_setkey()
212 unsigned int keylen) in qce_des_setkey()
227 unsigned int keylen) in qce_des3_setkey()
263 int keylen; in qce_skcipher_crypt() local
/linux-6.6.21/drivers/crypto/virtio/
Dvirtio_crypto_akcipher_algs.c109 const uint8_t *key, unsigned int keylen) in virtio_crypto_alg_akcipher_init_session()
367 unsigned int keylen, in virtio_crypto_rsa_set_key()
431 unsigned int keylen) in virtio_crypto_rsa_raw_set_priv_key()
441 unsigned int keylen) in virtio_crypto_p1pad_rsa_sha1_set_priv_key()
450 unsigned int keylen) in virtio_crypto_rsa_raw_set_pub_key()
459 unsigned int keylen) in virtio_crypto_p1pad_rsa_sha1_set_pub_key()
/linux-6.6.21/include/crypto/internal/
Ddes.h112 int keylen) in verify_aead_des_key()
120 int keylen) in verify_aead_des3_key()
Dkdf_selftest.h15 size_t keylen; member
26 const u8 *key, size_t keylen, in kdf_test()
/linux-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c408 const u8 *key, u32 keylen) in otx2_cpt_skcipher_xts_setkey()
440 u32 keylen, u8 cipher_type) in cpt_des_setkey()
457 u32 keylen, u8 cipher_type) in cpt_aes_setkey()
488 const u8 *key, u32 keylen) in otx2_cpt_skcipher_cbc_aes_setkey()
494 const u8 *key, u32 keylen) in otx2_cpt_skcipher_ecb_aes_setkey()
500 const u8 *key, u32 keylen) in otx2_cpt_skcipher_cbc_des3_setkey()
506 const u8 *key, u32 keylen) in otx2_cpt_skcipher_ecb_des3_setkey()
894 unsigned int keylen) in otx2_cpt_aead_cbc_aes_sha_setkey()
946 unsigned int keylen) in otx2_cpt_aead_ecb_null_sha_setkey()
981 unsigned int keylen) in otx2_cpt_aead_gcm_aes_setkey()
/linux-6.6.21/drivers/crypto/ccp/
Dccp-crypto-rsa.c127 unsigned int keylen, bool private) in ccp_rsa_setkey()
182 unsigned int keylen) in ccp_rsa_setprivkey()
188 unsigned int keylen) in ccp_rsa_setpubkey()
/linux-6.6.21/arch/sparc/crypto/
Ddes_glue.c46 unsigned int keylen) in des_set_key()
66 unsigned int keylen) in des_set_key_skcipher()
182 unsigned int keylen) in des3_ede_set_key()
215 unsigned int keylen) in des3_ede_set_key_skcipher()
/linux-6.6.21/drivers/crypto/inside-secure/
Dsafexcel_hash.c1047 unsigned int keylen, u8 *ipad, u8 *opad) in safexcel_hmac_init_pad()
1117 unsigned int keylen, in __safexcel_hmac_setkey()
1168 unsigned int keylen, const char *alg, in safexcel_hmac_setkey()
1191 unsigned int keylen, const char *alg, in safexcel_hmac_alg_setkey()
1200 unsigned int keylen) in safexcel_hmac_sha1_setkey()
1353 unsigned int keylen) in safexcel_hmac_sha224_setkey()
1425 unsigned int keylen) in safexcel_hmac_sha256_setkey()
1611 unsigned int keylen) in safexcel_hmac_sha512_setkey()
1683 unsigned int keylen) in safexcel_hmac_sha384_setkey()
1836 unsigned int keylen) in safexcel_hmac_md5_setkey()
[all …]
/linux-6.6.21/arch/s390/include/uapi/asm/
Dpkey.h221 __u32 keylen; /* in: the key blob length */ member
253 __u32 keylen; /* in: available key blob buffer size */ member
287 __u32 keylen; /* in: available key blob buffer size */ member
320 __u32 keylen; /* in: key blob size */ member
344 __u32 keylen; /* in: key blob size */ member
379 __u32 keylen; /* in: key blob size */ member
443 __u32 keylen; /* in: key blob size */ member
/linux-6.6.21/fs/hfs/
Dbfind.c58 u16 off, len, keylen; in __hfs_brec_find() local
179 u16 off, len, keylen; in hfs_brec_goto() local
/linux-6.6.21/fs/befs/
Dbtree.c335 u16 keylen; in befs_find_key() local
421 u16 keylen; in befs_btree_read() local
676 int index, u16 * keylen) in befs_bt_get_key()

12345678910