Home
last modified time | relevance | path

Searched refs:plaintext (Results 1 – 5 of 5) sorted by relevance

/NetX-Duo-v6.2.1/crypto_libraries/src/
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
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 …]
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
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 …]
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
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 …]
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
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 …]
Dnx_crypto_cbc.c65 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()