/linux-master/crypto/ |
H A D | lskcipher.c | 32 lskcipher_setkey_unaligned(struct crypto_lskcipher *tfm, const u8 *key, unsigned int keylen) argument 53 crypto_lskcipher_setkey(struct crypto_lskcipher *tfm, const u8 *key, unsigned int keylen) argument 425 lskcipher_setkey_simple(struct crypto_lskcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
H A D | vmac.c | 430 vmac_setkey(struct crypto_shash *tfm, const u8 *key, unsigned int keylen) argument
|
H A D | ccm.c | 88 crypto_ccm_setkey(struct crypto_aead *aead, const u8 *key, unsigned int keylen) argument 567 crypto_rfc4309_setkey(struct crypto_aead *parent, const u8 *key, unsigned int keylen) argument 776 crypto_cbcmac_digest_setkey(struct crypto_shash *parent, const u8 *inkey, unsigned int keylen) argument [all...] |
H A D | ahash.c | 211 ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument 224 crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
|
/linux-master/drivers/crypto/tegra/ |
H A D | tegra-se-hash.c | 993 static int tegra_hash_kac_manifest(u32 user, u32 alg, u32 keylen) argument 546 tegra_hmac_fallback_setkey(struct tegra_sha_ctx *ctx, const u8 *key, unsigned int keylen) argument 558 tegra_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen) argument
|
/linux-master/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 448 starfive_rsa_setkey(struct crypto_akcipher *tfm, const void *key, unsigned int keylen, bool private) argument 499 starfive_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument 512 starfive_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument
|
H A D | jh7110-hash.c | 407 starfive_hash_long_setkey(struct starfive_cryp_ctx *ctx, const u8 *key, unsigned int keylen, const char *alg_name) argument 453 starfive_hash_setkey(struct crypto_ahash *hash, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/security/integrity/evm/ |
H A D | evm_crypto.c | 52 int evm_set_key(void *key, size_t keylen) argument
|
/linux-master/include/xen/interface/io/ |
H A D | netif.h | 283 xen_netif_toeplitz_hash(const uint8_t *key, unsigned int keylen, const uint8_t *buf, unsigned int buflen) argument
|
/linux-master/drivers/crypto/hisilicon/sec/ |
H A D | sec_algs.c | 142 sec_alg_skcipher_init_context(struct crypto_skcipher *atfm, const u8 *key, unsigned int keylen, enum sec_cipher_alg alg) argument 227 sec_alg_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen, enum sec_cipher_alg alg) argument 253 sec_alg_skcipher_setkey_aes_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 275 sec_alg_skcipher_setkey_aes_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 297 sec_alg_skcipher_setkey_aes_ctr(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 319 sec_alg_skcipher_setkey_aes_xts(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 343 sec_alg_skcipher_setkey_des_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 350 sec_alg_skcipher_setkey_des_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 357 sec_alg_skcipher_setkey_3des_ecb(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument 365 sec_alg_skcipher_setkey_3des_cbc(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/lib/ |
H A D | btree.c | 50 int keylen; member in struct:btree_geo [all...] |
/linux-master/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss.h | 178 u32 keylen; member in struct:sun4i_tfm_ctx
|
/linux-master/arch/s390/include/uapi/asm/ |
H A D | pkey.h | 221 __u32 keylen; /* in: the key blob length */ member in struct:pkey_kblob2pkey 253 __u32 keylen; /* in: available key blob buffer size */ member in struct:pkey_genseck2 287 __u32 keylen; /* in: available key blob buffer size */ member in struct:pkey_clr2seck2 320 __u32 keylen; /* in: key blob size */ member in struct:pkey_verifykey2 344 __u32 keylen; /* in: key blob size */ member in struct:pkey_kblob2pkey2 379 __u32 keylen; /* in: key blob size */ member in struct:pkey_apqns4key 443 __u32 keylen; /* in: key blob size */ member in struct:pkey_kblob2pkey3
|
/linux-master/drivers/crypto/caam/ |
H A D | caampkc.c | 943 caam_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument 1048 caam_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen) argument
|
/linux-master/net/wireless/ |
H A D | lib80211_crypt_tkip.c | 283 lib80211_tkip_hdr(struct sk_buff *skb, int hdr_len, u8 * rc4key, int keylen, void *priv) argument
|
/linux-master/drivers/crypto/ |
H A D | omap-aes.c | 570 omap_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 168 int keylen = (x->aead->alg_key_len + 7) / 8; local [all...] |
/linux-master/drivers/net/wireguard/ |
H A D | noise.c | 305 static void hmac(u8 *out, const u8 *in, const u8 *key, const size_t inlen, const size_t keylen) argument
|
/linux-master/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 47 int keylen; member in struct:cc_cipher_ctx 301 cc_cipher_sethkey(struct crypto_skcipher *sktfm, const u8 *key, unsigned int keylen) argument 401 cc_cipher_setkey(struct crypto_skcipher *sktfm, const u8 *key, unsigned int keylen) argument [all...] |
/linux-master/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 161 key, keylen); local 121 crypto4xx_setkey_aes(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen, unsigned char cm, u8 fb) argument 177 crypto4xx_setkey_aes_cbc(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument 184 crypto4xx_setkey_aes_ecb(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument 191 crypto4xx_setkey_rfc3686(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument 273 crypto4xx_sk_setup_fallback(struct crypto4xx_ctx *ctx, struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument 285 crypto4xx_setkey_aes_ctr(struct crypto_skcipher *cipher, const u8 *key, unsigned int keylen) argument 352 crypto4xx_aead_setup_fallback(struct crypto4xx_ctx *ctx, struct crypto_aead *cipher, const u8 *key, unsigned int keylen) argument 367 crypto4xx_setkey_aes_ccm(struct crypto_aead *cipher, const u8 *key, unsigned int keylen) argument 405 crypto4xx_memcpy_to_le32(get_dynamic_sa_key_field(sa), key, keylen); local 482 crypto4xx_aes_gcm_validate_keylen(unsigned int keylen) argument 494 crypto4xx_compute_gcm_hash_key_sw(__le32 *hash_start, const u8 *key, unsigned int keylen) argument 513 crypto4xx_setkey_aes_gcm(struct crypto_aead *cipher, const u8 *key, unsigned int keylen) argument 553 key, keylen); local [all...] |
/linux-master/include/net/ |
H A D | tcp_ao.h | 39 u8 keylen; member in struct:tcp_ao_key
|
/linux-master/fs/netfs/ |
H A D | fscache_cookie.c | 1110 unsigned int keylen = 0, auxlen = 0; local
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | sock.c | 138 test_prepare_key_sockaddr(struct tcp_ao_add *ao, const char *alg, void *addr, size_t addr_sz, bool set_current, bool set_rnext, uint8_t prefix, uint8_t vrf, uint8_t sndid, uint8_t rcvid, uint8_t maclen, uint8_t keyflags, uint8_t keylen, const char *key) argument [all...] |
/linux-master/arch/s390/crypto/ |
H A D | paes_s390.c | 55 unsigned int keylen; member in struct:key_blob 58 _key_to_kb(struct key_blob *kb, const u8 *key, unsigned int keylen) argument 497 unsigned int keylen, offset, nbytes, n, k; local [all...] |
/linux-master/include/crypto/ |
H A D | skcipher.h | 610 crypto_sync_skcipher_setkey(struct crypto_sync_skcipher *tfm, const u8 *key, unsigned int keylen) argument
|