Home
last modified time | relevance | path

Searched refs:co1 (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_comp.c47 struct crypt_op co1, co2; in main() local
59 memset(&co1, 0, sizeof(co1)); in main()
60 co1.ses = cs.ses; in main()
61 co1.op = COP_COMP; in main()
62 co1.len = sizeof(text); in main()
63 co1.src = text; in main()
64 co1.dst = buf1; in main()
65 co1.dst_len = sizeof(buf1); in main()
66 res = ioctl(fd, CIOCCRYPT, &co1); in main()
69 fprintf(stderr, "len %d/%d\n", co1.len, co1.dst_len); in main()
[all …]
H A Dh_comp_zlib.c46 struct crypt_op co1; in main() local
59 memset(&co1, 0, sizeof(co1)); in main()
60 co1.ses = cs.ses; in main()
61 co1.op = COP_COMP; in main()
62 co1.len = sizeof(text); in main()
63 co1.src = text; in main()
64 co1.dst = buf1; in main()
65 co1.dst_len = sizeof(buf1); in main()
66 co1.flags = COP_F_BATCH; in main()
67 res = ioctl(fd, CIOCCRYPT, &co1); in main()
[all …]
H A Dh_comp_zlib_rnd.c48 struct crypt_op co1; in main() local
64 memset(&co1, 0, sizeof(co1)); in main()
65 co1.ses = cs.ses; in main()
66 co1.op = COP_COMP; in main()
67 co1.len = sizeof(text); in main()
68 co1.src = text; in main()
69 co1.dst = buf1; in main()
70 co1.dst_len = sizeof(buf1); in main()
71 res = ioctl(fd, CIOCCRYPT, &co1); in main()
77 z.avail_in = co1.dst_len; in main()
/freebsd/crypto/openssl/crypto/ec/curve448/arch_64/
H A Df_impl.h33 uint64_t co1 = ((1ULL << 56) - 1) * 2, co2 = co1 - 2; in gf_sub_RAW() local
37 out->limb[i] = a->limb[i] - b->limb[i] + ((i == NLIMBS / 2) ? co2 : co1); in gf_sub_RAW()
/freebsd/crypto/openssl/crypto/ec/curve448/arch_32/
H A Df_impl.h42 uint32_t co1 = ((1 << 28) - 1) * amt, co2 = co1 - amt; in gf_bias() local
45 a->limb[i] += (i == NLIMBS / 2) ? co2 : co1; in gf_bias()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_coroutine.lua245 local co1, co2
246 co1 = coroutine.create(function () return co2() end) function
248 assert(coroutine.status(co1) == 'normal')
249 assert(not coroutine.resume(co1))
253 a,b = coroutine.resume(co1)
255 assert(coroutine.status(co1) == 'dead')