Searched refs:CH_FUNC (Results 1 – 2 of 2) sorted by relevance
/NetX-Duo-v6.4.1/crypto_libraries/src/ |
D | nx_crypto_sha2.c | 39 #define CH_FUNC(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) macro 463 temp1 = h + LARGE_SIGMA_1(e) + CH_FUNC(e, f, g) + _sha2_round_constants[t] + w[t]; in _nx_crypto_sha256_process_buffer() 469 temp1 = g + LARGE_SIGMA_1(d) + CH_FUNC(d, e, f) + _sha2_round_constants[t + 1] + w[t + 1]; in _nx_crypto_sha256_process_buffer() 475 temp1 = f + LARGE_SIGMA_1(c) + CH_FUNC(c, d, e) + _sha2_round_constants[t + 2] + w[t + 2]; in _nx_crypto_sha256_process_buffer() 481 temp1 = e + LARGE_SIGMA_1(b) + CH_FUNC(b, c, d) + _sha2_round_constants[t + 3] + w[t + 3]; in _nx_crypto_sha256_process_buffer() 487 temp1 = d + LARGE_SIGMA_1(a) + CH_FUNC(a, b, c) + _sha2_round_constants[t + 4] + w[t + 4]; in _nx_crypto_sha256_process_buffer() 494 temp1 = c + LARGE_SIGMA_1(h) + CH_FUNC(h, a, b) + _sha2_round_constants[t + 5] + w[t + 5]; in _nx_crypto_sha256_process_buffer() 500 temp1 = b + LARGE_SIGMA_1(g) + CH_FUNC(g, h, a) + _sha2_round_constants[t + 6] + w[t + 6]; in _nx_crypto_sha256_process_buffer() 506 temp1 = a + LARGE_SIGMA_1(f) + CH_FUNC(f, g, h) + _sha2_round_constants[t + 7] + w[t + 7]; in _nx_crypto_sha256_process_buffer() 517 temp1 = h + LARGE_SIGMA_1(e) + CH_FUNC(e, f, g) + _sha2_round_constants[t] + w[t]; in _nx_crypto_sha256_process_buffer() [all …]
|
D | nx_crypto_sha5.c | 51 #define CH_FUNC(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) macro 547 temp1 = h + LARGE_SIGMA_1(e) + CH_FUNC(e, f, g) + _sha5_round_constants[t] + w[t]; in _nx_crypto_sha512_process_buffer()
|