Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 151) sorted by relevance

1234567

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_xcbc_mac.c66 NX_CRYPTO_KEEP static VOID _nx_crypto_xcbc_xor(UCHAR *plaintext, UCHAR *key, UCHAR *ciphertext) in _nx_crypto_xcbc_xor() argument
71 UINT *k = (UINT *)key; in _nx_crypto_xcbc_xor()
78 ciphertext[0] = plaintext[0] ^ key[0]; in _nx_crypto_xcbc_xor()
79 ciphertext[1] = plaintext[1] ^ key[1]; in _nx_crypto_xcbc_xor()
80 ciphertext[2] = plaintext[2] ^ key[2]; in _nx_crypto_xcbc_xor()
81 ciphertext[3] = plaintext[3] ^ key[3]; in _nx_crypto_xcbc_xor()
82 ciphertext[4] = plaintext[4] ^ key[4]; in _nx_crypto_xcbc_xor()
83 ciphertext[5] = plaintext[5] ^ key[5]; in _nx_crypto_xcbc_xor()
84 ciphertext[6] = plaintext[6] ^ key[6]; in _nx_crypto_xcbc_xor()
85 ciphertext[7] = plaintext[7] ^ key[7]; in _nx_crypto_xcbc_xor()
[all …]
Dnx_crypto_ctr.c66 NX_CRYPTO_KEEP static VOID _nx_crypto_ctr_xor(UCHAR *plaintext, UCHAR *key, UCHAR *ciphertext) in _nx_crypto_ctr_xor() argument
71 UINT *k = (UINT *)key; in _nx_crypto_ctr_xor()
78 ciphertext[0] = plaintext[0] ^ key[0]; in _nx_crypto_ctr_xor()
79 ciphertext[1] = plaintext[1] ^ key[1]; in _nx_crypto_ctr_xor()
80 ciphertext[2] = plaintext[2] ^ key[2]; in _nx_crypto_ctr_xor()
81 ciphertext[3] = plaintext[3] ^ key[3]; in _nx_crypto_ctr_xor()
82 ciphertext[4] = plaintext[4] ^ key[4]; in _nx_crypto_ctr_xor()
83 ciphertext[5] = plaintext[5] ^ key[5]; in _nx_crypto_ctr_xor()
84 ciphertext[6] = plaintext[6] ^ key[6]; in _nx_crypto_ctr_xor()
85 ciphertext[7] = plaintext[7] ^ key[7]; in _nx_crypto_ctr_xor()
[all …]
Dnx_crypto_method_self_test_hmac_sha.c254 UCHAR *key; in _nx_crypto_method_self_test_hmac_sha() local
272 key = key_1_96; in _nx_crypto_method_self_test_hmac_sha()
280 key = key_1_160; in _nx_crypto_method_self_test_hmac_sha()
288 key = key_224; in _nx_crypto_method_self_test_hmac_sha()
296 key = key_256; in _nx_crypto_method_self_test_hmac_sha()
304 key = key_384; in _nx_crypto_method_self_test_hmac_sha()
312 key = key_512; in _nx_crypto_method_self_test_hmac_sha()
320 key = key_512_224; in _nx_crypto_method_self_test_hmac_sha()
328 key = key_512_256; in _nx_crypto_method_self_test_hmac_sha()
340 key, in _nx_crypto_method_self_test_hmac_sha()
[all …]
Dnx_crypto_ccm.c67 NX_CRYPTO_KEEP static VOID _nx_crypto_ccm_xor(UCHAR *plaintext, UCHAR *key, UCHAR *ciphertext) in _nx_crypto_ccm_xor() argument
72 UINT *k = (UINT *)key; in _nx_crypto_ccm_xor()
79 ciphertext[0] = plaintext[0] ^ key[0]; in _nx_crypto_ccm_xor()
80 ciphertext[1] = plaintext[1] ^ key[1]; in _nx_crypto_ccm_xor()
81 ciphertext[2] = plaintext[2] ^ key[2]; in _nx_crypto_ccm_xor()
82 ciphertext[3] = plaintext[3] ^ key[3]; in _nx_crypto_ccm_xor()
83 ciphertext[4] = plaintext[4] ^ key[4]; in _nx_crypto_ccm_xor()
84 ciphertext[5] = plaintext[5] ^ key[5]; in _nx_crypto_ccm_xor()
85 ciphertext[6] = plaintext[6] ^ key[6]; in _nx_crypto_ccm_xor()
86 ciphertext[7] = plaintext[7] ^ key[7]; in _nx_crypto_ccm_xor()
[all …]
Dnx_crypto_hmac_sha2.c75 … UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_hmac_sha256_init() argument
81 NX_CRYPTO_PARAMETER_NOT_USED(key); in _nx_crypto_method_hmac_sha256_init()
87 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_hmac_sha256_init()
226 UCHAR *key, in _nx_crypto_method_hmac_sha256_operation() argument
291 if(key == NX_CRYPTO_NULL) in _nx_crypto_method_hmac_sha256_operation()
296 _nx_crypto_hmac_initialize(hmac_metadata, key, key_size_in_bits >> 3); in _nx_crypto_method_hmac_sha256_operation()
314 if(key == NX_CRYPTO_NULL) in _nx_crypto_method_hmac_sha256_operation()
323 … _nx_crypto_hmac(hmac_metadata, input, input_length_in_byte, key, (key_size_in_bits >> 3), output, in _nx_crypto_method_hmac_sha256_operation()
Dnx_crypto_gcm.c69 NX_CRYPTO_KEEP static VOID _nx_crypto_gcm_xor(UCHAR *plaintext, UCHAR *key, UCHAR *ciphertext) in _nx_crypto_gcm_xor() argument
74 UINT *k = (UINT *)key; in _nx_crypto_gcm_xor()
81 ciphertext[0] = plaintext[0] ^ key[0]; in _nx_crypto_gcm_xor()
82 ciphertext[1] = plaintext[1] ^ key[1]; in _nx_crypto_gcm_xor()
83 ciphertext[2] = plaintext[2] ^ key[2]; in _nx_crypto_gcm_xor()
84 ciphertext[3] = plaintext[3] ^ key[3]; in _nx_crypto_gcm_xor()
85 ciphertext[4] = plaintext[4] ^ key[4]; in _nx_crypto_gcm_xor()
86 ciphertext[5] = plaintext[5] ^ key[5]; in _nx_crypto_gcm_xor()
87 ciphertext[6] = plaintext[6] ^ key[6]; in _nx_crypto_gcm_xor()
88 ciphertext[7] = plaintext[7] ^ key[7]; in _nx_crypto_gcm_xor()
[all …]
Dnx_crypto_hmac_md5.c75 … UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_hmac_md5_init() argument
86 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_hmac_md5_init()
226 UCHAR *key, in _nx_crypto_method_hmac_md5_operation() argument
274 if(key == NX_CRYPTO_NULL) in _nx_crypto_method_hmac_md5_operation()
279 _nx_crypto_hmac_initialize(hmac_metadata, key, key_size_in_bits >> 3); in _nx_crypto_method_hmac_md5_operation()
298 if(key == NX_CRYPTO_NULL) in _nx_crypto_method_hmac_md5_operation()
308 … _nx_crypto_hmac(hmac_metadata, input, input_length_in_byte, key, (key_size_in_bits >> 3), output, in _nx_crypto_method_hmac_md5_operation()
Dnx_crypto_hmac_sha1.c75 … UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_hmac_sha1_init() argument
86 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_hmac_sha1_init()
225 UCHAR *key, in _nx_crypto_method_hmac_sha1_operation() argument
273 if(key == NX_CRYPTO_NULL) in _nx_crypto_method_hmac_sha1_operation()
278 _nx_crypto_hmac_initialize(hmac_metadata, key, key_size_in_bits >> 3); in _nx_crypto_method_hmac_sha1_operation()
297 if(key == NX_CRYPTO_NULL) in _nx_crypto_method_hmac_sha1_operation()
307 … _nx_crypto_hmac(hmac_metadata, input, input_length_in_byte, key, (key_size_in_bits >> 3), output, in _nx_crypto_method_hmac_sha1_operation()
Dnx_crypto_3des.c71 NX_CRYPTO_KEEP UINT _nx_crypto_3des_key_set(NX_CRYPTO_3DES *context, UCHAR key[24]) in _nx_crypto_3des_key_set()
74 _nx_crypto_des_key_set(&context -> des_1, key); /* lgtm[cpp/weak-cryptographic-algorithm] */ in _nx_crypto_3des_key_set()
76 _nx_crypto_des_key_set(&context -> des_2, key + 8); /* lgtm[cpp/weak-cryptographic-algorithm] */ in _nx_crypto_3des_key_set()
78 … _nx_crypto_des_key_set(&context -> des_3, key + 16); /* lgtm[cpp/weak-cryptographic-algorithm] */ in _nx_crypto_3des_key_set()
272 UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_3des_init() argument
284 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_3des_init()
309 … _nx_crypto_3des_key_set(triple_des_context_ptr, key); /* lgtm[cpp/weak-cryptographic-algorithm] */ in _nx_crypto_method_3des_init()
436 UCHAR *key, in _nx_crypto_method_3des_operation() argument
452 NX_CRYPTO_PARAMETER_NOT_USED(key); in _nx_crypto_method_3des_operation()
Dnx_crypto_hmac_sha5.c75 … UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_hmac_sha512_init() argument
86 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_hmac_sha512_init()
225 UCHAR *key, in _nx_crypto_method_hmac_sha512_operation() argument
305 if(key == NX_CRYPTO_NULL) in _nx_crypto_method_hmac_sha512_operation()
310 _nx_crypto_hmac_initialize(hmac_metadata, key, key_size_in_bits >> 3); in _nx_crypto_method_hmac_sha512_operation()
324 if(key == NX_CRYPTO_NULL) in _nx_crypto_method_hmac_sha512_operation()
329 … _nx_crypto_hmac(hmac_metadata, input, input_length_in_byte, key, (key_size_in_bits >> 3), output, in _nx_crypto_method_hmac_sha512_operation()
Dnx_crypto_tls_prf_sha256.c72 … UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_prf_sha_256_init() argument
84 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_prf_sha_256_init()
105 phash -> nx_crypto_phash_secret = key; in _nx_crypto_method_prf_sha_256_init()
232 UCHAR *key, in _nx_crypto_method_prf_sha_256_operation() argument
256 …if((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL) ||… in _nx_crypto_method_prf_sha_256_operation()
284 …NX_CRYPTO_MEMCPY(phash -> nx_crypto_phash_seed, key, key_size_in_bits); /* Use case of memcpy is v… in _nx_crypto_method_prf_sha_256_operation()
Dnx_crypto_tls_prf_sha384.c73 … UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_prf_sha384_init() argument
85 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_prf_sha384_init()
106 phash -> nx_crypto_phash_secret = key; in _nx_crypto_method_prf_sha384_init()
232 UCHAR *key, in _nx_crypto_method_prf_sha384_operation() argument
256 …if((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL) ||… in _nx_crypto_method_prf_sha384_operation()
284 …NX_CRYPTO_MEMCPY(phash -> nx_crypto_phash_seed, key, key_size_in_bits); /* Use case of memcpy is v… in _nx_crypto_method_prf_sha384_operation()
Dnx_crypto_tls_prf_sha512.c73 … UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_prf_sha512_init() argument
85 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_prf_sha512_init()
106 phash -> nx_crypto_phash_secret = key; in _nx_crypto_method_prf_sha512_init()
232 UCHAR *key, in _nx_crypto_method_prf_sha512_operation() argument
256 …if((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL) ||… in _nx_crypto_method_prf_sha512_operation()
284 …NX_CRYPTO_MEMCPY(phash -> nx_crypto_phash_seed, key, key_size_in_bits); /* Use case of memcpy is v… in _nx_crypto_method_prf_sha512_operation()
Dnx_crypto_des.c199 NX_CRYPTO_KEEP UINT _nx_crypto_des_key_set(NX_CRYPTO_DES *context, UCHAR key[8]) in _nx_crypto_des_key_set()
215 …left = (((ULONG)key[0]) << 24) | (((ULONG)key[1]) << 16) | (((ULONG)key[2]) << 8) | ((ULONG)key[3… in _nx_crypto_des_key_set()
216 …right = (((ULONG)key[4]) << 24) | (((ULONG)key[5]) << 16) | (((ULONG)key[6]) << 8) | ((ULONG)key[… in _nx_crypto_des_key_set()
623 … UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, VOID **handle, in _nx_crypto_method_des_init() argument
634 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_des_init()
652 _nx_crypto_des_key_set(des_context_ptr, key); /* lgtm[cpp/weak-cryptographic-algorithm] */ in _nx_crypto_method_des_init()
779 UCHAR *key, in _nx_crypto_method_des_operation() argument
795 NX_CRYPTO_PARAMETER_NOT_USED(key); in _nx_crypto_method_des_operation()
Dnx_crypto_tls_prf_1.c72 UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits, in _nx_crypto_method_prf_1_init() argument
84 … if ((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL)) in _nx_crypto_method_prf_1_init()
105 phash -> nx_crypto_phash_secret = key; in _nx_crypto_method_prf_1_init()
232 UCHAR *key, in _nx_crypto_method_prf_1_operation() argument
257 …if((method == NX_CRYPTO_NULL) || (key == NX_CRYPTO_NULL) || (crypto_metadata == NX_CRYPTO_NULL) ||… in _nx_crypto_method_prf_1_operation()
285 …NX_CRYPTO_MEMCPY(phash -> nx_crypto_phash_seed, key, key_size_in_bits); /* Use case of memcpy is v… in _nx_crypto_method_prf_1_operation()
/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_crypto_method_self_test_aes.c230 UCHAR *key; in _nx_secure_crypto_method_self_test_aes() local
253 key = (UCHAR *)key_cbc_128; in _nx_secure_crypto_method_self_test_aes()
259 key = (UCHAR *)key_cbc_192; in _nx_secure_crypto_method_self_test_aes()
265 key = (UCHAR *)key_cbc_256; in _nx_secure_crypto_method_self_test_aes()
279 key = (UCHAR *)key_ctr_128; in _nx_secure_crypto_method_self_test_aes()
285 key = (UCHAR *)key_ctr_192; in _nx_secure_crypto_method_self_test_aes()
291 key = (UCHAR *)key_ctr_256; in _nx_secure_crypto_method_self_test_aes()
305 key = (UCHAR *)key_gcm_128; in _nx_secure_crypto_method_self_test_aes()
324 key, in _nx_secure_crypto_method_self_test_aes()
346 key, in _nx_secure_crypto_method_self_test_aes()
[all …]
Dnx_secure_crypto_method_self_test_hmac_sha.c182 UCHAR *key; in _nx_secure_crypto_method_self_test_hmac_sha() local
200 key = key_1_96; in _nx_secure_crypto_method_self_test_hmac_sha()
208 key = key_1_160; in _nx_secure_crypto_method_self_test_hmac_sha()
216 key = key_256; in _nx_secure_crypto_method_self_test_hmac_sha()
224 key = key_384; in _nx_secure_crypto_method_self_test_hmac_sha()
232 key = key_512; in _nx_secure_crypto_method_self_test_hmac_sha()
244 key, in _nx_secure_crypto_method_self_test_hmac_sha()
268 key, in _nx_secure_crypto_method_self_test_hmac_sha()
298 key, in _nx_secure_crypto_method_self_test_hmac_sha()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_des_error_checking_test.c33 static UCHAR key[8]; variable
46 static UINT test_nx_crypto_init_failed(NX_CRYPTO_METHOD *method, UCHAR *key, NX_CRYPTO_KEY_SIZE key… in test_nx_crypto_init_failed() argument
51 …led(UINT op, VOID *handler, struct NX_CRYPTO_METHOD_STRUCT *method, UCHAR *key, NX_CRYPTO_KEY_SIZE… in test_nx_crypto_operation_failed() argument
57 …return _nx_crypto_method_des_operation(op, handler, method, key, key_size_in_bits, input, input_le… in test_nx_crypto_operation_failed()
60 …eed(UINT op, VOID *handler, struct NX_CRYPTO_METHOD_STRUCT *method, UCHAR *key, NX_CRYPTO_KEY_SIZE… in test_nx_crypto_operation_succeed() argument
66 …return _nx_crypto_method_des_operation(op, handler, method, key, key_size_in_bits, input, input_le… in test_nx_crypto_operation_succeed()
99 key[i] = i; in thread_0_entry()
112 …status = _nx_crypto_method_des_init(&test_crypto_method_des, (UCHAR *)key, 0, NX_CRYPTO_NULL, NX_C… in thread_0_entry()
116 …status = _nx_crypto_method_des_init(&test_crypto_method_des, (UCHAR *)key, 0, NX_CRYPTO_NULL, &_de… in thread_0_entry()
120 …status = _nx_crypto_method_des_init(&test_crypto_method_des, (UCHAR *)key, NX_CRYPTO_DES_KEY_LEN_I… in thread_0_entry()
[all …]
Dnx_secure_aes_test.c36 static ULONG key[(MAXIMUM_KEY_BITS >> 5) + 1]; variable
90 memcpy(key, aes_data[i].key, aes_data[i].key_len); in thread_0_entry()
91 memcpy(key + (aes_data[i].key_len >> 2), aes_data[i].iv, 4); in thread_0_entry()
106 (UCHAR *)key, in thread_0_entry()
115 (UCHAR *)key, in thread_0_entry()
132 (UCHAR *)key, in thread_0_entry()
154 memcpy(key, aes_data[i].key, aes_data[i].key_len); in thread_0_entry()
155 memcpy(key + (aes_data[i].key_len >> 2), aes_data[i].iv, 4); in thread_0_entry()
166 nonce = (UCHAR *)key + aes_data[i].key_len; in thread_0_entry()
180 (UCHAR *)key, in thread_0_entry()
[all …]
Dnx_secure_3des_error_checking_test.c34 static UCHAR key[24]; variable
47 static UINT test_nx_crypto_init_failed(NX_CRYPTO_METHOD *method, UCHAR *key, NX_CRYPTO_KEY_SIZE key… in test_nx_crypto_init_failed() argument
53 …return _nx_crypto_method_3des_init(method, key, key_size_in_bits, handler, crypto_metadata, crypto… in test_nx_crypto_init_failed()
56 …led(UINT op, VOID *handler, struct NX_CRYPTO_METHOD_STRUCT *method, UCHAR *key, NX_CRYPTO_KEY_SIZE… in test_nx_crypto_operation_failed() argument
62 …return _nx_crypto_method_3des_operation(op, handler, method, key, key_size_in_bits, input, input_l… in test_nx_crypto_operation_failed()
65 …eed(UINT op, VOID *handler, struct NX_CRYPTO_METHOD_STRUCT *method, UCHAR *key, NX_CRYPTO_KEY_SIZE… in test_nx_crypto_operation_succeed() argument
71 …return _nx_crypto_method_3des_operation(op, handler, method, key, key_size_in_bits, input, input_l… in test_nx_crypto_operation_succeed()
110 (UCHAR *)key, in thread_0_entry()
126 (UCHAR *)key, in thread_0_entry()
142 (UCHAR *)key, in thread_0_entry()
[all …]
Dnx_secure_aes_additional_test.c40 static ULONG key[(MAXIMUM_KEY_BITS >> 5) + 1]; variable
65 static UINT test_nx_crypto_init_failed(NX_CRYPTO_METHOD *method, UCHAR *key, NX_CRYPTO_KEY_SIZE key… in test_nx_crypto_init_failed() argument
71 static UINT test_nx_crypto_init_failed_second(NX_CRYPTO_METHOD *method, UCHAR *key, NX_CRYPTO_KEY_S… in test_nx_crypto_init_failed_second() argument
79 static UINT test_nx_crypto_init_succeed(NX_CRYPTO_METHOD *method, UCHAR *key, NX_CRYPTO_KEY_SIZE ke… in test_nx_crypto_init_succeed() argument
84 …led(UINT op, VOID *handler, struct NX_CRYPTO_METHOD_STRUCT *method, UCHAR *key, NX_CRYPTO_KEY_SIZE… in test_nx_crypto_operation_failed() argument
89 …eed(UINT op, VOID *handler, struct NX_CRYPTO_METHOD_STRUCT *method, UCHAR *key, NX_CRYPTO_KEY_SIZE… in test_nx_crypto_operation_succeed() argument
99 …led(UINT op, VOID *handler, struct NX_CRYPTO_METHOD_STRUCT *method, UCHAR *key, NX_CRYPTO_KEY_SIZE… in test_nx_crypto_operation_NX_CRYPTO_DECRYPT_failed() argument
106 …return _nx_crypto_method_aes_operation(op, handler, method, key, key_size_in_bits, input, input_le… in test_nx_crypto_operation_NX_CRYPTO_DECRYPT_failed()
109 …ror(UINT op, VOID *handler, struct NX_CRYPTO_METHOD_STRUCT *method, UCHAR *key, NX_CRYPTO_KEY_SIZE… in test_nx_crypto_operation_NX_CRYPTO_DECRYPT_error() argument
116 …return _nx_crypto_method_aes_operation(op, handler, method, key, key_size_in_bits, input, input_le… in test_nx_crypto_operation_NX_CRYPTO_DECRYPT_error()
[all …]
Dnx_secure_aes_ccm_test.c37 static ULONG key[(MAXIMUM_KEY_BITS >> 5) + 1]; variable
86 memcpy(key, aes_ccm_data[i].key, aes_ccm_data[i].key_len); in thread_0_entry()
107 (UCHAR *)key, in thread_0_entry()
122 (UCHAR *)key, in thread_0_entry()
136 (UCHAR *)key, in thread_0_entry()
160 (UCHAR *)key, in thread_0_entry()
174 (UCHAR *)key, in thread_0_entry()
196 memcpy(key, aes_ccm_data[i].key, aes_ccm_data[i].key_len); in thread_0_entry()
225 (UCHAR *)key, in thread_0_entry()
237 (UCHAR *)key, in thread_0_entry()
[all …]
Dnx_secure_3des_test.c32 static UCHAR key[24]; variable
82 key[i] = i; in thread_0_entry()
87 (UCHAR *)key, in thread_0_entry()
96 (UCHAR *)key, in thread_0_entry()
111 (UCHAR *)key, in thread_0_entry()
142 (UCHAR *)key, in thread_0_entry()
151 (UCHAR *)key, in thread_0_entry()
211 (UCHAR *)key, in thread_0_entry()
220 (UCHAR *)key, in thread_0_entry()
Dnx_secure_des_test.c33 static UCHAR key[8]; variable
81 key[i] = i; in thread_0_entry()
86 (UCHAR *)key, in thread_0_entry()
95 (UCHAR *)key, in thread_0_entry()
110 (UCHAR *)key, in thread_0_entry()
142 (UCHAR *)key, in thread_0_entry()
151 (UCHAR *)key, in thread_0_entry()
211 (UCHAR *)key, in thread_0_entry()
220 (UCHAR *)key, in thread_0_entry()
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_aes.h155 UINT _nx_crypto_aes_key_set(NX_CRYPTO_AES *aes_ptr, UCHAR *key, UINT key_size);
158 UCHAR *key, NX_CRYPTO_KEY_SIZE key_size_in_bits,
168 UCHAR *key,
183 UCHAR *key,
198 UCHAR *key,
213 UCHAR *key,
228 UCHAR *key,
243 UCHAR *key,

1234567