Searched refs:plaintext (Results 1 – 5 of 5) sorted by relevance
| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| 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 69 UINT *p = (UINT *)plaintext; 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_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 69 UINT *p = (UINT *)plaintext; 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_ccm.c | 67 NX_CRYPTO_KEEP static VOID _nx_crypto_ccm_xor(UCHAR *plaintext, UCHAR *key, UCHAR *ciphertext) in _nx_crypto_ccm_xor() argument 70 UINT *p = (UINT *)plaintext; 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_gcm.c | 69 NX_CRYPTO_KEEP static VOID _nx_crypto_gcm_xor(UCHAR *plaintext, UCHAR *key, UCHAR *ciphertext) in _nx_crypto_gcm_xor() argument 72 UINT *p = (UINT *)plaintext; 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_cbc.c | 65 NX_CRYPTO_KEEP static VOID _nx_crypto_cbc_xor(UCHAR *plaintext, UCHAR *key, UCHAR *ciphertext, UCHA… in _nx_crypto_cbc_xor() argument 71 ciphertext[i] = plaintext[i] ^ key[i]; in _nx_crypto_cbc_xor()
|