Home
last modified time | relevance | path

Searched refs:ivec (Results 1 – 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/cmd/intrd/
H A Dintrd.pl806 $bigtime = $ivec->{time} if $ivec->{time} > $bigtime;
939 if (!intrmove($ivec->{buspath}, $ivec->{origcpu},
940 $ivec->{ino}, $cpuid, $ivec->{num_ino})) {
944 "$ivec->{buspath} ino $ivec->{ino} to ".
1039 syslog('debug', "ivec $ivec->{inum} goal $ivec->{goal}");
1044 if ($ivec->{goal} && $ivec->{nowcpu} != $srccpuid) {
1045 move_intr($delta, $ivec->{inum}, $ivec->{nowcpu},
1047 } elsif ($ivec->{goal} == 0 && $ivec->{nowcpu} != $tgtcpuid) {
1048 move_intr($delta, $ivec->{inum}, $ivec->{nowcpu},
1099 my $ivec;
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Daes_provider.c60 if (ivec != NULL) { in krb5int_aes_encrypt()
65 if (ivec->data == NULL || ivec->length != BLOCK_SIZE) { in krb5int_aes_encrypt()
70 (void *)ivec->data, ivec->length); in krb5int_aes_encrypt()
91 if (ivec != NULL) { in krb5int_aes_encrypt()
212 if (ivec == NULL) { in krb5int_aes_encrypt()
293 if (ivec != NULL) { in krb5int_aes_encrypt()
298 if (ivec->data == NULL || ivec->length != BLOCK_SIZE) { in krb5int_aes_encrypt()
327 if (ivec == NULL) { in krb5int_aes_encrypt()
510 if (ivec->data == NULL || ivec->length != BLOCK_SIZE) { in krb5int_aes_decrypt()
515 (void *)ivec->data, ivec->length); in krb5int_aes_decrypt()
[all …]
H A Ddes.c39 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_docrypt() argument
51 if (ivec && (ivec->length != 8)) in k5_des_docrypt()
59 ivec?(unsigned char *)ivec->data: in k5_des_docrypt()
68 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_encrypt() argument
71 return(k5_des_docrypt(context, key, ivec, input, output, 1)); in k5_des_encrypt()
76 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_decrypt() argument
79 return(k5_des_docrypt(context, key, ivec, input, output, 0)); in k5_des_decrypt()
H A Ddes3.c38 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_docrypt() argument
52 if (ivec && (ivec->length != 8)) in k5_des3_docrypt()
60 ivec?(unsigned char *)ivec->data:(unsigned char *)mit_des_zeroblock, in k5_des3_docrypt()
69 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_encrypt() argument
72 return(k5_des3_docrypt(context, key, ivec, input, output, 1)); in k5_des3_encrypt()
77 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_decrypt() argument
80 return(k5_des3_docrypt(context, key, ivec, input, output, 0)); in k5_des3_decrypt()
/illumos-gate/usr/src/lib/libnsl/key/
H A Dxcrypt.c85 char ivec[8]; local
96 (void) memset(ivec, 0, 8);
119 char ivec[8]; local
131 (void) memset(ivec, 0, 8);
250 char ivec[8]; in xencrypt_g() local
316 ivec); in xencrypt_g()
354 char ivec[8]; in xdecrypt_g() local
441 des_block ivec, tkey; in passwd2des_g() local
534 des_setparity_g(&ivec); in passwd2des_g()
538 ivec.c[7] ^= 0xf0; in passwd2des_g()
[all …]
/illumos-gate/usr/src/lib/libnsl/des/
H A Ddes_crypt.c98 COPY8(ivec, dp.des_ivec); in cbc_crypt()
100 COPY8(dp.des_ivec, ivec); in cbc_crypt()
170 unsigned int mode, char *ivec) in desN_crypt() argument
180 (void) memcpy(svec.c, ivec, sizeof (des_block)); in desN_crypt()
183 stat = cbc_crypt(keys[j].c, buf, len, m | flags, ivec); in desN_crypt()
185 (void) memcpy(dvec.c, ivec, sizeof (des_block)); in desN_crypt()
193 (void) memcpy(ivec, svec.c, sizeof (des_block)); in desN_crypt()
196 stat = cbc_crypt(keys[0].c, buf, len, mode, ivec); in desN_crypt()
199 (void) memcpy(ivec, dvec.c, sizeof (des_block)); in desN_crypt()
208 uint_t mode, char *ivec) in __cbc_triple_crypt() argument
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dold_api_glue.c43 krb5_pointer ivec) in krb5_encrypt() argument
50 if (ivec) { in krb5_encrypt()
55 ivecd.data = ivec; in krb5_encrypt()
78 krb5_pointer ivec) in krb5_decrypt() argument
85 if (ivec) { in krb5_decrypt()
90 ivecd.data = ivec; in krb5_decrypt()
286 krb5_pointer ivec, krb5_data *data, in krb5_encrypt_data() argument
297 if (ivec) { in krb5_encrypt_data()
302 ivecd.data = ivec; in krb5_encrypt_data()
326 if (ivec) { in krb5_decrypt_data()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_decrypt.c44 const krb5_data *ivec,
55 const krb5_data *ivec, const krb5_data *input, in krb5_dk_decrypt() argument
59 ivec, input, output, 0); in krb5_dk_decrypt()
68 const krb5_data *ivec, const krb5_data *input, in krb5int_aes_dk_decrypt() argument
72 ivec, input, output, 96 / 8); in krb5int_aes_dk_decrypt()
81 const krb5_data *ivec, const krb5_data *input, in krb5_dk_decrypt_maybe_trunc_hmac() argument
136 ivec, &d1, &d2))) != 0) in krb5_dk_decrypt_maybe_trunc_hmac()
139 if (ivec != NULL && ivec->length == blocksize) { in krb5_dk_decrypt_maybe_trunc_hmac()
190 (void) memcpy(ivec->data, cn, blocksize); in krb5_dk_decrypt_maybe_trunc_hmac()
H A Ddk_encrypt.c62 const krb5_data *ivec, const krb5_data *input, in krb5_dk_encrypt() argument
122 ivec, &d1, &d2)))) in krb5_dk_encrypt()
125 if (ivec != NULL && ivec->length == blocksize) in krb5_dk_encrypt()
152 (void) memcpy(ivec->data, cn, blocksize); in krb5_dk_encrypt()
225 const krb5_data *ivec, in krb5int_aes_dk_encrypt() argument
284 if ((ret = ((*(enc->encrypt))(context, derived_encr_key, ivec, &d1, &d2)))) in krb5int_aes_dk_encrypt()
287 if (ivec != NULL && ivec->length == blocksize) { in krb5int_aes_dk_encrypt()
309 (void) memcpy(ivec->data, cn, blocksize); in krb5int_aes_dk_encrypt()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/
H A Dold_encrypt.c57 const krb5_data *ivec, in krb5_old_encrypt() argument
98 if ((key->enctype == ENCTYPE_DES_CBC_CRC) && (ivec == 0)) { in krb5_old_encrypt()
101 ivec = &crcivec; in krb5_old_encrypt()
106 if ((ret = ((*(enc->encrypt))(context, key, ivec, output, output)))) in krb5_old_encrypt()
110 if (real_ivec && ivec != NULL && ivec->length == blocksize) in krb5_old_encrypt()
111 (void) memcpy(ivec->data, output->data + output->length - blocksize, in krb5_old_encrypt()
H A Dold_decrypt.c43 const krb5_data *ivec, in krb5_old_decrypt() argument
83 if (ivec != NULL && ivec->length == blocksize) { in krb5_old_decrypt()
94 if ((key->enctype == ENCTYPE_DES_CBC_CRC) && (ivec == 0)) { in krb5_old_decrypt()
97 ivec = &crcivec; in krb5_old_decrypt()
100 if ((ret = ((*(enc->decrypt))(context, key, ivec, input, &output)))) in krb5_old_decrypt()
132 (void) memcpy(ivec->data, cn, blocksize); in krb5_old_decrypt()
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcrypto.c101 unsigned int mode, char *ivec) in __desN_crypt() argument
115 memcpy(svec.c, ivec, sizeof (des_block)); in __desN_crypt()
122 memcpy(dvec.c, ivec, sizeof (des_block)); in __desN_crypt()
130 memcpy(ivec, svec.c, sizeof (des_block)); in __desN_crypt()
138 stat = cbc_crypt(keys[0].c, buf, len, mode, ivec); in __desN_crypt()
142 memcpy(ivec, dvec.c, sizeof (des_block)); in __desN_crypt()
157 des_block ivec; in __dh_desN_crypt() local
170 memset(&ivec, 0, sizeof (ivec)); in __dh_desN_crypt()
191 des_block ivec; in __dh_des_crypt() local
197 memset(&ivec, 0, sizeof (ivec)); in __dh_des_crypt()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/
H A Ddescbc.c46 krb5_const krb5_data *ivec, in k5_descbc_hash() argument
56 if (ivec && (ivec->length != MIT_DES_BLOCK_LENGTH)) in k5_descbc_hash()
65 ivec ? (krb5_data *)ivec : &zero_ivec, input, output); in k5_descbc_hash()
H A Dk5_kmd5des.c62 krb5_const krb5_data *ivec, in k5_md5des_hash() argument
76 if (ivec) in k5_md5des_hash()
157 krb5_const krb5_data *ivec, in k5_md5des_verify() argument
175 if (ivec) in k5_md5des_verify()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Df_cbc.c33 mit_des_cbc_encrypt(context, in, out, length, key, ivec, encrypt) in mit_des_cbc_encrypt() argument
39 mit_des_cblock ivec;
65 mechanism.pParameter = ivec;
66 if (ivec != NULL)
135 mit_des_cblock ivec, int encrypt) in mit_des_cbc_encrypt() argument
143 ivdata.data = (char *)ivec; in mit_des_cbc_encrypt()
H A Dd3_cbc.c37 const mit_des_cblock ivec, int encrypt) in mit_des3_cbc_encrypt() argument
62 mechanism.pParameter = (void*)ivec; in mit_des3_cbc_encrypt()
63 if (ivec != NULL) in mit_des3_cbc_encrypt()
114 const mit_des_cblock ivec, int encrypt) in mit_des3_cbc_encrypt() argument
121 ivdata.data = (char *)ivec; in mit_des3_cbc_encrypt()
H A Def_crypto.c18 const krb5_data *ivec, int encrypt_flag) in k5_ef_crypto() argument
53 if (ivec != NULL) { in k5_ef_crypto()
54 mech.cm_param_len = ivec->length; in k5_ef_crypto()
55 mech.cm_param = (char *)ivec->data; in k5_ef_crypto()
H A Df_cksum.c30 const krb5_octet *ivec) in mit_des_cbc_cksum() argument
41 ivecdata.data = (char *)ivec; in mit_des_cbc_cksum()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Ddk.h40 const krb5_data *ivec,
48 krb5_const krb5_data *ivec, krb5_const krb5_data *input,
84 const krb5_data *ivec,
92 const krb5_data *ivec, const krb5_data *input,
H A Draw.h39 const krb5_data *ivec, const krb5_data *input,
47 const krb5_data *ivec, const krb5_data *input,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c837 if (ivec == NULL || ivec->length == 0) { in configure_stream()
838 (void) memset(&setup_info.ivec, 0, sizeof (setup_info.ivec)); in configure_stream()
847 (void) memcpy(&setup_info.ivec, ivec->data, ivec->length); in configure_stream()
848 setup_info.iveclen = ivec->length; in configure_stream()
1226 krb5_data ivec, *ivptr; in doit() local
1244 ivptr = &ivec; in doit()
1282 ivec.length = blocksize; in doit()
1283 if (ivec.data == NULL) in doit()
1304 &ivec, IVEC_ONETIME) != 0) in doit()
1309 &ivec, IVEC_ONETIME) != 0) in doit()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c90 krb5_data *ivec, in k5_ef_mac() argument
102 ASSERT(ivec != NULL); in k5_ef_mac()
124 mech.cm_param = ivec->data; in k5_ef_mac()
125 mech.cm_param_len = ivec->length; in k5_ef_mac()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/raw/
H A Draw_decrypt.c42 const krb5_data *ivec, const krb5_data *input, in krb5_raw_decrypt() argument
47 return((*(enc->decrypt))(context, key, ivec, input, output)); in krb5_raw_decrypt()
H A Draw_encrypt.c55 const krb5_data *ivec, const krb5_data *input, in krb5_raw_encrypt() argument
58 return((*(enc->encrypt))(context, key, ivec, input, output)); in krb5_raw_encrypt()
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes.c97 cbc_crypt(char *key, char *buf, size_t len, unsigned int mode, char *ivec) in cbc_crypt() argument
103 COPY8(ivec, dp.des_ivec); in cbc_crypt()
105 COPY8(dp.des_ivec, ivec); in cbc_crypt()

123