Symbol: carry
crypto/libressl/crypto/asn1/a_int.c
516
uint8_t carry = 1;
crypto/libressl/crypto/asn1/a_int.c
520
data[i] = (data[i] ^ 0xff) + carry;
crypto/libressl/crypto/asn1/a_int.c
522
carry = 0;
crypto/libressl/crypto/bn/bn_add.c
102
BN_ULONG *rp, carry, t1, t2;
crypto/libressl/crypto/bn/bn_add.c
127
carry = bn_add_words(rp, ap, bp, min);
crypto/libressl/crypto/bn/bn_add.c
134
t2 = (t1 + carry) & BN_MASK2;
crypto/libressl/crypto/bn/bn_add.c
136
carry &= (t2 == 0);
crypto/libressl/crypto/bn/bn_add.c
138
*rp = carry;
crypto/libressl/crypto/bn/bn_add.c
139
r->top += carry;
crypto/libressl/crypto/bn/bn_asm.c
196
BN_ULONG carry = 0;
crypto/libressl/crypto/bn/bn_asm.c
208
mul(rp[0], ap[0], bl, bh, carry);
crypto/libressl/crypto/bn/bn_asm.c
209
mul(rp[1], ap[1], bl, bh, carry);
crypto/libressl/crypto/bn/bn_asm.c
210
mul(rp[2], ap[2], bl, bh, carry);
crypto/libressl/crypto/bn/bn_asm.c
211
mul(rp[3], ap[3], bl, bh, carry);
crypto/libressl/crypto/bn/bn_asm.c
218
mul(rp[0], ap[0], bl, bh, carry);
crypto/libressl/crypto/bn/bn_asm.c
223
return (carry);
crypto/libressl/crypto/bn/bn_mont.c
189
BN_ULONG *ap, *np, *rp, n0, v, carry;
crypto/libressl/crypto/bn/bn_mont.c
221
for (carry = 0, i = 0; i < nl; i++, rp++) {
crypto/libressl/crypto/bn/bn_mont.c
223
v = (v + carry + rp[nl]) & BN_MASK2;
crypto/libressl/crypto/bn/bn_mont.c
224
carry |= (v != rp[nl]);
crypto/libressl/crypto/bn/bn_mont.c
225
carry &= (v <= rp[nl]);
crypto/libressl/crypto/bn/bn_mont.c
243
v = bn_sub_words(rp, ap, np, nl) - carry;
crypto/libressl/crypto/bn/bn_mont.c
270
if (bn_sub_words (rp, ap, np, nl) - carry)
crypto/libressl/crypto/bn/bn_nist.c
1002
mask &= 0 - (uintptr_t)carry;
crypto/libressl/crypto/bn/bn_nist.c
1038
int carry, i;
crypto/libressl/crypto/bn/bn_nist.c
1201
carry = (int)(acc >> 32);
crypto/libressl/crypto/bn/bn_nist.c
1222
carry = (int)bn_add_words(r_d + (128 / BN_BITS2),
crypto/libressl/crypto/bn/bn_nist.c
1225
carry += (int)bn_add_words(r_d, r_d, bnbuf, BN_NIST_384_TOP);
crypto/libressl/crypto/bn/bn_nist.c
1229
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP);
crypto/libressl/crypto/bn/bn_nist.c
1233
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP);
crypto/libressl/crypto/bn/bn_nist.c
1236
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP);
crypto/libressl/crypto/bn/bn_nist.c
1239
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP);
crypto/libressl/crypto/bn/bn_nist.c
1243
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP);
crypto/libressl/crypto/bn/bn_nist.c
1246
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP);
crypto/libressl/crypto/bn/bn_nist.c
1249
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP);
crypto/libressl/crypto/bn/bn_nist.c
1255
if (carry > 0)
crypto/libressl/crypto/bn/bn_nist.c
1256
carry = (int)bn_sub_words(r_d, r_d, _nist_p_384[carry - 1],
crypto/libressl/crypto/bn/bn_nist.c
1258
else if (carry < 0) {
crypto/libressl/crypto/bn/bn_nist.c
1259
carry = (int)bn_add_words(r_d, r_d, _nist_p_384[-carry - 1],
crypto/libressl/crypto/bn/bn_nist.c
1261
if (carry == 0)
crypto/libressl/crypto/bn/bn_nist.c
1264
carry = 1;
crypto/libressl/crypto/bn/bn_nist.c
1267
mask &= 0 - (uintptr_t)carry;
crypto/libressl/crypto/bn/bn_nist.c
473
int carry, i;
crypto/libressl/crypto/bn/bn_nist.c
560
carry = (int)(acc >> 32);
crypto/libressl/crypto/bn/bn_nist.c
567
carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
crypto/libressl/crypto/bn/bn_nist.c
569
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
crypto/libressl/crypto/bn/bn_nist.c
571
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP);
crypto/libressl/crypto/bn/bn_nist.c
574
if (carry > 0)
crypto/libressl/crypto/bn/bn_nist.c
575
carry = (int)bn_sub_words(r_d, r_d, _nist_p_192[carry - 1],
crypto/libressl/crypto/bn/bn_nist.c
578
carry = 1;
crypto/libressl/crypto/bn/bn_nist.c
588
mask &= 0 - (uintptr_t)carry;
crypto/libressl/crypto/bn/bn_nist.c
622
int carry, i;
crypto/libressl/crypto/bn/bn_nist.c
728
carry = (int)(acc >> 32);
crypto/libressl/crypto/bn/bn_nist.c
730
rp[7] = carry;
crypto/libressl/crypto/bn/bn_nist.c
738
carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_224_TOP);
crypto/libressl/crypto/bn/bn_nist.c
740
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_224_TOP);
crypto/libressl/crypto/bn/bn_nist.c
742
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_224_TOP);
crypto/libressl/crypto/bn/bn_nist.c
744
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_224_TOP);
crypto/libressl/crypto/bn/bn_nist.c
747
carry = (int)(r_d[BN_NIST_224_TOP - 1] >> 32);
crypto/libressl/crypto/bn/bn_nist.c
752
if (carry > 0) {
crypto/libressl/crypto/bn/bn_nist.c
753
carry = (int)bn_sub_words(r_d, r_d, _nist_p_224[carry - 1],
crypto/libressl/crypto/bn/bn_nist.c
756
carry = (int)(~(r_d[BN_NIST_224_TOP - 1] >> 32)) & 1;
crypto/libressl/crypto/bn/bn_nist.c
758
} else if (carry < 0) {
crypto/libressl/crypto/bn/bn_nist.c
765
carry = (int)bn_add_words(r_d, r_d, _nist_p_224[-carry - 1],
crypto/libressl/crypto/bn/bn_nist.c
767
if (carry == 0)
crypto/libressl/crypto/bn/bn_nist.c
770
carry = 1;
crypto/libressl/crypto/bn/bn_nist.c
774
mask &= 0 - (uintptr_t)carry;
crypto/libressl/crypto/bn/bn_nist.c
806
int carry, i;
crypto/libressl/crypto/bn/bn_nist.c
942
carry = (int)(acc >> 32);
crypto/libressl/crypto/bn/bn_nist.c
952
carry = (int)bn_add_words(t_d, t_d, c_d, BN_NIST_256_TOP);
crypto/libressl/crypto/bn/bn_nist.c
963
carry <<= 1;
crypto/libressl/crypto/bn/bn_nist.c
964
carry |= c;
crypto/libressl/crypto/bn/bn_nist.c
966
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP);
crypto/libressl/crypto/bn/bn_nist.c
969
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP);
crypto/libressl/crypto/bn/bn_nist.c
972
carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP);
crypto/libressl/crypto/bn/bn_nist.c
975
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP);
crypto/libressl/crypto/bn/bn_nist.c
978
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP);
crypto/libressl/crypto/bn/bn_nist.c
981
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP);
crypto/libressl/crypto/bn/bn_nist.c
984
carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP);
crypto/libressl/crypto/bn/bn_nist.c
990
if (carry > 0)
crypto/libressl/crypto/bn/bn_nist.c
991
carry = (int)bn_sub_words(r_d, r_d, _nist_p_256[carry - 1],
crypto/libressl/crypto/bn/bn_nist.c
993
else if (carry < 0) {
crypto/libressl/crypto/bn/bn_nist.c
994
carry = (int)bn_add_words(r_d, r_d, _nist_p_256[-carry - 1],
crypto/libressl/crypto/bn/bn_nist.c
996
if (carry == 0)
crypto/libressl/crypto/bn/bn_nist.c
999
carry = 1;
crypto/libressl/crypto/curve25519/curve25519.c
3518
signed char carry;
crypto/libressl/crypto/curve25519/curve25519.c
3531
carry = 0;
crypto/libressl/crypto/curve25519/curve25519.c
3533
e[i] += carry;
crypto/libressl/crypto/curve25519/curve25519.c
3534
carry = e[i] + 8;
crypto/libressl/crypto/curve25519/curve25519.c
3535
carry >>= 4;
crypto/libressl/crypto/curve25519/curve25519.c
3536
e[i] -= carry << 4;
crypto/libressl/crypto/curve25519/curve25519.c
3538
e[63] += carry;
crypto/libressl/crypto/gost/gostr341194.c
106
int carry = 0;
crypto/libressl/crypto/gost/gostr341194.c
110
sum = (int)left[i] + (int)right[i] + carry;
crypto/libressl/crypto/gost/gostr341194.c
112
carry = sum >> 8;
crypto/libressl/crypto/gost/gostr341194.c
114
return carry;
crypto/libressl/crypto/modes/xts128.c
103
unsigned int carry,res;
crypto/libressl/crypto/modes/xts128.c
106
carry = (unsigned int)(tweak.u[0]>>63);
crypto/libressl/crypto/modes/xts128.c
108
tweak.u[1] = (tweak.u[1]<<1)|carry;
crypto/libressl/crypto/modes/xts128.c
138
unsigned int carry,res;
crypto/libressl/crypto/modes/xts128.c
141
carry = (unsigned int)(tweak.u[0]>>63);
crypto/libressl/crypto/modes/xts128.c
143
tweak1.u[1] = (tweak.u[1]<<1)|carry;
crypto/openssh/ed25519.c
560
crypto_uint32 carry;
crypto/openssh/ed25519.c
570
carry = q2[31] >> 8;
crypto/openssh/ed25519.c
571
q2[32] += carry;
crypto/openssh/ed25519.c
572
carry = q2[32] >> 8;
crypto/openssh/ed25519.c
573
q2[33] += carry;
crypto/openssh/ed25519.c
582
carry = r2[i] >> 8;
crypto/openssh/ed25519.c
583
r2[i+1] += carry;
crypto/openssh/ed25519.c
633
int i, carry;
crypto/openssh/ed25519.c
637
carry = r->v[i] >> 8;
crypto/openssh/ed25519.c
638
r->v[i+1] += carry;
crypto/openssh/ed25519.c
647
int i,j,carry;
crypto/openssh/ed25519.c
658
carry = t[i] >> 8;
crypto/openssh/ed25519.c
659
t[i+1] += carry;
crypto/openssh/ed25519.c
669
char carry;
crypto/openssh/ed25519.c
692
carry = 0;
crypto/openssh/ed25519.c
695
r[i] += carry;
crypto/openssh/ed25519.c
698
carry = r[i] >> 2;
crypto/openssh/ed25519.c
699
r[i] -= carry<<3;
crypto/openssh/ed25519.c
701
r[84] += carry;
games/adventure/extern.h
98
void carry(int, int);
games/adventure/subr.c
238
carry(j, loc);
games/adventure/subr.c
610
carry(bird + cage - obj, loc);
games/adventure/subr.c
611
carry(obj, loc);
games/adventure/vocab.c
73
carry(object, from);
sys/dev/netif/my/if_my.c
293
u_int32_t crc, carry;
sys/dev/netif/my/if_my.c
303
carry = ((crc & 0x80000000) ? 1 : 0) ^ (c & 0x01);
sys/dev/netif/my/if_my.c
306
if (carry)
sys/dev/netif/my/if_my.c
307
crc = (crc ^ 0x04c11db6) | carry;
sys/dev/netif/sf/if_sf.c
257
u_int32_t crc, carry;
sys/dev/netif/sf/if_sf.c
267
carry = ((crc & 0x80000000) ? 1 : 0) ^ (c & 0x01);
sys/dev/netif/sf/if_sf.c
270
if (carry)
sys/dev/netif/sf/if_sf.c
271
crc = (crc ^ 0x04c11db6) | carry;
sys/dev/netif/sis/if_sis.c
731
uint32_t crc, carry;
sys/dev/netif/sis/if_sis.c
741
carry = ((crc & 0x80000000) ? 1 : 0) ^ (c & 0x01);
sys/dev/netif/sis/if_sis.c
744
if (carry)
sys/dev/netif/sis/if_sis.c
745
crc = (crc ^ 0x04c11db6) | carry;
sys/net/if_ethersubr.c
822
uint32_t c, crc, carry;
sys/net/if_ethersubr.c
830
carry = ((crc & 0x01) ? 1 : 0) ^ (c & 0x01);
sys/net/if_ethersubr.c
833
if (carry)
sys/net/if_ethersubr.c
868
uint32_t c, crc, carry;
sys/net/if_ethersubr.c
876
carry = ((crc & 0x80000000U) ? 1 : 0) ^ (c & 0x01);
sys/net/if_ethersubr.c
879
if (carry)
sys/net/if_ethersubr.c
880
crc = (crc ^ ETHER_CRC_POLY_BE) | carry;
sys/platform/pc64/x86_64/__udivti3.c
287
unsigned carry = 0;
sys/platform/pc64/x86_64/__udivti3.c
293
q.s.low = (q.s.low << 1) | carry;
sys/platform/pc64/x86_64/__udivti3.c
303
carry = s & 1;
sys/platform/pc64/x86_64/__udivti3.c
306
q.all = (q.all << 1) | carry;