Searched refs:iv (Results 1 - 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/cmd/mandoc/
H A Ddba_read.c43 int32_t im, ip, iv, npages; local
65 for (iv = 0; iv < dbm_macro_count(im); iv++) {
66 mdata = dbm_macro_get(im, iv);
H A Ddbm.c354 static int32_t im, iv; local
368 iv = -1;
377 if (++iv == nvals[im]) {
381 if (iv)
384 pp = dbm_get(macros[im][iv].pages);
405 dbm_macro_get(int32_t im, int32_t iv) argument
411 assert(iv >= 0);
412 assert(iv < nvals[im]);
413 macro.value = dbm_get(macros[im][iv].value);
414 macro.pp = dbm_get(macros[im][iv]
440 static int32_t im, ip, iv; local
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Ddca_3des.c82 des_ctx->dr_ctx.iv[0] = htonl(p[0]);
83 des_ctx->dr_ctx.iv[1] = htonl(p[1]);
86 des_ctx->dr_ctx.iv[0] = p[0]<<24 | p[1]<<16 | p[2]<<8 | p[3];
87 des_ctx->dr_ctx.iv[1] = p[4]<<24 | p[5]<<16 | p[6]<<8 | p[7];
182 des_ctx->dr_ctx.iv[0] = htonl(p[0]);
183 des_ctx->dr_ctx.iv[1] = htonl(p[1]);
186 des_ctx->dr_ctx.iv[0] = p[0]<<24 | p[1]<<16 | p[2]<<8 | p[3];
187 des_ctx->dr_ctx.iv[1] = p[4]<<24 | p[5]<<16 | p[6]<<8 | p[7];
384 uint32_t iv[2]; local
399 iv[
578 uint32_t *iv = (uint32_t *)ivstore; local
580 uchar_t *iv = ivstore; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_indirect.c292 indirect_vsd_t *iv = zio->io_vsd; local
295 while ((is = list_head(&iv->iv_splits)) != NULL) {
301 list_remove(&iv->iv_splits, is);
312 kmem_free(iv, sizeof (*iv));
1179 indirect_vsd_t *iv = zio->io_vsd; local
1216 list_insert_tail(&iv->iv_splits, is);
1240 indirect_vsd_t *iv = zio->io_vsd; local
1244 for (indirect_split_t *is = list_head(&iv->iv_splits);
1245 is != NULL; is = list_next(&iv
1280 indirect_vsd_t *iv = kmem_zalloc(sizeof (*iv), KM_SLEEP); local
1403 indirect_vsd_t *iv = zio->io_vsd; local
1442 indirect_vsd_t *iv = zio->io_vsd; local
1473 vdev_indirect_splits_checksum_validate(indirect_vsd_t *iv, zio_t *zio) argument
1498 vdev_indirect_splits_enumerate_all(indirect_vsd_t *iv, zio_t *zio) argument
1539 vdev_indirect_splits_enumerate_randomly(indirect_vsd_t *iv, zio_t *zio) argument
1572 vdev_indirect_splits_damage(indirect_vsd_t *iv, zio_t *zio) argument
1692 indirect_vsd_t *iv = zio->io_vsd; local
1784 indirect_vsd_t *iv = zio->io_vsd; local
[all...]
H A Dzio_crypt.c492 zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv, argument
507 /* generate iv for wrapping the master and hmac key */
508 ret = random_get_pseudo_bytes(iv, WRAPPING_IV_LEN);
550 ret = zio_do_crypt_uio(B_TRUE, crypt, cwkey, NULL, iv, enc_len,
563 uint64_t guid, uint8_t *keydata, uint8_t *hmac_keydata, uint8_t *iv,
612 ret = zio_do_crypt_uio(B_FALSE, crypt, cwkey, NULL, iv, enc_len,
757 zio_crypt_encode_params_bp(blkptr_t *bp, uint8_t *salt, uint8_t *iv) argument
766 bcopy(iv, &bp->blk_dva[2].dva_word[1], sizeof (uint64_t));
767 bcopy(iv + sizeof (uint64_t), &val32, sizeof (uint32_t));
773 bcopy(iv,
562 zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version, uint64_t guid, uint8_t *keydata, uint8_t *hmac_keydata, uint8_t *iv, uint8_t *mac, zio_crypt_key_t *key) argument
782 zio_crypt_decode_params_bp(const blkptr_t *bp, uint8_t *salt, uint8_t *iv) argument
1874 zio_do_crypt_data(boolean_t encrypt, zio_crypt_key_t *key, dmu_object_type_t ot, boolean_t byteswap, uint8_t *salt, uint8_t *iv, uint8_t *mac, uint_t datalen, uint8_t *plainbuf, uint8_t *cipherbuf, boolean_t *no_crypt) argument
1974 zio_do_crypt_abd(boolean_t encrypt, zio_crypt_key_t *key, dmu_object_type_t ot, boolean_t byteswap, uint8_t *salt, uint8_t *iv, uint8_t *mac, uint_t datalen, abd_t *pabd, abd_t *cabd, boolean_t *no_crypt) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzio_crypt.h114 int zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv,
117 uint64_t guid, uint8_t *keydata, uint8_t *hmac_keydata, uint8_t *iv,
123 void zio_crypt_encode_params_bp(blkptr_t *bp, uint8_t *salt, uint8_t *iv);
124 void zio_crypt_decode_params_bp(const blkptr_t *bp, uint8_t *salt, uint8_t *iv);
140 dmu_object_type_t ot, boolean_t byteswap, uint8_t *salt, uint8_t *iv,
144 dmu_object_type_t ot, boolean_t byteswap, uint8_t *salt, uint8_t *iv,
H A Darc.h189 uint8_t *iv, uint8_t *mac);
193 dmu_object_type_t ot, const uint8_t *salt, const uint8_t *iv,
200 boolean_t byteorder, const uint8_t *salt, const uint8_t *iv,
207 const uint8_t *salt, const uint8_t *iv, const uint8_t *mac,
/illumos-gate/usr/src/uts/common/sys/
H A Dcryptmod.h99 #define CR_IVUSAGE_OK(iv) \
100 ((iv) == IVEC_NEVER || (iv) == IVEC_REUSE || (iv) == IVEC_ONETIME)
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_crypt.c121 kg_encrypt(context, key, usage, iv, in, out, length)
125 krb5_pointer iv;
137 if (iv) {
146 (void) memcpy(ivd.data, iv, ivd.length);
169 kg_decrypt(context, key, usage, iv, in, out, length)
173 krb5_pointer iv;
184 if (iv) {
193 (void) memcpy(ivd.data, iv, ivd.length);
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_wep.c130 uint32_t iv; local
149 iv = ctx->wc_iv;
154 if ((iv & 0xff00) == 0xff00) {
155 int B = (iv & 0xff0000) >> 16;
157 iv = (B+1) << 16;
159 ctx->wc_iv = iv + 1;
161 ivp[2] = (uint8_t)(iv >> 0);
162 ivp[1] = (uint8_t)(iv >> 8);
163 ivp[0] = (uint8_t)(iv >> 16);
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_attr.c404 int irv, iv, ndn; local
419 for (iv = 0; iv < rv[irv].numAttrs; iv++) {
421 if (rv[irv].attrName[iv] != 0 &&
422 rv[irv].attrVal[iv].type == vt_string &&
423 rv[irv].attrVal[iv].numVals >= 1 &&
424 strcasecmp("dn", rv[irv].attrName[iv]) == 0) {
427 rv[irv].attrVal[iv].val[0].value,
/illumos-gate/usr/src/cmd/mdb/common/modules/ipc/
H A Dipc.c285 ipc_ops_vec_t *iv)
296 if (mdb_walk_dcmd(iv->iv_wcmd, oflags ? iv->iv_ocmd : "ipcperm",
298 mdb_warn("can't walk '%s'", iv->iv_wcmd);
304 iddata = mdb_alloc(iv->iv_idsize, UM_SLEEP | UM_GC);
305 if (mdb_vread(iddata, iv->iv_idsize, addr) == -1) {
306 mdb_warn("failed to read %s at %#lx", iv->iv_ocmd, addr);
310 if (!DCMD_HDRSPEC(flags) && iv->iv_print)
313 if (DCMD_HDRSPEC(flags) || iv->iv_print)
317 if (iv
284 ds_print(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv, ipc_ops_vec_t *iv) argument
356 ipc_ops_vec_t *iv = wsp->walk_arg; local
519 ds_ptr(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv, ipc_ops_vec_t *iv) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/migration/
H A Dmigration.kshlib133 cpio -iv < $archive
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcpowf.c58 int ix, iy, hx, hy, hv, hu, iu, iv, j; local
71 iv = hv & 0x7fffffff;
74 if (iv == 0) { /* z**(real) */
127 if (iu >= hiinf || iv >= hiinf || ix >= hiinf || iy >= hiinf) {
158 if (iv == 0) { /* dv = 0 */
H A Dcpow.c40 * Let z = x+iy, w = u+iv.
51 * (u+iv)* log(x+iy) = --- log(x + y ) - v tan (---) + (1)
156 int ix, iy, hx, lx, hy, ly, hv, hu, iu, iv, lu, lv; local
174 iv = hv & 0x7fffffff;
177 if ((iv | lv) == 0) { /* z**(real) */
240 if (iu >= hiinf || iv >= hiinf || ix >= hiinf || iy >= hiinf) {
248 if (iu > 0x7f000000 || iv > 0x7f000000) {
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c138 * 2) iv: initialization vector for encrypted data in the object. This
1174 soft_gen_iv(CK_BYTE *iv) argument
1176 return (pkcs11_get_nzero_urandom(iv, 16) < 0 ?
1249 CK_BYTE iv[OBJ_IV_SIZE], old_iv[OBJ_IV_SIZE]; local
1296 /* read old iv */
1302 if (soft_gen_iv(iv) != CKR_OK) {
1306 if (writen_nointr(new_fd, (char *)iv, OBJ_IV_SIZE) != OBJ_IV_SIZE) {
1343 if (soft_keystore_crypt(new_enc_key, iv, B_TRUE, decrypted_buf,
1355 if (soft_keystore_crypt(new_enc_key, iv, B_TRUE, decrypted_buf,
2022 uchar_t iv[OBJ_IV_SIZ local
2195 CK_BYTE iv[OBJ_IV_SIZE]; local
2476 uchar_t iv[OBJ_IV_SIZE], obj_hmac[OBJ_HMAC_SIZE]; local
[all...]
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dunix.c1378 intr_vec_t iv; local
1393 if (mdb_vread(&iv, sizeof (intr_vec_t),
1399 wsp->walk_addr = (uintptr_t)iv.iv_vec_next;
1415 intr_vec_t iv; local
1430 if (mdb_vread(&iv, sizeof (iv), addr) == -1) {
1435 mdb_printf("%4x %?p %4d %?p %?p %a\n", iv.iv_inum, addr,
1436 iv.iv_pil, iv.iv_arg1, iv
1471 intr_vec_t iv; local
1493 intr_vec_t iv; local
[all...]
/illumos-gate/usr/src/uts/common/io/rum/
H A Drum_reg.h205 uint32_t iv; member in struct:rum_tx_desc
229 uint32_t iv; member in struct:rum_rx_desc
/illumos-gate/usr/src/uts/common/io/ural/
H A Dural_reg.h189 uint32_t iv; member in struct:ural_tx_desc
205 uint32_t iv; member in struct:ural_rx_desc
/illumos-gate/usr/src/uts/sun4/ml/
H A Dinterrupt.s63 ! %g2 - pointer to intr_vec_t (iv)
79 brnz,pt %g2, 0f ! check list head (iv) is NULL
81 ba ptl1_panic ! panic, list head (iv) is NULL
84 lduh [%g2 + IV_FLAGS], %g7 ! %g7 = iv->iv_flags
85 and %g7, IV_SOFTINT_MT, %g3 ! %g3 = iv->iv_flags & IV_SOFTINT_MT
87 add %g2, IV_PIL_NEXT, %g7 ! g7% = &iv->iv_pil_next
90 add %g7, %g3, %g7 ! %g5 = &iv->iv_xpil_next[cpuid]
128 lduh [%g2 + IV_FLAGS], %g3 ! %g3 = iv->iv_flags
129 andn %g3, IV_SOFTINT_PEND, %g3 ! %g3 = !(iv->iv_flags & PEND)
131 stn %g0, [%g7] ! clear iv
[all...]
/illumos-gate/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c222 char iv[ZIO_DATA_IV_LEN * 2 + 1]; local
510 sprintf_bytes(iv, drrw->drr_iv,
521 "salt = %s iv = %s mac = %s\n",
533 iv,
615 sprintf_bytes(iv, drrs->drr_iv,
625 "salt = %s iv = %s mac = %s\n",
633 iv,
684 sprintf_bytes(iv, drror->drr_iv,
691 "salt = %s iv = %s mac = %s\n",
696 iv,
[all...]
/illumos-gate/usr/src/common/crypto/modes/
H A Dgcm.c513 gcm_format_initial_blocks(uchar_t *iv, ulong_t iv_len, argument
527 bcopy(iv, cb, 12);
539 bcopy(&(iv[processed]), cb, remainder);
543 datap = (uint8_t *)(&(iv[processed]));
564 gcm_init(gcm_ctx_t *ctx, unsigned char *iv, size_t iv_len, argument
578 gcm_format_initial_blocks(iv, iv_len, ctx, block_size,
/illumos-gate/usr/src/common/crypto/chacha/
H A Dchacha.c79 chacha_ivsetup(chacha_ctx_t *x,const u8 *iv) argument
83 x->chacha_input[14] = U8TO32_LITTLE(iv + 0);
84 x->chacha_input[15] = U8TO32_LITTLE(iv + 4);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Doptions.c708 int iv, a; local
745 iv = 0;
747 if (!int_option(*argv, &iv))
749 if ((((opt->flags & OPT_LLIMIT) && (iv < opt->lower_limit)) ||
750 ((opt->flags & OPT_ULIMIT) && (iv > opt->upper_limit))) &&
751 !((opt->flags & OPT_ZEROOK) && (iv == 0))) {
773 iv += a;
775 iv += *(int *)(opt->addr);
779 if ((opt->flags & OPT_ZEROINF) && (iv == 0)) {
785 } else if (iv > old
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dhmac_md5.c46 const krb5_data *iv,
44 k5_hmac_md5_hash(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *iv, const krb5_data *input, krb5_data *output) argument

Completed in 230 milliseconds

123