Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 25 of 41) sorted by relevance

12

/titanic_41/usr/src/common/crypto/ecc/
H A Decl_mult.c114 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, in ec_pts_mul_basic() argument
123 && ((k2 == NULL) || (px == NULL) in ec_pts_mul_basic()
128 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_basic()
129 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { in ec_pts_mul_basic()
139 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry)); in ec_pts_mul_basic()
169 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, in ec_pts_mul_simul_w2() argument
181 && ((k2 == NULL) || (px == NULL) in ec_pts_mul_simul_w2()
186 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_simul_w2()
187 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { in ec_pts_mul_simul_w2()
209 if (mpl_significant_bits(k1) < mpl_significant_bits(k2)) { in ec_pts_mul_simul_w2()
[all …]
H A Dec.c87 ec_points_mul(const ECParams *params, const mp_int *k1, const mp_int *k2, in ec_points_mul() argument
116 if (k2 != NULL) { in ec_points_mul()
117 mp_tohex(k2, mpstr); in ec_points_mul()
119 mp_todecimal(k2, mpstr); in ec_points_mul()
161 if ((k2 != NULL) && (pointP != NULL)) { in ec_points_mul()
189 irr_arr[2] = params->fieldID.k2; in ec_points_mul()
199 if ((k2 != NULL) && (pointP != NULL)) { in ec_points_mul()
200 CHECK_MPI_OK( ECPoints_mul(group, k1, k2, &Px, &Py, &Qx, &Qy) ); in ec_points_mul()
296 key->ecParams.fieldID.k2 = ecParams->fieldID.k2; in ec_NewKey()
1089 dstParams->fieldID.k2 = srcParams->fieldID.k2; in EC_CopyParams()
H A Decp_jac.c416 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px, in ec_GFp_pts_mul_jac() argument
437 && ((k2 == NULL) || (px == NULL) in ec_GFp_pts_mul_jac()
442 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_GFp_pts_mul_jac()
443 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) { in ec_GFp_pts_mul_jac()
457 if (mpl_significant_bits(k1) < mpl_significant_bits(k2)) { in ec_GFp_pts_mul_jac()
458 a = k2; in ec_GFp_pts_mul_jac()
473 b = k2; in ec_GFp_pts_mul_jac()
H A Decl.h89 const mp_int *k2, const mp_int *px, const mp_int *py,
H A Decl-priv.h195 mp_err (*points_mul) (const mp_int *k1, const mp_int *k2,
259 mp_err ec_pts_mul_basic(const mp_int *k1, const mp_int *k2,
262 mp_err ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2,
/titanic_41/usr/src/cmd/cron/
H A Delm.c237 struct key *k, *k2; local
276 k2 = (struct key *)xmalloc(sizeof (struct key));
277 k2->time = n2->time;
278 k2->numnote = NLIM - NLIM/2;
279 k2->notice = n2;
280 k2->right = k;
281 k2->left = k->left;
282 k->left = k2;
283 (k2->left)->right = k2;
284 n2->key = k2; /* have n2 point back to k2 */
[all …]
/titanic_41/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));
/titanic_41/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));
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;
279 krb5_keyblock k1,k2,k3, *kptr; local
295 bzero(&k2, sizeof(krb5_keyblock));
321 (void) bcopy(key, &k2, sizeof(krb5_keyblock));
[all …]
/titanic_41/usr/src/cmd/prstat/
H A Dprsort.c166 long k1, k2; in list_insert() local
170 k2 = list_getkeyval(list, list->l_ptrs[i]); in list_insert()
171 if (compare_keys(list, k1, k2) >= 0) { in list_insert()
190 ulong_t k1, k2; in list_preinsert() local
197 k2 = list_getkeyval(list, ptr); in list_preinsert()
198 if (compare_keys(list, k1, k2) >= 0) /* skip insertion */ in list_preinsert()
201 if (compare_keys(list, k2, k1) >= 0) { /* add at the head */ in list_preinsert()
/titanic_41/usr/src/lib/libmvec/common/
H A D__vatan2f.c59 int i, k0 = 0, k1, k2, hx, sx, sy; in __vatan2f() local
388 k2 = (hy2 - hx + 0x3f800000) & 0xfff80000; in __vatan2f()
389 if (k2 >= 0x3C800000) /* if |x| >= (1/64)... */ in __vatan2f()
391 *(int*)&base2 = k2; in __vatan2f()
392 k2 = (k2 - 0x3C800000) >> 18; /* (index >> 19) << 1) */ in __vatan2f()
393 k2 += 4; in __vatan2f()
398 k2 = 0; in __vatan2f()
406 ah2 += __vlibm_TBL_atan1[k2]; in __vatan2f()
H A D__vexpf.c244 int k0, k1, k2, k3, k4; in __vexpf() local
286 k2 = (int)x2; in __vexpf()
292 x2 -= (double)k2; in __vexpf()
304 lres2 = ((long long *)__TBL_exp2f)[k2 & 255]; in __vexpf()
312 lres2 += (long long)k2 << 44; in __vexpf()
H A D__vexp.c413 int k0, k1, k2, k3, k4, k5; in __vexp() local
475 k2 = j2 >> 8; in __vexp()
527 if (k2 < -1021) { in __vexp()
528 HI(y2) += (k2 + 0x3ef) << 20; in __vexp()
531 HI(y2) += k2 << 20; in __vexp()
/titanic_41/usr/src/common/net/wanboot/crypt/
H A Ddes3.c93 uint8_t *k2 = k1 + DES_KEY_SIZE; in des3_key() local
94 uint8_t *k3 = k2 + DES_KEY_SIZE; in des3_key()
98 des_key(ks->ksch_decrypt2, k2, B_TRUE); in des3_key()
99 des_key(ks->ksch_encrypt2, k2, B_FALSE); in des3_key()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dcipher.c315 EVP_CIPHER_CTX k1, k2, k3; member
323 u_char *k1, *k2, *k3; in ssh1_3des_init() local
333 k1 = k2 = k3 = (u_char *) key; in ssh1_3des_init()
334 k2 += 8; in ssh1_3des_init()
342 EVP_CIPHER_CTX_init(&c->k2); in ssh1_3des_init()
345 EVP_CipherInit(&c->k2, EVP_des_cbc(), k2, NULL, !enc) == 0 || in ssh1_3des_init()
365 EVP_Cipher(&c->k2, dest, dest, len) == 0 || in ssh1_3des_cbc()
503 memcpy(iv + 8, desc->k2.iv, 8); in cipher_get_keyiv()
542 memcpy(desc->k2.iv, iv + 8, 8); in cipher_set_keyiv()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dencrypt.h74 #define SAMEKEY(k1, k2) (!memcmp((void *)k1, (void *)k2, sizeof (Block)) argument
/titanic_41/usr/src/cmd/localedef/
H A Dcollate.c340 int32_t k2 = ((const weight_t *)n2)->pri; in weight_compare() local
342 return (k1 < k2 ? -1 : k1 > k2 ? 1 : 0); in weight_compare()
393 wchar_t k2 = ((const collchar_t *)n2)->wc; in collchar_compare() local
395 return (k1 < k2 ? -1 : k1 > k2 ? 1 : 0); in collchar_compare()
402 int32_t k2 = ((const subst_t *)n2)->key; in subst_compare() local
404 return (k1 < k2 ? -1 : k1 > k2 ? 1 : 0); in subst_compare()
/titanic_41/usr/src/cmd/ypcmd/yp2lscripts/
H A Dypmap2src.sh310 sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
332 sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4 $TMPDIR/${MAP}.V4 > $OUTDIR/$SRCFILE
355 sort -b -k2 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
393 sort -n -k2 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
412 sort -n -k2 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
431 sort -n -k2 $TMPDIR/${MAP}.cut > $OUTDIR/$SRCFILE
530 sort -n -t. -k1,1 -k2,2 -k3,3 -k4,4 $TMPDIR/${MAP}.grep > $OUTDIR/$SRCFILE
/titanic_41/usr/src/uts/common/os/
H A Dkstat_fr.c336 const kstat_t *k2 = a2; in kstat_compare_bykid() local
338 if (k1->ks_kid < k2->ks_kid) in kstat_compare_bykid()
340 if (k1->ks_kid > k2->ks_kid) in kstat_compare_bykid()
342 return (kstat_zone_compare((ekstat_t *)k1, (ekstat_t *)k2)); in kstat_compare_bykid()
349 const kstat_t *k2 = a2; in kstat_compare_byname() local
352 s = strcmp(k1->ks_module, k2->ks_module); in kstat_compare_byname()
358 if (k1->ks_instance < k2->ks_instance) in kstat_compare_byname()
360 if (k1->ks_instance > k2->ks_instance) in kstat_compare_byname()
363 s = strcmp(k1->ks_name, k2->ks_name); in kstat_compare_byname()
369 return (kstat_zone_compare((ekstat_t *)k1, (ekstat_t *)k2)); in kstat_compare_byname()
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \ argument
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/titanic_41/usr/src/lib/libast/common/include/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \ argument
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \ argument
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \ argument
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \ argument
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/titanic_41/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c218 inj_hashcmp_string(void *k1, void *k2) in inj_hashcmp_string() argument
220 return (strcmp(k1, k2)); in inj_hashcmp_string()
/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c638 int m, b, k1, k2; in ipmi_sdr_conv_reading() local
643 k2 = __TO_R_EXP(sensor->is_fs_bacc); in ipmi_sdr_conv_reading()
648 (b * pow(10, k1))) * pow(10, k2)); in ipmi_sdr_conv_reading()
656 (b * pow(10, k1))) * pow(10, k2)); in ipmi_sdr_conv_reading()

12