Home
last modified time | relevance | path

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

/Linux-v6.1/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];
/Linux-v6.1/include/keys/
Dtrusted-type.h21 #define MAX_KEY_SIZE 128 macro
32 unsigned char key[MAX_KEY_SIZE + 1];
/Linux-v6.1/security/keys/trusted-keys/
Dtrusted_caam.c16 static_assert(MAX_KEY_SIZE + CAAM_BLOB_OVERHEAD <= CAAM_BLOB_MAX_LEN);
41 .output = p->key, .output_len = MAX_KEY_SIZE, in trusted_caam_unseal()
Dtrusted_core.c94 if (ret < 0 || keylen < MIN_KEY_SIZE || keylen > MAX_KEY_SIZE) in datablob_parse()
Dtrusted_tpm2.c488 if (data_len < MIN_KEY_SIZE || data_len > MAX_KEY_SIZE) { in tpm2_unseal_cmd()
/Linux-v6.1/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.h36 #define MAX_KEY_SIZE ARC4_MAX_KEY_SIZE macro
180 u8 enckey[MAX_KEY_SIZE + ARC4_STATE_SIZE];
183 u8 authkey[MAX_KEY_SIZE + ARC4_STATE_SIZE];
Dspu2.h87 2 * MAX_KEY_SIZE + 2 * MAX_IV_SIZE)
Dcipher.c2773 if (keys.enckeylen > MAX_KEY_SIZE || in aead_authenc_setkey()
2774 keys.authkeylen > MAX_KEY_SIZE) in aead_authenc_setkey()
/Linux-v6.1/security/integrity/evm/
Devm_crypto.c25 #define MAX_KEY_SIZE 128 macro
26 static unsigned char evmkey[MAX_KEY_SIZE];
27 static const int evmkey_len = MAX_KEY_SIZE;
60 if (keylen > MAX_KEY_SIZE) in evm_set_key()
/Linux-v6.1/drivers/net/wireless/ti/wl1251/
Dcmd.h336 #define MAX_KEY_SIZE 32 macro
401 u8 key[MAX_KEY_SIZE];
/Linux-v6.1/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.c3256 if (key_size > MAX_KEY_SIZE) in wl1271_record_ap_key()
/Linux-v6.1/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()
/Linux-v6.1/drivers/net/wireless/intel/ipw2x00/
Dipw2100.h364 #define MAX_KEY_SIZE 16 macro
/Linux-v6.1/drivers/net/wireless/cisco/
Dairo.c1095 #define MAX_KEY_SIZE 13 // 128 (?) bits macro
6376 if (dwrq->length > MAX_KEY_SIZE) { in airo_set_encode()
6390 key.len = MAX_KEY_SIZE; in airo_set_encode()
6396 memset(key.key, 0, MAX_KEY_SIZE); in airo_set_encode()
6553 memset(key.key, 0, MAX_KEY_SIZE); in airo_set_encodeext()
6560 key.len = MAX_KEY_SIZE; in airo_set_encodeext()