Home
last modified time | relevance | path

Searched refs:MAX_KEY_SIZE (Results 1 – 14 of 14) 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/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.c2734 if (keys.enckeylen > MAX_KEY_SIZE || in aead_authenc_setkey()
2735 keys.authkeylen > MAX_KEY_SIZE) in aead_authenc_setkey()
/linux/security/integrity/evm/
H A Devm_crypto.c26 #define MAX_KEY_SIZE 128
27 static unsigned char evmkey[MAX_KEY_SIZE];
28 static const int evmkey_len = MAX_KEY_SIZE;
61 if (keylen > MAX_KEY_SIZE) in evm_set_key()
25 #define MAX_KEY_SIZE global() macro
/linux/security/keys/trusted-keys/
H A Dtrusted_caam.c18 static_assert(MAX_KEY_SIZE + CAAM_BLOB_OVERHEAD <= CAAM_BLOB_MAX_LEN);
133 .output = p->key, .output_len = MAX_KEY_SIZE, in trusted_caam_unseal()
H A Dtrusted_core.c102 if (ret < 0 || keylen < MIN_KEY_SIZE || keylen > MAX_KEY_SIZE) in datablob_parse()
H A Dtrusted_tpm2.c544 if (data_len < MIN_KEY_SIZE || data_len > MAX_KEY_SIZE) { in tpm2_unseal_cmd()
/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.h331 #define MAX_KEY_SIZE 32 macro
396 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 Dmain.c3329 if (key_size > MAX_KEY_SIZE) in wl1271_record_ap_key()
/linux/drivers/crypto/caam/
H A Dblob_gen.c104 if ((info->input_len + hwbk_caam_ovhd) > MAX_KEY_SIZE) in caam_process_blob()