Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 4071) sorted by relevance

12345678910>>...163

/external/boringssl/src/crypto/fipsmodule/ec/
Dec_montgomery.c79 int ec_GFp_mont_group_init(EC_GROUP *group) { in ec_GFp_mont_group_init() argument
82 ok = ec_GFp_simple_group_init(group); in ec_GFp_mont_group_init()
83 group->mont = NULL; in ec_GFp_mont_group_init()
87 void ec_GFp_mont_group_finish(EC_GROUP *group) { in ec_GFp_mont_group_finish() argument
88 BN_MONT_CTX_free(group->mont); in ec_GFp_mont_group_finish()
89 group->mont = NULL; in ec_GFp_mont_group_finish()
90 ec_GFp_simple_group_finish(group); in ec_GFp_mont_group_finish()
93 int ec_GFp_mont_group_set_curve(EC_GROUP *group, const BIGNUM *p, in ec_GFp_mont_group_set_curve() argument
98 BN_MONT_CTX_free(group->mont); in ec_GFp_mont_group_set_curve()
99 group->mont = NULL; in ec_GFp_mont_group_set_curve()
[all …]
Dsimple.c91 int ec_GFp_simple_group_init(EC_GROUP *group) { in ec_GFp_simple_group_init() argument
92 BN_init(&group->field); in ec_GFp_simple_group_init()
93 group->a_is_minus3 = 0; in ec_GFp_simple_group_init()
97 void ec_GFp_simple_group_finish(EC_GROUP *group) { in ec_GFp_simple_group_finish() argument
98 BN_free(&group->field); in ec_GFp_simple_group_finish()
101 int ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, in ec_GFp_simple_group_set_curve() argument
127 if (!BN_copy(&group->field, p)) { in ec_GFp_simple_group_set_curve()
130 BN_set_negative(&group->field, 0); in ec_GFp_simple_group_set_curve()
132 bn_set_minimal_width(&group->field); in ec_GFp_simple_group_set_curve()
135 if (!BN_nnmod(tmp, a, &group->field, ctx) || in ec_GFp_simple_group_set_curve()
[all …]
Dec.c304 static void ec_group_set0_generator(EC_GROUP *group, EC_POINT *generator) { in ec_group_set0_generator() argument
305 assert(group->generator == NULL); in ec_group_set0_generator()
306 assert(group == generator->group); in ec_group_set0_generator()
310 group->generator = generator; in ec_group_set0_generator()
311 int is_zero = CRYPTO_refcount_dec_and_test_zero(&group->references); in ec_group_set0_generator()
341 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, in EC_GROUP_set_generator() argument
343 if (group->curve_name != NID_undef || group->generator != NULL || in EC_GROUP_set_generator()
344 generator->group != group) { in EC_GROUP_set_generator()
376 if (BN_cmp(tmp, &group->field) <= 0) { in EC_GROUP_set_generator()
381 copy = EC_POINT_new(group); in EC_GROUP_set_generator()
[all …]
Dscalar.c24 int ec_bignum_to_scalar(const EC_GROUP *group, EC_SCALAR *out, in ec_bignum_to_scalar() argument
26 if (!bn_copy_words(out->words, group->order.width, in) || in ec_bignum_to_scalar()
27 !bn_less_than_words(out->words, group->order.d, group->order.width)) { in ec_bignum_to_scalar()
34 int ec_scalar_equal_vartime(const EC_GROUP *group, const EC_SCALAR *a, in ec_scalar_equal_vartime() argument
37 group->order.width * sizeof(BN_ULONG)) == 0; in ec_scalar_equal_vartime()
40 int ec_scalar_is_zero(const EC_GROUP *group, const EC_SCALAR *a) { in ec_scalar_is_zero() argument
42 for (int i = 0; i < group->order.width; i++) { in ec_scalar_is_zero()
48 int ec_random_nonzero_scalar(const EC_GROUP *group, EC_SCALAR *out, in ec_random_nonzero_scalar() argument
50 return bn_rand_range_words(out->words, 1, group->order.d, group->order.width, in ec_random_nonzero_scalar()
54 void ec_scalar_add(const EC_GROUP *group, EC_SCALAR *r, const EC_SCALAR *a, in ec_scalar_add() argument
[all …]
Dfelem.c25 int ec_bignum_to_felem(const EC_GROUP *group, EC_FELEM *out, const BIGNUM *in) { in ec_bignum_to_felem() argument
26 if (BN_is_negative(in) || BN_cmp(in, &group->field) >= 0) { in ec_bignum_to_felem()
30 return group->meth->bignum_to_felem(group, out, in); in ec_bignum_to_felem()
33 int ec_felem_to_bignum(const EC_GROUP *group, BIGNUM *out, const EC_FELEM *in) { in ec_felem_to_bignum() argument
34 return group->meth->felem_to_bignum(group, out, in); in ec_felem_to_bignum()
37 void ec_felem_neg(const EC_GROUP *group, EC_FELEM *out, const EC_FELEM *a) { in ec_felem_neg() argument
39 BN_ULONG mask = ec_felem_non_zero_mask(group, a); in ec_felem_neg()
41 bn_sub_words(out->words, group->field.d, a->words, group->field.width); in ec_felem_neg()
44 for (int i = 0; i < group->field.width; i++) { in ec_felem_neg()
49 void ec_felem_add(const EC_GROUP *group, EC_FELEM *out, const EC_FELEM *a, in ec_felem_add() argument
[all …]
Dinternal.h138 void (*add)(const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *a,
141 void (*dbl)(const EC_GROUP *group, EC_RAW_POINT *r, const EC_RAW_POINT *a);
148 void (*mul)(const EC_GROUP *group, EC_RAW_POINT *r, const EC_SCALAR *g_scalar,
153 void (*mul_public)(const EC_GROUP *group, EC_RAW_POINT *r,
172 int (*bignum_to_felem)(const EC_GROUP *group, EC_FELEM *out,
174 int (*felem_to_bignum)(const EC_GROUP *group, BIGNUM *out,
179 void (*scalar_inv_montgomery)(const EC_GROUP *group, EC_SCALAR *out,
185 int (*scalar_inv_montgomery_vartime)(const EC_GROUP *group, EC_SCALAR *out,
191 int (*cmp_x_coordinate)(const EC_GROUP *group, const EC_RAW_POINT *p,
241 EC_GROUP *group; member
[all …]
Dec_test.cc251 bssl::UniquePtr<EC_GROUP> group( in TEST() local
253 ASSERT_TRUE(group); in TEST()
254 bssl::UniquePtr<EC_POINT> generator(EC_POINT_new(group.get())); in TEST()
257 group.get(), generator.get(), gx.get(), gy.get(), ctx.get())); in TEST()
258 ASSERT_TRUE(EC_GROUP_set_generator(group.get(), generator.get(), order.get(), in TEST()
262 EXPECT_EQ(NID_undef, EC_GROUP_get_curve_name(group.get())); in TEST()
267 bssl::UniquePtr<EC_POINT> point(EC_POINT_new(group.get())); in TEST()
271 ASSERT_TRUE(EC_KEY_set_group(key2.get(), group.get())); in TEST()
277 ASSERT_TRUE(EC_POINT_set_affine_coordinates_GFp(group.get(), point.get(), in TEST()
295 EXPECT_EQ(0, EC_GROUP_cmp(group.get(), group.get(), NULL)); in TEST()
[all …]
Doct.c76 static size_t ec_GFp_simple_point2oct(const EC_GROUP *group, in ec_GFp_simple_point2oct() argument
86 if (ec_GFp_simple_is_at_infinity(group, point)) { in ec_GFp_simple_point2oct()
91 const size_t field_len = BN_num_bytes(&group->field); in ec_GFp_simple_point2oct()
108 group, buf + 1 /* x */, in ec_GFp_simple_point2oct()
129 static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, in ec_GFp_simple_oct2point() argument
150 const size_t field_len = BN_num_bytes(&group->field); in ec_GFp_simple_oct2point()
180 if (BN_ucmp(x, &group->field) >= 0) { in ec_GFp_simple_oct2point()
186 if (!EC_POINT_set_compressed_coordinates_GFp(group, point, x, y_bit, ctx)) { in ec_GFp_simple_oct2point()
193 if (BN_ucmp(y, &group->field) >= 0) { in ec_GFp_simple_oct2point()
198 if (!EC_POINT_set_affine_coordinates_GFp(group, point, x, y, ctx)) { in ec_GFp_simple_oct2point()
[all …]
Dec_key.c87 static EC_WRAPPED_SCALAR *ec_wrapped_scalar_new(const EC_GROUP *group) { in DEFINE_STATIC_EX_DATA_CLASS()
96 wrapped->bignum.width = group->order.width; in DEFINE_STATIC_EX_DATA_CLASS()
97 wrapped->bignum.dmax = group->order.width; in DEFINE_STATIC_EX_DATA_CLASS()
147 ret->group = EC_GROUP_new_by_curve_name(nid); in EC_KEY_new_by_curve_name()
148 if (ret->group == NULL) { in EC_KEY_new_by_curve_name()
171 EC_GROUP_free(r->group); in EC_KEY_free()
192 if ((src->group != NULL && in EC_KEY_dup()
193 !EC_KEY_set_group(ret, src->group)) || in EC_KEY_dup()
216 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) { return key->group; } in EC_KEY_get0_group()
218 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group) { in EC_KEY_set_group() argument
[all …]
/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c49 struct p2p_group *group, **groups; in p2p_group_init() local
51 group = os_zalloc(sizeof(*group)); in p2p_group_init()
52 if (group == NULL) in p2p_group_init()
58 os_free(group); in p2p_group_init()
61 groups[p2p->num_groups++] = group; in p2p_group_init()
64 group->p2p = p2p; in p2p_group_init()
65 group->cfg = config; in p2p_group_init()
66 group->group_formation = 1; in p2p_group_init()
67 group->beacon_update = 1; in p2p_group_init()
68 p2p_group_update_ies(group); in p2p_group_init()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPreferenceGroupTest.java22 private TestPreferenceGroup group; field in ShadowPreferenceGroupTest
33 group = new TestPreferenceGroup(activity, attrs); in setUp()
34 shadow = shadowOf(group); in setUp()
51 assertThat(group.getPreferenceCount()).isEqualTo(0); in shouldAddPreferences()
54 assertThat(group.addPreference(pref1)).isTrue(); in shouldAddPreferences()
55 assertThat(group.getPreferenceCount()).isEqualTo(1); in shouldAddPreferences()
58 assertThat(group.addPreference(pref1)).isTrue(); in shouldAddPreferences()
59 assertThat(group.getPreferenceCount()).isEqualTo(1); in shouldAddPreferences()
62 assertThat(group.addPreference(pref2)).isTrue(); in shouldAddPreferences()
63 assertThat(group.getPreferenceCount()).isEqualTo(2); in shouldAddPreferences()
[all …]
/external/tcpdump/tests/
Dhsrp_1.out1 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
2 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
3 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
4 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
5 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
6 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
7 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
8 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-unknown (3) 16: state=initial group=2 [|hsrp]
9 IP 192.168.0.30.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=active group=1 addr=192.168.0.1
10 IP 192.168.0.20.1985 > 224.0.0.2.1985: HSRPv0-hello 20: state=standby group=1 addr=192.168.0.1
[all …]
/external/autotest/server/cros/dynamic_suite/
Dhost_spec_unittest.py67 group = host_spec.ExplicitHostGroup(hosts_per_spec)
69 self.assertTrue(host.hostname in group.as_args()['hosts'])
85 group = host_spec.MetaHostGroup(labels, num)
86 args = group.as_args()
96 group = host_spec.ExplicitHostGroup(hosts_per_spec)
99 group.mark_host_success(host_list[0].hostname)
100 self.assertTrue(group.enough_hosts_succeeded())
101 self.assertTrue(specs[1] in group.doomed_specs)
104 group.mark_host_success(host_list[2].hostname)
105 self.assertTrue(group.enough_hosts_succeeded())
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dreqd-work-group-size.ll7 %gep.group.size.x = getelementptr inbounds i8, i8 addrspace(4)* %dispatch.ptr, i64 4
8 %gep.group.size.x.bc = bitcast i8 addrspace(4)* %gep.group.size.x to i16 addrspace(4)*
9 %group.size.x = load i16, i16 addrspace(4)* %gep.group.size.x.bc, align 4
10 store i16 %group.size.x, i16 addrspace(1)* %out
18 %gep.group.size.x = getelementptr inbounds i8, i8 addrspace(4)* %dispatch.ptr, i64 4
19 %gep.group.size.x.bc = bitcast i8 addrspace(4)* %gep.group.size.x to i16 addrspace(4)*
20 %group.size.x = load volatile i16, i16 addrspace(4)* %gep.group.size.x.bc, align 4
21 store i16 %group.size.x, i16 addrspace(1)* %out
29 %gep.group.size.x = getelementptr inbounds i8, i8 addrspace(4)* %dispatch.ptr, i64 4
30 %gep.group.size.x.bc = bitcast i8 addrspace(4)* %gep.group.size.x to i16 addrspace(4)*
[all …]
/external/toolchain-utils/automation/server/
Djob_group_manager.py35 for group in self.all_job_groups:
36 if group.id == group_id:
37 return group
45 def AddJobGroup(self, group): argument
47 group.id = self._id_producer.GetNextId()
49 self._logger.debug('Creating runtime environment for %r.', group)
52 cmd.RmTree(group.home_dir), cmd.MakeDir(group.home_dir)))
55 self.all_job_groups.append(group)
57 for job_ in group.jobs:
60 group.status = job_group.STATUS_EXECUTING
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_perfcounter.c104 struct r600_pc_group *group = query->groups; in r600_pc_query_destroy() local
105 query->groups = group->next; in r600_pc_query_destroy()
106 FREE(group); in r600_pc_query_destroy()
128 struct r600_pc_group *group; in r600_pc_query_emit_start() local
135 for (group = query->groups; group; group = group->next) { in r600_pc_query_emit_start()
136 struct r600_perfcounter_block *block = group->block; in r600_pc_query_emit_start()
138 if (group->se != current_se || group->instance != current_instance) { in r600_pc_query_emit_start()
139 current_se = group->se; in r600_pc_query_emit_start()
140 current_instance = group->instance; in r600_pc_query_emit_start()
141 pc->emit_instance(ctx, group->se, group->instance); in r600_pc_query_emit_start()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_perfcounter.c108 struct r600_pc_group *group = query->groups; in r600_pc_query_destroy() local
109 query->groups = group->next; in r600_pc_query_destroy()
110 FREE(group); in r600_pc_query_destroy()
132 struct r600_pc_group *group; in r600_pc_query_emit_start() local
139 for (group = query->groups; group; group = group->next) { in r600_pc_query_emit_start()
140 struct r600_perfcounter_block *block = group->block; in r600_pc_query_emit_start()
142 if (group->se != current_se || group->instance != current_instance) { in r600_pc_query_emit_start()
143 current_se = group->se; in r600_pc_query_emit_start()
144 current_instance = group->instance; in r600_pc_query_emit_start()
145 pc->emit_instance(ctx, group->se, group->instance); in r600_pc_query_emit_start()
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Dcmdline.py162 group = parser.add_argument_group('General options')
164 group.add_argument('-h', '--help', action='help',
166 group.add_argument('--timeout', metavar='TIMEOUT', type=float,
170 group.add_argument('--wait', action='store_true',
173 group.add_argument('--worker-args', metavar='ARGS')
174 group.add_argument('-S', '--start', metavar='START',
178 group = parser.add_argument_group('Verbosity')
179 group.add_argument('-v', '--verbose', action='count',
181 group.add_argument('-w', '--verbose2', action='store_true',
183 group.add_argument('-W', '--verbose3', action='store_true',
[all …]
/external/e2fsprogs/lib/ext2fs/
Dblknum.c29 blk64_t ext2fs_group_first_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_first_block2() argument
32 EXT2_GROUPS_TO_BLOCKS(fs->super, group); in ext2fs_group_first_block2()
38 blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group) in ext2fs_group_last_block2() argument
40 return (group == fs->group_desc_count - 1 ? in ext2fs_group_last_block2()
42 ext2fs_group_first_block2(fs, group) + in ext2fs_group_last_block2()
49 int ext2fs_group_blocks_count(ext2_filsys fs, dgrp_t group) in ext2fs_group_blocks_count() argument
53 if (group == fs->group_desc_count - 1) { in ext2fs_group_blocks_count()
186 dgrp_t group) in ext2fs_group_desc() argument
190 return (struct ext2_group_desc *)((char *)gdp + group * desc_size); in ext2fs_group_desc()
196 dgrp_t group) in ext4fs_group_desc() argument
[all …]
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt28 group: PIC
32 group: system_misc
35 group: system_debug
38 group: malloc_functions
41 group: ubsan
45 group: c_strings
55 group: c_string_formatting
61 group: int_functions
64 group: floating_point
67 group: trigonometry
[all …]
/external/ltp/runtest/
Dnet_stress.multicast5 mcast4-group-single-socket mcast-group-single-socket
6 mcast4-group-multiple-socket mcast-group-multiple-socket
7 mcast4-group-same-group mcast-group-same-group
8 mcast4-group-source-filter mcast-group-source-filter
18 mcast6-group-single-socket mcast-group-single-socket -6
19 mcast6-group-multiple-socket mcast-group-multiple-socket -6
20 mcast6-group-same-group mcast-group-same-group -6
21 mcast6-group-source-filter mcast-group-source-filter -6
/external/boringssl/src/include/openssl/
Dec.h118 OPENSSL_EXPORT void EC_GROUP_free(EC_GROUP *group);
130 OPENSSL_EXPORT const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
134 OPENSSL_EXPORT const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
137 OPENSSL_EXPORT int EC_GROUP_order_bits(const EC_GROUP *group);
141 OPENSSL_EXPORT int EC_GROUP_get_cofactor(const EC_GROUP *group,
149 OPENSSL_EXPORT int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *out_p,
154 OPENSSL_EXPORT int EC_GROUP_get_curve_name(const EC_GROUP *group);
158 OPENSSL_EXPORT unsigned EC_GROUP_get_degree(const EC_GROUP *group);
175 OPENSSL_EXPORT EC_POINT *EC_POINT_new(const EC_GROUP *group);
187 const EC_GROUP *group);
[all …]
/external/toolchain-utils/automation/server/monitor/
Ddashboard.py46 group = [Link('/job-group/%d' % job.group.id, job.group.label)]
62 'link': [('Group', group), ('Predecessors', predecessors),
108 group = self._job_group
110 home_dir = [Link('/job-group/%d/files/' % group.id, group.home_dir)]
112 return {'text': [('Label', group.label),
113 ('Time submitted', time.ctime(group.time_submitted)),
114 ('State', group.status),
115 ('Cleanup on completion', group.cleanup_on_completion),
116 ('Cleanup on failure', group.cleanup_on_failure)],
162 def _GetJobGroupState(self, group): argument
[all …]
/external/mesa3d/src/broadcom/cle/
Dv3d_decoder.c64 struct v3d_group *group; member
74 v3d_group_get_name(struct v3d_group *group) in v3d_group_get_name() argument
76 return group->name; in v3d_group_get_name()
80 v3d_group_get_opcode(struct v3d_group *group) in v3d_group_get_opcode() argument
82 return group->opcode; in v3d_group_get_opcode()
204 struct v3d_group *group; in create_group() local
206 group = xzalloc(sizeof(*group)); in create_group()
208 group->name = xstrdup(name); in create_group()
210 group->spec = ctx->spec; in create_group()
211 group->group_offset = 0; in create_group()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InferAddressSpaces/AMDGPU/
Dicmp.ll4 ; CHECK: %cmp = icmp eq i32 addrspace(3)* %group.ptr.0, %group.ptr.0
5 define i1 @icmp_flat_cmp_self(i32 addrspace(3)* %group.ptr.0) #0 {
6 %cast0 = addrspacecast i32 addrspace(3)* %group.ptr.0 to i32*
12 ; CHECK: %cmp = icmp eq i32 addrspace(3)* %group.ptr.0, %group.ptr.1
13 define i1 @icmp_flat_flat_from_group(i32 addrspace(3)* %group.ptr.0, i32 addrspace(3)* %group.ptr.1…
14 %cast0 = addrspacecast i32 addrspace(3)* %group.ptr.0 to i32*
15 %cast1 = addrspacecast i32 addrspace(3)* %group.ptr.1 to i32*
22 ; CHECK: %2 = addrspacecast i32 addrspace(3)* %group.ptr.1 to i32*
24 …atch_flat_from_group_private(i32 addrspace(5)* %private.ptr.0, i32 addrspace(3)* %group.ptr.1) #0 {
26 %cast1 = addrspacecast i32 addrspace(3)* %group.ptr.1 to i32*
[all …]

12345678910>>...163