Searched refs:k1 (Results 1 - 20 of 20) sorted by relevance

/osnet-11/usr/src/common/crypto/ecc/
H A Decl_mult.c108 /* Elliptic curve scalar-point multiplication. Computes R(x, y) = k1 * G +
110 * points on the elliptic curve. Allows k1 = NULL or { k2, P } = NULL.
113 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, argument
121 ARGCHK(!((k1 == NULL)
126 if (k1 == NULL) {
129 return ECPoint_mul(group, k1, NULL, NULL, rx, ry);
134 MP_CHECKOK(mp_init(&sx, FLAG(k1)));
135 MP_CHECKOK(mp_init(&sy, FLAG(k1)));
137 MP_CHECKOK(ECPoint_mul(group, k1, NULL, NULL, &sx, &sy));
160 /* Elliptic curve scalar-point multiplication. Computes R(x, y) = k1 *
168 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
318 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 Decl.h104 /* Elliptic curve scalar-point multiplication. Computes Q(x, y) = k1 * G +
108 mp_err ECPoints_mul(const ECGroup *group, const mp_int *k1,
H A Decp_jac.c408 /* Elliptic curve scalar-point multiplication. Computes R(x, y) = k1 * G +
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
436 ARGCHK(!((k1 == NULL)
441 if (k1 == NULL) {
444 return ECPoint_mul(group, k1, NULL, NULL, rx, ry);
450 MP_CHECKOK(mp_init(&precomp[i][j][0], FLAG(k1)));
451 MP_CHECKOK(mp_init(&precomp[i][j][1], FLAG(k1)));
456 /* assign {k1, k2} = {a, b} such that len(a) >= len(b) */
457 if (mpl_significant_bits(k1) < mpl_significant_bit
[all...]
H A Dec.c77 * Computes scalar point multiplication pointQ = k1 * G + k2 * pointP for
81 ec_points_mul(const ECParams *params, const mp_int *k1, const mp_int *k2, argument
103 if (k1 != NULL) {
104 mp_tohex(k1, mpstr);
105 printf("ec_points_mul: scalar k1: %s\n", mpstr);
106 mp_todecimal(k1, mpstr);
107 printf("ec_points_mul: scalar k1: %s (dec)\n", mpstr);
183 irr_arr[1] = params->fieldID.k1;
195 CHECK_MPI_OK( ECPoints_mul(group, k1, k2, &Px, &Py, &Qx, &Qy) );
197 CHECK_MPI_OK( ECPoints_mul(group, k1, NUL
[all...]
H A Decp.h126 /* Computes R(x, y) = k1 * G + k2 * P(x, y), where G is the generator
127 * (base point) of the group of points on the elliptic curve. Allows k1 =
132 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px,
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,
H A Decdecode.c629 dstParams->fieldID.k1 = srcParams->fieldID.k1;
H A Decc_impl.h154 int k1; /* first coefficient of pentanomial or member in struct:ECFieldIDStr
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dcf2.c101 krb5_keyblock *k1, const char *pepper1,
113 if (k1 == NULL || !krb5_c_valid_enctype(k1->enctype))
117 out_enctype_num = k1->enctype;
133 retval = prf_plus(context, k1, pepper1, keybytes, &prf1);
100 krb5_c_fx_cf2_simple(krb5_context context, krb5_keyblock *k1, const char *pepper1, krb5_keyblock *k2, const char *pepper2, krb5_keyblock **out) argument
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_utils.c144 * k1: DBT pointer of first arg to comparison
148 * < 0 if k1 is < record
149 * = 0 if k1 is = record
150 * > 0 if k1 is > record
153 __bt_cmp(t, k1, e)
155 const DBT *k1;
200 return ((*t->bt_cmp)(k1, &k2));
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dprimegen.c1008 int i=0, i1=0, j=0, jp=0, j1=0, k1=0, k2=0;
1046 k1 = n - j1;
1047 k2 = k1+2;
1057 k1 = i;
1061 k1 = n;
1063 k1 = k2 + 1;
1070 k1 = n - j1;
1071 k2 = k1 + 1;
1077 k1 = n - j1;
1078 k2 = k1
1006 int i=0, i1=0, j=0, jp=0, j1=0, k1=0, k2=0; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Dprimegen.c1007 int i=0, i1=0, j=0, jp=0, j1=0, k1=0, k2=0;
1045 k1 = n - j1;
1046 k2 = k1+2;
1056 k1 = i;
1060 k1 = n;
1062 k1 = k2 + 1;
1069 k1 = n - j1;
1070 k2 = k1 + 1;
1076 k1 = n - j1;
1077 k2 = k1
1005 int i=0, i1=0, j=0, jp=0, j1=0, k1=0, k2=0; local
[all...]
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/osnet-11/usr/src/lib/libast/common/include/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dcdt.h250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
252 ((sz) <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) )
/osnet-11/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c638 int m, b, k1, k2; local
642 k1 = __TO_B_EXP(sensor->is_fs_bacc);
648 (b * pow(10, k1))) * pow(10, k2));
656 (b * pow(10, k1))) * pow(10, k2));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dop.c3471 OP *k1 = ((UNOP*)first)->op_first; local
3472 OP *k2 = k1->op_sibling;
3479 && ((k1->op_flags & OPf_WANT) == OPf_WANT_SCALAR))
3486 if (k1->op_type == OP_READDIR
3487 || k1->op_type == OP_GLOB
3488 || (k1->op_type == OP_NULL && k1->op_targ == OP_GLOB)
3489 || k1->op_type == OP_EACH)
3491 warnop = ((k1->op_type == OP_NULL)
3492 ? (OPCODE)k1
3653 OP *k1 = ((UNOP*)expr)->op_first; local
3710 OP *k1 = ((UNOP*)expr)->op_first; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dhfs.c398 grub_hfs_cmp_catkeys (struct grub_hfs_catalog_key *k1,
622 int minlen = (k1->strlen < k2->strlen) ? k1->strlen : k2->strlen;
624 cmp = (grub_be_to_cpu32 (k1->parent_dir) - grub_be_to_cpu32 (k2->parent_dir));
630 cmp = (hfs_charorder[k1->str[i]] - hfs_charorder[k2->str[i]]);
636 return (k1->strlen - k2->strlen);
642 grub_hfs_cmp_extkeys (struct grub_hfs_extent_key *k1,
645 int cmp = k1->forktype - k2->forktype;
647 cmp = grub_be_to_cpu32 (k1->fileid) - grub_be_to_cpu32 (k2->fileid);
649 cmp = (grub_be_to_cpu16 (k1
397 grub_hfs_cmp_catkeys(struct grub_hfs_catalog_key *k1, struct grub_hfs_catalog_key *k2) argument
641 grub_hfs_cmp_extkeys(struct grub_hfs_extent_key *k1, struct grub_hfs_extent_key *k2) argument
[all...]

Completed in 142 milliseconds