Searched refs:MAX_KEY_SIZE (Results 1 – 17 of 17) sorted by relevance
15 #define MAX_KEY_SIZE (MAX_ENC_KEY_SIZE + MAX_HASH_KEY_SIZE) macro100 u8 enc_key[MAX_KEY_SIZE];107 u8 des3_key[MAX_KEY_SIZE];
21 #define MAX_KEY_SIZE 128 macro32 unsigned char key[MAX_KEY_SIZE + 1];
16 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()
94 if (ret < 0 || keylen < MIN_KEY_SIZE || keylen > MAX_KEY_SIZE) in datablob_parse()
488 if (data_len < MIN_KEY_SIZE || data_len > MAX_KEY_SIZE) { in tpm2_unseal_cmd()
46 #define SPU_HEADER_ALLOC_LEN (SPU_REQ_FIXED_LEN + MAX_KEY_SIZE + \47 MAX_KEY_SIZE + MAX_IV_SIZE)
36 #define MAX_KEY_SIZE ARC4_MAX_KEY_SIZE macro180 u8 enckey[MAX_KEY_SIZE + ARC4_STATE_SIZE];183 u8 authkey[MAX_KEY_SIZE + ARC4_STATE_SIZE];
87 2 * MAX_KEY_SIZE + 2 * MAX_IV_SIZE)
2773 if (keys.enckeylen > MAX_KEY_SIZE || in aead_authenc_setkey()2774 keys.authkeylen > MAX_KEY_SIZE) in aead_authenc_setkey()
25 #define MAX_KEY_SIZE 128 macro26 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()
336 #define MAX_KEY_SIZE 32 macro401 u8 key[MAX_KEY_SIZE];
205 #define MAX_KEY_SIZE 32 macro211 u8 key[MAX_KEY_SIZE];
503 u8 key[MAX_KEY_SIZE];
3256 if (key_size > MAX_KEY_SIZE) in wl1271_record_ap_key()
37 #define MAX_KEY_SIZE 13 /* 128 (?) bits */ macro780 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()
364 #define MAX_KEY_SIZE 16 macro
1095 #define MAX_KEY_SIZE 13 // 128 (?) bits macro6376 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()