| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_xcbc_mac.c | 66 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 …]
|
| D | nx_crypto_ctr.c | 66 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 …]
|
| D | nx_crypto_method_self_test_hmac_sha.c | 254 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 …]
|
| D | nx_crypto_ccm.c | 67 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 …]
|
| D | nx_crypto_hmac_sha2.c | 75 … 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()
|
| D | nx_crypto_gcm.c | 69 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 …]
|
| D | nx_crypto_hmac_md5.c | 75 … 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()
|
| D | nx_crypto_hmac_sha1.c | 75 … 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()
|
| D | nx_crypto_3des.c | 71 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()
|
| D | nx_crypto_hmac_sha5.c | 75 … 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()
|
| D | nx_crypto_tls_prf_sha256.c | 72 … 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()
|
| D | nx_crypto_tls_prf_sha384.c | 73 … 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()
|
| D | nx_crypto_tls_prf_sha512.c | 73 … 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()
|
| D | nx_crypto_des.c | 199 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()
|
| D | nx_crypto_tls_prf_1.c | 72 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/ |
| D | nx_secure_crypto_method_self_test_aes.c | 230 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 …]
|
| D | nx_secure_crypto_method_self_test_hmac_sha.c | 182 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/ |
| D | nx_secure_des_error_checking_test.c | 33 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 …]
|
| D | nx_secure_aes_test.c | 36 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 …]
|
| D | nx_secure_3des_error_checking_test.c | 34 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 …]
|
| D | nx_secure_aes_additional_test.c | 40 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 …]
|
| D | nx_secure_aes_ccm_test.c | 37 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 …]
|
| D | nx_secure_3des_test.c | 32 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()
|
| D | nx_secure_des_test.c | 33 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/ |
| D | nx_crypto_aes.h | 155 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,
|