/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | cf2.c | 101 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/common/crypto/ecc/ |
H A D | ecl_mult.c | 108 /* 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 D | ecp_jac.c | 408 /* 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 D | ec.c | 77 * 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 D | ecc_impl.h | 154 int k1; /* first coefficient of pentanomial or member in struct:ECFieldIDStr
|
/osnet-11/usr/src/lib/libipmi/common/ |
H A D | ipmi_sdr.c | 638 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/grub/grub2/grub-core/fs/ |
H A D | hfs.c | 398 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...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | primegen.c | 1008 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 D | primegen.c | 1007 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/cmd/perl/5.8.4/distrib/ |
H A D | op.c | 3471 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...] |