Home
last modified time | relevance | path

Searched refs:MAX_KEY_SIZE (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcptvf_algs.h15 #define MAX_KEY_SIZE (MAX_ENC_KEY_SIZE + MAX_HASH_KEY_SIZE) macro
100 u8 enc_key[MAX_KEY_SIZE];
107 u8 des3_key[MAX_KEY_SIZE];
/kernel/linux/linux-5.10/include/keys/
Dtrusted-type.h15 #define MAX_KEY_SIZE 128 macro
25 unsigned char key[MAX_KEY_SIZE + 1];
/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dspum.h46 #define SPU_HEADER_ALLOC_LEN (SPU_REQ_FIXED_LEN + MAX_KEY_SIZE + \
47 MAX_KEY_SIZE + MAX_IV_SIZE)
Dcipher.h35 #define MAX_KEY_SIZE ARC4_MAX_KEY_SIZE macro
179 u8 enckey[MAX_KEY_SIZE + ARC4_STATE_SIZE];
182 u8 authkey[MAX_KEY_SIZE + ARC4_STATE_SIZE];
Dspu2.h87 2 * MAX_KEY_SIZE + 2 * MAX_IV_SIZE)
Dcipher.c2775 if (keys.enckeylen > MAX_KEY_SIZE || in aead_authenc_setkey()
2776 keys.authkeylen > MAX_KEY_SIZE) in aead_authenc_setkey()
/kernel/linux/linux-5.10/security/integrity/evm/
Devm_crypto.c23 #define MAX_KEY_SIZE 128 macro
24 static unsigned char evmkey[MAX_KEY_SIZE];
25 static const int evmkey_len = MAX_KEY_SIZE;
58 if (keylen > MAX_KEY_SIZE) in evm_set_key()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
Dcmd.h336 #define MAX_KEY_SIZE 32 macro
401 u8 key[MAX_KEY_SIZE];
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dwlcore_i.h205 #define MAX_KEY_SIZE 32 macro
211 u8 key[MAX_KEY_SIZE];
Dcmd.h503 u8 key[MAX_KEY_SIZE];
Dmain.c3281 if (key_size > MAX_KEY_SIZE) in wl1271_record_ap_key()
/kernel/linux/linux-5.10/security/keys/trusted-keys/
Dtrusted_tpm2.c279 if (data_len < MIN_KEY_SIZE || data_len > MAX_KEY_SIZE + 1) { in tpm2_unseal_cmd()
Dtrusted_tpm1.c903 if (ret < 0 || keylen < MIN_KEY_SIZE || keylen > MAX_KEY_SIZE) in datablob_parse()
/kernel/linux/linux-5.10/drivers/staging/ks7010/
Dks_wlan_net.c37 #define MAX_KEY_SIZE 13 /* 128 (?) bits */ macro
780 if (enc->length > MAX_KEY_SIZE) in ks_wlan_set_encode()
793 MAX_KEY_SIZE : MIN_KEY_SIZE; in ks_wlan_set_encode()
803 memset(key.key, 0, MAX_KEY_SIZE); in ks_wlan_set_encode()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dipw2100.h364 #define MAX_KEY_SIZE 16 macro
/kernel/linux/linux-5.10/drivers/net/wireless/cisco/
Dairo.c1096 #define MAX_KEY_SIZE 13 // 128 (?) bits macro
6380 if (dwrq->length > MAX_KEY_SIZE) { in airo_set_encode()
6394 key.len = MAX_KEY_SIZE; in airo_set_encode()
6400 memset(key.key, 0, MAX_KEY_SIZE); in airo_set_encode()
6557 memset(key.key, 0, MAX_KEY_SIZE); in airo_set_encodeext()
6564 key.len = MAX_KEY_SIZE; in airo_set_encodeext()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch2340 + if (info->key_len < MIN_KEY_SIZE || info->key_len > MAX_KEY_SIZE)
2789 +#define MAX_KEY_SIZE 64
2791 +#define MAX_BLACK_KEY_SIZE (MAX_KEY_SIZE + CCM_OVERHEAD +\
2800 +#define MAX_BLOB_SIZE (MAX_KEY_SIZE + CCM_OVERHEAD +\
3531 + if (key_len < MIN_KEY_SIZE || key_len > MAX_KEY_SIZE) {
3847 + if (info->key_len < MIN_KEY_SIZE || info->key_len > MAX_KEY_SIZE) {
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch3065 +#define MAX_KEY_SIZE 128
3068 +#define MAX_BLOB_SIZE (MAX_KEY_SIZE + BLOB_HEADER_SIZE)
3074 + unsigned char key[MAX_KEY_SIZE + 1];