Home
last modified time | relevance | path

Searched refs:co (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/freebsd-12-stable/contrib/netbsd-tests/crypto/opencrypto/
Dh_aesctr2.c54 struct crypt_op co; in main() local
71 memset(&co, 0, sizeof(co)); in main()
72 co.ses = cs.ses; in main()
73 co.op = COP_ENCRYPT; in main()
74 co.len = sizeof(ibuf); in main()
75 co.src = ibuf; in main()
76 co.dst = obuf; in main()
77 co.dst_len = sizeof(obuf); in main()
78 res = ioctl(fd, CIOCCRYPT, &co); in main()
82 memset(&co, 0, sizeof(co)); in main()
[all …]
Dh_gcm.c56 struct crypt_op co; in main() local
75 memset(&co, 0, sizeof(co)); in main()
78 co.ses = cs.ses; in main()
79 co.op = COP_ENCRYPT; in main()
80 co.len = sizeof(plaintx); in main()
81 co.src = plaintx; in main()
82 co.dst = databuf; in main()
83 co.mac = macbuf; in main()
84 co.iv = iv; in main()
85 res = ioctl(fd, CIOCCRYPT, &co); in main()
[all …]
Dh_cbcdes.c52 struct crypt_op co; in main() local
66 memset(&co, 0, sizeof(co)); in main()
67 co.ses = cs.ses; in main()
68 co.op = COP_ENCRYPT; in main()
69 co.len = sizeof(plaintx); in main()
70 co.src = plaintx; in main()
71 co.dst = buf; in main()
72 co.dst_len = sizeof(buf); in main()
73 co.iv = iv; in main()
74 res = ioctl(fd, CIOCCRYPT, &co); in main()
[all …]
Dh_camellia.c57 struct crypt_op co; in main() local
71 memset(&co, 0, sizeof(co)); in main()
72 co.ses = cs.ses; in main()
73 co.op = COP_ENCRYPT; in main()
74 co.len = sizeof(plaintx); in main()
75 co.src = plaintx; in main()
76 co.dst = buf; in main()
77 co.dst_len = sizeof(buf); in main()
78 co.iv = iv; in main()
79 res = ioctl(fd, CIOCCRYPT, &co); in main()
[all …]
Dh_arc4.c51 struct crypt_op co; in main() local
65 memset(&co, 0, sizeof(co)); in main()
66 co.ses = cs.ses; in main()
67 co.op = COP_ENCRYPT; in main()
68 co.len = sizeof(plaintx); in main()
69 co.src = plaintx; in main()
70 co.dst = buf; in main()
71 co.dst_len = sizeof(buf); in main()
72 res = ioctl(fd, CIOCCRYPT, &co); in main()
76 if (memcmp(co.dst, ciphertx, sizeof(ciphertx))) in main()
Dh_null.c47 struct crypt_op co; in main() local
61 memset(&co, 0, sizeof(co)); in main()
62 co.ses = cs.ses; in main()
63 co.op = COP_ENCRYPT; in main()
64 co.len = sizeof(plaintx); in main()
65 co.src = plaintx; in main()
66 co.dst = buf; in main()
67 co.dst_len = sizeof(buf); in main()
68 res = ioctl(fd, CIOCCRYPT, &co); in main()
72 if (memcmp(co.dst, plaintx, sizeof(plaintx))) in main()
Dh_aesctr1.c212 struct crypt_op co; in main() local
227 memset(&co, 0, sizeof(co)); in main()
228 co.ses = cs.ses; in main()
229 co.op = COP_ENCRYPT; in main()
230 co.len = tests[i].len; in main()
231 co.src = __UNCONST(&tests[i].plaintx); in main()
232 co.dst = buf; in main()
233 co.dst_len = sizeof(buf); in main()
234 co.iv = __UNCONST(&tests[i].iv); in main()
235 res = ioctl(fd, CIOCCRYPT, &co); in main()
[all …]
Dh_md5.c76 struct crypt_op co; in main() local
90 memset(&co, 0, sizeof(co)); in main()
92 co.ses = cs.ses; in main()
93 co.op = COP_ENCRYPT; in main()
94 co.len = tests[i].len; in main()
95 co.src = __UNCONST(&tests[i].plaintx); in main()
96 co.mac = buf; in main()
97 res = ioctl(fd, CIOCCRYPT, &co); in main()
101 if (memcmp(co.mac, tests[i].digest, sizeof(tests[i].digest))) in main()
Dh_md5hmac.c144 struct crypt_op co; in main() local
162 memset(&co, 0, sizeof(co)); in main()
164 co.ses = cs.ses; in main()
165 co.op = COP_ENCRYPT; in main()
166 co.len = tests[i].len; in main()
167 co.src = __UNCONST(&tests[i].data); in main()
168 co.mac = buf; in main()
169 res = ioctl(fd, CIOCCRYPT, &co); in main()
173 if (memcmp(co.mac, tests[i].mac, sizeof(tests[i].mac))) in main()
Dh_sha1hmac.c154 struct crypt_op co; in main() local
172 memset(&co, 0, sizeof(co)); in main()
174 co.ses = cs.ses; in main()
175 co.op = COP_ENCRYPT; in main()
176 co.len = tests[i].len; in main()
177 co.src = __UNCONST(&tests[i].data); in main()
178 co.mac = buf; in main()
179 res = ioctl(fd, CIOCCRYPT, &co); in main()
183 if (memcmp(co.mac, &tests[i].mac, sizeof(tests[i].mac))) in main()
Dh_xcbcmac.c78 struct crypt_op co; in main() local
93 memset(&co, 0, sizeof(co)); in main()
97 co.ses = cs.ses; in main()
98 co.op = COP_ENCRYPT; in main()
99 co.len = tests[i].len; in main()
100 co.src = plaintx; in main()
101 co.mac = buf; in main()
102 res = ioctl(fd, CIOCCRYPT, &co); in main()
/freebsd-12-stable/contrib/lua/src/
Dlcorolib.c22 lua_State *co = lua_tothread(L, 1); in getco() local
23 luaL_argcheck(L, co, 1, "thread expected"); in getco()
24 return co; in getco()
28 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume() argument
30 if (!lua_checkstack(co, narg)) { in auxresume()
34 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume()
38 lua_xmove(L, co, narg); in auxresume()
39 status = lua_resume(co, L, narg); in auxresume()
41 int nres = lua_gettop(co); in auxresume()
43 lua_pop(co, nres); /* remove results anyway */ in auxresume()
[all …]
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
Dlcorolib.c19 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume() argument
21 if (!lua_checkstack(co, narg)) { in auxresume()
25 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume()
29 lua_xmove(L, co, narg); in auxresume()
30 status = lua_resume(co, L, narg); in auxresume()
32 int nres = lua_gettop(co); in auxresume()
34 lua_pop(co, nres); /* remove results anyway */ in auxresume()
38 lua_xmove(co, L, nres); /* move yielded values */ in auxresume()
42 lua_xmove(co, L, 1); /* move error message */ in auxresume()
49 lua_State *co = lua_tothread(L, 1); in luaB_coresume() local
[all …]
/freebsd-12-stable/contrib/llvm-project/libunwind/src/
Dlibunwind.cpp84 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in __unw_init_local() local
85 co->setInfoBasedOnIPRegister(); in __unw_init_local()
97 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS() local
98 if (co->validReg(regNum)) { in _LIBUNWIND_WEAK_ALIAS()
99 *value = co->getReg(regNum); in _LIBUNWIND_WEAK_ALIAS()
113 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; in _LIBUNWIND_WEAK_ALIAS() local
114 if (co->validReg(regNum)) { in _LIBUNWIND_WEAK_ALIAS()
115 co->setReg(regNum, (pint_t)value); in _LIBUNWIND_WEAK_ALIAS()
121 co->getInfo(&info); in _LIBUNWIND_WEAK_ALIAS()
122 co->setInfoBasedOnIPRegister(false); in _LIBUNWIND_WEAK_ALIAS()
[all …]
/freebsd-12-stable/release/picobsd/mfs_tree/etc/
Drc.serial19 co=$1; shift # call out device identifier
26 stty </dev/cuai$co$i -clocal crtscts hupcl 9600 reprint ^R
27 stty </dev/cual$co$i -clocal -crtscts -hupcl 0
35 co=$1; shift
41 stty </dev/cuai$co$i reprint undef
47 stty </dev/cual$co$i 300
55 co=$1; shift
65 stty </dev/cuai$co$i crtscts 57600
66 stty </dev/cual$co$i crtscts
74 co=$1; shift
[all …]
/freebsd-12-stable/lib/libgeom/
Dgeom_xml2tree.c369 struct gconsumer *co; in geom_xml2tree() local
422 LIST_FOREACH(co, &ge->lg_consumer, lg_consumer) { in geom_xml2tree()
423 gmp->lg_ident[i].lg_id = co->lg_id; in geom_xml2tree()
424 gmp->lg_ident[i].lg_ptr = co; in geom_xml2tree()
439 LIST_FOREACH(co, &ge->lg_consumer, lg_consumer) { in geom_xml2tree()
440 co->lg_geom = in geom_xml2tree()
441 geom_lookupid(gmp, co->lg_geom)->lg_ptr; in geom_xml2tree()
442 if (co->lg_provider != NULL) { in geom_xml2tree()
443 co->lg_provider = in geom_xml2tree()
445 co->lg_provider)->lg_ptr; in geom_xml2tree()
[all …]
/freebsd-12-stable/sys/arm/amlogic/aml8726/
Daml8726_rng.c55 struct callout co; member
80 callout_reset(&sc->co, sc->ticks, aml8726_rng_harvest, sc); in aml8726_rng_harvest()
116 callout_init(&sc->co, 1); in aml8726_rng_attach()
117 callout_reset(&sc->co, sc->ticks, aml8726_rng_harvest, sc); in aml8726_rng_attach()
127 callout_drain(&sc->co); in aml8726_rng_detach()
/freebsd-12-stable/etc/
Dtermcap.small39 :co#80:li#25:pa#64:Co#8:it#8:\
76 :co#132:tc=cons25:
78 :co#132:tc=cons30:
80 :co#132:tc=cons43:
82 :co#132:tc=cons50:
84 :co#132:tc=cons60:
110 :co#90:tc=cons25r:
112 :co#90:tc=cons25r-m:
114 :co#90:tc=cons30r:
116 :co#90:tc=cons30r-m:
[all …]
/freebsd-12-stable/contrib/libedit/TEST/
Dtc1.c176 int ac, cc, co; in main() local
200 ac = cc = co = 0; in main()
201 ncontinuation = tok_line(tok, li, &ac, &av, &cc, &co); in main()
209 ncontinuation, ac, cc, co); in main()
240 co, av[i], av[i] + co); in main()
Dwtc1.c158 int ac, cc, co, rc; in main() local
181 ac = cc = co = 0; in main()
182 ncontinuation = tok_wline(tok, li, &ac, &av, &cc, &co); in main()
191 ncontinuation, ac, cc, co); in main()
207 co, av[i], av[i] + co); in main()
/freebsd-12-stable/crypto/openssl/doc/man3/
DEC_POINT_new.pod121 The affine co-ordinates for a point describe a point in terms of its x and y
123 co-ordinates for the point B<p> defined over the curve given in B<group>. The
137 As well as the affine co-ordinates, a point can alternatively be described in
138 terms of its Jacobian projective co-ordinates (for Fp curves only). Jacobian
139 projective co-ordinates are expressed as three values x, y and z. Working in
140 this co-ordinate system provides more efficient point multiplication
141 operations. A mapping exists between Jacobian projective co-ordinates and
142 affine co-ordinates. A Jacobian projective co-ordinate (x, y, z) can be written
143 as an affine co-ordinate as (x/(z^2), y/(z^3)). Conversion to Jacobian
144 projective from affine co-ordinates is simple. The co-ordinate (x, y) is mapped
[all …]
/freebsd-12-stable/share/termcap/
Dtermcap119 :bs:hc:os:pl:co#132:do=^J:kb=^H:up=\E\n:\
124 :kb=^H:le=^H:bs:co#132:hc:hu=\EU:hd=\ED:os:pt:up=\E\n:
126 :do=^J:co#124:is=\r \E9:tc=1620:
133 :co#124:us=\EE:ue=\ER:so=\EW:se=\E&:tc=1620:
148 :bs:co#80:ce=^P^U:cl=20^P^]:cm=%r^P^Q%.%.:dc=^X:\
155 :kb=^h:le=^H:bs:co#132:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
157 :le=^H:bs:co#132:hc:hd=\Eh:hu=\EH:os:pt:up=^Z:do=^J:
164 :dl=2*\E&D:ue=\E"U:co#80:li#24:se=\E"I:al=2*\E&I:im=\E'I:ei=\E'J:\
170 :ct=\E3:st=\E1:do=^J:kb=^h:le=^H:bs:co#132:hc:hu=\E]s\E9\E]W:\
174 :kb=^h:le=^H:bs:co#80:hc:hu=\EH:hd=\Eh:os:pt:up=^Z:
[all …]
/freebsd-12-stable/sys/dev/aacraid/
Daacraid_cam.c523 struct aac_container *co; in aac_container_special_command() local
529 TAILQ_FOREACH(co, &sc->aac_container_tqh, co_link) { in aac_container_special_command()
530 …fwprintf(sc, HBA_FLAGS_DBG_ERROR_B, "found container %d search for %d", co->co_mntobj.ObjectId, cc… in aac_container_special_command()
531 if (co->co_mntobj.ObjectId == ccb->ccb_h.target_id) in aac_container_special_command()
534 if (co == NULL || ccb->ccb_h.target_lun != 0) { in aac_container_special_command()
596 "%08X%02X", co->co_uid, in aac_container_special_command()
676 ccfg->CTCommand.param[1] = co->co_mntobj.ObjectId; in aac_container_special_command()
682 co->co_mntobj.ObjectId); in aac_container_special_command()
714 scsi_ulto4b(co->co_mntobj.ObjExtension.BlockDevice.BlockSize, p->length); in aac_container_special_command()
716 if (co->co_mntobj.CapacityHigh) { in aac_container_special_command()
[all …]
/freebsd-12-stable/contrib/libedit/
Dtokenizer.c210 int cc, co; in FUN() local
212 cc = co = -1; in FUN()
219 co = (int)(tok->wptr - tok->wstart); in FUN()
438 if (cc == -1 && co == -1) { in FUN()
440 co = (int)(tok->wptr - tok->wstart); in FUN()
445 *cursoro = co; in FUN()
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
Dwpas_kay.c101 static unsigned int conf_offset_val(enum confidentiality_offset co) in conf_offset_val() argument
103 switch (co) { in conf_offset_val()
117 enum confidentiality_offset co) in wpas_create_receive_sc() argument
119 return wpa_drv_create_receive_sc(wpa_s, sc, conf_offset_val(co), vf); in wpas_create_receive_sc()
155 enum confidentiality_offset co) in wpas_create_transmit_sc() argument
157 return wpa_drv_create_transmit_sc(wpa_s, sc, conf_offset_val(co)); in wpas_create_transmit_sc()

12345678910>>...12