Home
last modified time | relevance | path

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

/linux/drivers/crypto/cavium/cpt/
H A 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/include/keys/
H A Dtrusted-type.h21 #define MAX_KEY_SIZE 128 macro
32 unsigned char key[MAX_KEY_SIZE + 1];
/linux/security/keys/trusted-keys/
H A 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()
H A Dtrusted_core.c97 if (ret < 0 || keylen < MIN_KEY_SIZE || keylen > MAX_KEY_SIZE) in datablob_parse()
H A Dtrusted_tpm2.c543 if (data_len < MIN_KEY_SIZE || data_len > MAX_KEY_SIZE) { in tpm2_unseal_cmd()
/linux/drivers/crypto/bcm/
H A Dspum.h46 #define SPU_HEADER_ALLOC_LEN (SPU_REQ_FIXED_LEN + MAX_KEY_SIZE + \
47 MAX_KEY_SIZE + MAX_IV_SIZE)
H A 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];
H A Dspu2.h87 2 * MAX_KEY_SIZE + 2 * MAX_IV_SIZE)
H A Dcipher.c2736 if (keys.enckeylen > MAX_KEY_SIZE || in aead_authenc_setkey()
2737 keys.authkeylen > MAX_KEY_SIZE) in aead_authenc_setkey()
/linux/security/integrity/evm/
H A 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/drivers/crypto/starfive/
H A Djh7110-cryp.h30 #define MAX_KEY_SIZE SHA512_BLOCK_SIZE macro
166 u8 key[MAX_KEY_SIZE];
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_bpf_hashmap_lookup.c18 #define MAX_KEY_SIZE 1024 /* the size of the key map */ macro
63 if (ret < 1 || ret > MAX_KEY_SIZE) { in parse_arg()
/linux/drivers/net/wireless/ti/wl1251/
H A Dcmd.h334 #define MAX_KEY_SIZE 32 macro
399 u8 key[MAX_KEY_SIZE];
/linux/drivers/net/wireless/ti/wlcore/
H A Dwlcore_i.h208 #define MAX_KEY_SIZE 32 macro
214 u8 key[MAX_KEY_SIZE];
H A Dcmd.h501 u8 key[MAX_KEY_SIZE];
H A Dmain.c3335 if (key_size > MAX_KEY_SIZE) in wl1271_record_ap_key()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.h364 #define MAX_KEY_SIZE 16 macro