CH_FUNC is only used within netxduo.
 
Symbols
loading...
Files
loading...

CH_FUNC macro

Syntax

#define CH_FUNC(x, y, z) (((x) & (y)) ^ ((~(x)) & (z)))

Arguments

x

y

z

References

LocationText
nx_crypto_sha2.c:40
#define CH_FUNC(x, y, z) (((x) & (y)) ^ ((~(x)) & (z)))
nx_crypto_sha5.c:52
#define CH_FUNC(x, y, z) (((x) & (y)) ^ ((~(x)) & (z)))
nx_crypto_sha2.c:464
temp1 = h + LARGE_SIGMA_1(e) + CH_FUNC(e, f, g) + _sha2_round_constants[t] + w[t];
nx_crypto_sha2.c:470
temp1 = g + LARGE_SIGMA_1(d) + CH_FUNC(d, e, f) + _sha2_round_constants[t + 1] + w[t + 1];
nx_crypto_sha2.c:476
temp1 = f + LARGE_SIGMA_1(c) + CH_FUNC(c, d, e) + _sha2_round_constants[t + 2] + w[t + 2];
nx_crypto_sha2.c:482
temp1 = e + LARGE_SIGMA_1(b) + CH_FUNC(b, c, d) + _sha2_round_constants[t + 3] + w[t + 3];
nx_crypto_sha2.c:488
temp1 = d + LARGE_SIGMA_1(a) + CH_FUNC(a, b, c) + _sha2_round_constants[t + 4] + w[t + 4];
nx_crypto_sha2.c:495
temp1 = c + LARGE_SIGMA_1(h) + CH_FUNC(h, a, b) + _sha2_round_constants[t + 5] + w[t + 5];
nx_crypto_sha2.c:501
temp1 = b + LARGE_SIGMA_1(g) + CH_FUNC(g, h, a) + _sha2_round_constants[t + 6] + w[t + 6];
nx_crypto_sha2.c:507
temp1 = a + LARGE_SIGMA_1(f) + CH_FUNC(f, g, h) + _sha2_round_constants[t + 7] + w[t + 7];
nx_crypto_sha2.c:518
temp1 = h + LARGE_SIGMA_1(e) + CH_FUNC(e, f, g) + _sha2_round_constants[t] + w[t];
nx_crypto_sha2.c:524
temp1 = g + LARGE_SIGMA_1(d) + CH_FUNC(d, e, f) + _sha2_round_constants[t + 1] + w[t + 1];
nx_crypto_sha2.c:530
temp1 = f + LARGE_SIGMA_1(c) + CH_FUNC(c, d, e) + _sha2_round_constants[t + 2] + w[t + 2];
nx_crypto_sha2.c:536
temp1 = e + LARGE_SIGMA_1(b) + CH_FUNC(b, c, d) + _sha2_round_constants[t + 3] + w[t + 3];
nx_crypto_sha2.c:542
temp1 = d + LARGE_SIGMA_1(a) + CH_FUNC(a, b, c) + _sha2_round_constants[t + 4] + w[t + 4];
nx_crypto_sha2.c:549
temp1 = c + LARGE_SIGMA_1(h) + CH_FUNC(h, a, b) + _sha2_round_constants[t + 5] + w[t + 5];
nx_crypto_sha2.c:555
temp1 = b + LARGE_SIGMA_1(g) + CH_FUNC(g, h, a) + _sha2_round_constants[t + 6] + w[t + 6];
nx_crypto_sha2.c:561
temp1 = a + LARGE_SIGMA_1(f) + CH_FUNC(f, g, h) + _sha2_round_constants[t + 7] + w[t + 7];
nx_crypto_sha5.c:548
temp1 = h + LARGE_SIGMA_1(e) + CH_FUNC(e, f, g) + _sha5_round_constants[t] + w[t];