Lines Matching refs:i
42 int i; \
45 for (i = DTLS_CCM_BLOCKSIZE - 1; (C) && (i > (L)); --i, (C) >>= 8) \
46 (A)[i] |= (C) & 0xFF; \
56 int i; in block0() local
63 for (i=0; i < L; i++) { in block0()
64 result[15-i] = lm & 0xff; in block0()
87 size_t i,j; in add_auth_data() local
122 i = min(DTLS_CCM_BLOCKSIZE - j, la); in add_auth_data()
123 memcpy(B + j, msg, i); in add_auth_data()
124 la -= i; in add_auth_data()
125 msg += i; in add_auth_data()
132 for (i = 0; i < DTLS_CCM_BLOCKSIZE; ++i) in add_auth_data()
133 B[i] = X[i] ^ *msg++; in add_auth_data()
166 size_t i; in mac() local
168 for (i = 0; i < len; ++i) in mac()
169 B[i] = X[i] ^ msg[i]; in mac()
180 size_t i, len; in dtls_ccm_encrypt_message() local
233 for (i = 0; i < M; ++i) in dtls_ccm_encrypt_message()
234 *msg++ = X[i] ^ S[i]; in dtls_ccm_encrypt_message()