Searched defs:k2 (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_utils.c162 DBT k2; local
183 k2.data = bl->bytes;
184 k2.size = bl->ksize;
191 k2.data = bi->bytes;
192 k2.size = bi->ksize;
198 &k2.size, &t->bt_rdata.data, &t->bt_rdata.size))
200 k2.data = t->bt_rdata.data;
202 return ((*t->bt_cmp)(k1, &k2));
/illumos-gate/usr/src/common/crypto/ecc/
H A Decl_mult.c110 * k2 * P(x, y), where G is the generator (base point) of the group of
111 * points on the elliptic curve. Allows k1 = NULL or { k2, P } = NULL.
114 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, argument
123 && ((k2 == NULL) || (px == NULL)
128 return ECPoint_mul(group, k2, px, py, rx, ry);
129 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) {
139 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry));
162 * k2 * P(x, y), where G is the generator (base point) of the group of
163 * points on the elliptic curve. Allows k1 = NULL or { k2, P } = NULL.
169 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, cons argument
319 ECPoints_mul(const ECGroup *group, const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument
[all...]
H A Decp_jac.c409 * k2 * P(x, y), where G is the generator (base point) of the group of
410 * points on the elliptic curve. Allows k1 = NULL or { k2, P } = NULL.
416 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px, argument
437 && ((k2 == NULL) || (px == NULL)
442 return ECPoint_mul(group, k2, px, py, rx, ry);
443 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) {
456 /* assign {k1, k2} = {a, b} such that len(a) >= len(b) */
457 if (mpl_significant_bits(k1) < mpl_significant_bits(k2)) {
458 a = k2;
473 b = k2;
[all...]
H A Dec.c83 * Computes scalar point multiplication pointQ = k1 * G + k2 * pointP for
87 ec_points_mul(const ECParams *params, const mp_int *k1, const mp_int *k2, argument
116 if (k2 != NULL) {
117 mp_tohex(k2, mpstr);
118 printf("ec_points_mul: scalar k2: %s\n", mpstr);
119 mp_todecimal(k2, mpstr);
120 printf("ec_points_mul: scalar k2: %s (dec)\n", mpstr);
161 if ((k2 != NULL) && (pointP != NULL)) {
189 irr_arr[2] = params->fieldID.k2;
199 if ((k2 !
[all...]
H A Decc_impl.h152 int k2; /* two remaining coefficients of pentanomial */ member in struct:ECFieldIDStr
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/
H A Dk5_arcfour.c82 krb5_keyblock k1, k2, k3; local
94 bzero(&k2, sizeof(krb5_keyblock));
108 * d2 is the contents of key 'k2', which is used to generate the
120 bcopy(key, &k2, sizeof (krb5_keyblock));
121 k2.length=d2.length;
122 k2.contents=(void *) d2.data;
206 bcopy(k1.contents, k2.contents, k2.length);
208 kptr = &k2;
221 * checksum = HMAC(k1/k2, plaintex
279 krb5_keyblock k1,k2,k3, *kptr; local
[all...]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vexpf.c244 int k0, k1, k2, k3, k4; local
286 k2 = (int)x2;
292 x2 -= (double)k2;
304 lres2 = ((long long *)__TBL_exp2f)[k2 & 255];
312 lres2 += (long long)k2 << 44;
H A D__vexp.c413 int k0, k1, k2, k3, k4, k5; local
475 k2 = j2 >> 8;
527 if (k2 < -1021) {
528 HI(y2) += (k2 + 0x3ef) << 20;
531 HI(y2) += k2 << 20;
H A D__vatan2f.c59 int i, k0 = 0, k1, k2, hx, sx, sy; local
388 k2 = (hy2 - hx + 0x3f800000) & 0xfff80000;
389 if (k2 >= 0x3C800000) /* if |x| >= (1/64)... */
391 *(int*)&base2 = k2;
392 k2 = (k2 - 0x3C800000) >> 18; /* (index >> 19) << 1) */
393 k2 += 4;
398 k2 = 0;
406 ah2 += __vlibm_TBL_atan1[k2];
/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Ddes3.c93 uint8_t *k2 = k1 + DES_KEY_SIZE; local
94 uint8_t *k3 = k2 + DES_KEY_SIZE;
98 des_key(ks->ksch_decrypt2, k2, B_TRUE);
99 des_key(ks->ksch_encrypt2, k2, B_FALSE);
/illumos-gate/usr/src/cmd/prstat/
H A Dprsort.c166 long k1, k2; local
170 k2 = list_getkeyval(list, list->l_ptrs[i]);
171 if (compare_keys(list, k1, k2) >= 0) {
190 ulong_t k1, k2; local
197 k2 = list_getkeyval(list, ptr);
198 if (compare_keys(list, k1, k2) >= 0) /* skip insertion */
201 if (compare_keys(list, k2, k1) >= 0) { /* add at the head */
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c218 inj_hashcmp_string(void *k1, void *k2) argument
220 return (strcmp(k1, k2));
/illumos-gate/usr/src/cmd/stat/mpstat/
H A Dmpstat.c305 agg_stat(kstat_t *k1, kstat_t *k2, char *name) argument
308 kstat_named_t *ksn2 = kstat_data_lookup(k2, name);
/illumos-gate/usr/src/cmd/cron/
H A Delm.c236 struct key *k, *k2; local
275 k2 = (struct key *)xmalloc(sizeof (struct key));
276 k2->time = n2->time;
277 k2->numnote = NLIM - NLIM/2;
278 k2->notice = n2;
279 k2->right = k;
280 k2->left = k->left;
281 k->left = k2;
282 (k2->left)->right = k2;
507 struct key *k, *k2; local
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c638 int m, b, k1, k2; local
643 k2 = __TO_R_EXP(sensor->is_fs_bacc);
648 (b * pow(10, k1))) * pow(10, k2));
656 (b * pow(10, k1))) * pow(10, k2));
/illumos-gate/usr/src/uts/common/os/
H A Dmodhash.c283 uintptr_t k2 = (uintptr_t)key2; local
284 if (k1 > k2)
286 else if (k1 < k2)
H A Dkstat_fr.c336 const kstat_t *k2 = a2; local
338 if (k1->ks_kid < k2->ks_kid)
340 if (k1->ks_kid > k2->ks_kid)
342 return (kstat_zone_compare((ekstat_t *)k1, (ekstat_t *)k2));
349 const kstat_t *k2 = a2; local
352 s = strcmp(k1->ks_module, k2->ks_module);
358 if (k1->ks_instance < k2->ks_instance)
360 if (k1->ks_instance > k2->ks_instance)
363 s = strcmp(k1->ks_name, k2->ks_name);
369 return (kstat_zone_compare((ekstat_t *)k1, (ekstat_t *)k2));
[all...]
/illumos-gate/usr/src/cmd/localedef/
H A Dcollate.c340 int32_t k2 = ((const weight_t *)n2)->pri; local
342 return (k1 < k2 ? -1 : k1 > k2 ? 1 : 0);
393 wchar_t k2 = ((const collchar_t *)n2)->wc; local
395 return (k1 < k2 ? -1 : k1 > k2 ? 1 : 0);
402 int32_t k2 = ((const subst_t *)n2)->key; local
404 return (k1 < k2 ? -1 : k1 > k2 ? 1 : 0);
/illumos-gate/usr/src/cmd/keyserv/
H A Dsetkey.c342 cmpkeybuf3(keybuf3 *k1, keybuf3 *k2) argument
344 if ((k1 == NULL) || (k2 == NULL)) {
346 k1, k2);
349 if (k1->keybuf3_len != k2->keybuf3_len) {
352 return (!memcmp(k1->keybuf3_val, k2->keybuf3_val, k1->keybuf3_len));
/illumos-gate/usr/src/uts/common/io/
H A Dcryptmod.c1752 crypto_key_t k1, k2; local
1922 k2.ck_format = CRYPTO_KEY_RAW;
1923 k2.ck_length = sizeof (k2data) * 8;
1924 k2.ck_data = k2data;
1927 &k2,
1933 "arcfour_hmac_md5_decrypt: do_hmac(k2)"
1985 crypto_key_t k1, k2; local
2081 k2.ck_data = k2data;
2082 k2.ck_format = CRYPTO_KEY_RAW;
2083 k2
[all...]

Completed in 107 milliseconds