/freebsd-11-stable/sys/sparc64/pci/ |
H A D | psycho.c | 981 struct intr_vector *iv = arg; local 982 struct psycho_icarg *pica = iv->iv_icarg; 985 INTMAP_ENABLE(iv->iv_vec, iv->iv_mid)); 991 struct intr_vector *iv = arg; local 992 struct psycho_icarg *pica = iv->iv_icarg; 994 PSYCHO_WRITE8(pica->pica_sc, pica->pica_map, iv->iv_vec); 1000 struct intr_vector *iv = arg; local 1001 struct psycho_icarg *pica = iv->iv_icarg; 1004 PSYCHO_READ8(pica->pica_sc, pica->pica_map), iv 1010 struct intr_vector *iv = arg; local [all...] |
H A D | schizo.c | 1113 struct intr_vector *iv = arg; local 1114 struct schizo_icarg *sica = iv->iv_icarg; 1117 INTMAP_ENABLE(iv->iv_vec, iv->iv_mid)); 1123 struct intr_vector *iv = arg; local 1124 struct schizo_icarg *sica = iv->iv_icarg; 1126 SCHIZO_PCI_WRITE_8(sica->sica_sc, sica->sica_map, iv->iv_vec); 1132 struct intr_vector *iv = arg; local 1133 struct schizo_icarg *sica = iv->iv_icarg; 1136 SCHIZO_PCI_READ_8(sica->sica_sc, sica->sica_map), iv 1142 struct intr_vector *iv = arg; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/cms/ |
H A D | cms_enc.c | 76 unsigned char iv[EVP_MAX_IV_LENGTH], *piv = NULL; local 122 if (RAND_bytes(iv, ivlen) <= 0) 124 piv = iv;
|
H A D | cms_pwri.c | 95 unsigned char iv[EVP_MAX_IV_LENGTH]; local 137 if (RAND_bytes(iv, ivlen) <= 0) 139 if (EVP_EncryptInit_ex(&ctx, NULL, NULL, NULL, iv) <= 0) {
|
/freebsd-11-stable/contrib/wpa/src/crypto/ |
H A D | crypto_linux.c | 675 static int aes_128_cbc_oper(const u8 *key, int enc, const u8 *iv, argument 715 os_memcpy(alg_iv->iv, iv, iv_len); 745 int aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) argument 747 return aes_128_cbc_oper(key, 1, iv, data, data_len); 751 int aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) argument 753 return aes_128_cbc_oper(key, 0, iv, data, data_len); 824 os_memcpy(alg_iv->iv, cipher, iv_len); 859 const u8 *iv, const u8 *key, 902 if (iv 858 crypto_cipher_init(enum crypto_cipher_alg alg, const u8 *iv, const u8 *key, size_t key_len) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/dev/raidframe/ |
H A D | t_raid.sh | 97 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0 147 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0 185 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0 235 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0 285 atf_check -s exit:0 -o ignore rump.raidctl -iv raid0
|
/freebsd-11-stable/contrib/gcc/ |
H A D | loop-unswitch.c | 176 struct rtx_iv iv; local 208 if (!iv_analyze (at, op[i], &iv)) 210 if (iv.step != const0_rtx 211 || iv.first_special) 214 op[i] = get_iv_value (&iv, const0_rtx);
|
/freebsd-11-stable/crypto/openssl/crypto/evp/ |
H A D | evp_locl.h | 86 cprefix##_ofb##cbits##_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\ 92 cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\ 101 cprefix##_cbc_encrypt(in, out, (long)EVP_MAXCHUNK, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\ 107 cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);\ 119 cprefix##_cfb##cbits##_encrypt(in, out, (long)((cbits==1) && !(ctx->flags & EVP_CIPH_FLAG_LENGTH_BITS) ?chunk*8:chunk), &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num, ctx->encrypt);\
|
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_mac_ctxt.c | 497 struct iwm_vap *iv = IWM_VAP(vap); local 500 if (iv->is_uploaded != 0) { 509 iv->is_uploaded = 1; 516 struct iwm_vap *iv = IWM_VAP(vap); local 518 if (iv->is_uploaded == 0) {
|
/freebsd-11-stable/contrib/wpa/src/eap_common/ |
H A D | eap_sim_common.c | 736 attr->iv = apos + 2; 934 size_t encr_data_len, const u8 *iv, 939 if (!iv) { 952 if (aes_128_cbc_decrypt(k_encr, iv, decrypted, encr_data_len)) { 976 size_t mac, iv, encr; /* index from buf */ member in struct:eap_sim_msg 1119 msg->iv = (pos - wpabuf_head_u8(msg->buf)) + 4; 1120 if (random_get_bytes(wpabuf_mhead_u8(msg->buf) + msg->iv, 1122 msg->iv = 0; 1128 msg->iv = 0; 1141 if (msg == NULL || k_encr == NULL || msg->iv 933 eap_sim_parse_encr(const u8 *k_encr, const u8 *encr_data, size_t encr_data_len, const u8 *iv, struct eap_sim_attrs *attr, int aka) argument [all...] |
/freebsd-11-stable/crypto/heimdal/lib/hx509/ |
H A D | ks_file.c | 174 char *type, *iv; local 213 iv = strchr(type, ','); 214 if (iv == NULL) { 221 *iv++ = '\0'; 223 size = strlen(iv); 244 ssize = hex_decode(iv, ivdata, size); 247 iv = NULL;
|
/freebsd-11-stable/tools/tools/net80211/w00t/prga/ |
H A D | prga.c | 62 char iv[3]; member in struct:params 104 rd = read(fd, p->iv, 3); 130 rd = write(fd, p->iv, 3); 199 memcpy(p->iv, ptr, 3); 302 memcpy(ptr, p->iv, 3); 465 memcpy(p->iv, ptr, 3); 544 memcpy(ptr, p->iv, 3);
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_environment.c | 884 quad_t iv; local 888 iv = strtoq(value, &vtp, 0); 893 iv *= 1024; 895 iv *= 1024; 897 iv *= 1024; 899 iv *= 1024; 905 *data = iv;
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-esp.c | 163 const unsigned char *iv, int enc) 165 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); 175 const unsigned char *iv, int enc) 177 return EVP_CipherInit(ctx, cipher, key, iv, enc); 191 const u_char *iv; local 217 iv = buf; 228 set_cipher_parameters(ctx, NULL, NULL, iv, 0); 161 set_cipher_parameters(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) argument 173 set_cipher_parameters(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) argument
|
/freebsd-11-stable/contrib/libucl/src/ |
H A D | ucl_msgpack.c | 1439 obj->value.iv = (*pos & 0x7f); 1443 obj->value.iv = - (*pos & 0x1f); 1447 obj->value.iv = (unsigned char)*pos; 1452 obj->value.iv = iv8; 1458 obj->value.iv = iv16; 1464 obj->value.iv = uiv16; 1470 obj->value.iv = iv32; 1476 obj->value.iv = uiv32; 1482 obj->value.iv = iv64; 1488 obj->value.iv [all...] |
/freebsd-11-stable/lib/libbluetooth/ |
H A D | hci.c | 96 struct iovec iv[2]; local 106 iv[0].iov_base = &h; 107 iv[0].iov_len = sizeof(h); 115 iv[1].iov_base = param; 116 iv[1].iov_len = plen; 121 while (writev(s, iv, ivn) < 0) {
|
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | enc.c | 123 unsigned char key[EVP_MAX_KEY_LENGTH], iv[EVP_MAX_IV_LENGTH]; local 273 } else if (strcmp(*argv, "-iv") == 0) { 313 BIO_printf(bio_err, "%-14s key/iv in hex is the next argument\n", 314 "-K/-iv"); 315 BIO_printf(bio_err, "%-14s print the iv/key (then exit if -P)\n", 553 (unsigned char *)str, strlen(str), 1, key, iv); 566 BIO_printf(bio_err, "warning: iv not use by this cipher\n"); 567 } else if (!set_hex(hiv, iv, sizeof(iv))) { 568 BIO_printf(bio_err, "invalid hex iv valu [all...] |
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/ |
H A D | h_aesctr1.c | 51 unsigned char iv[8]; member in struct:__anon4679 234 co.iv = __UNCONST(&tests[i].iv);
|
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | chacha_private.h | 80 chacha_ivsetup(chacha_ctx *x,const u8 *iv) argument 84 x->input[14] = U8TO32_LITTLE(iv + 0); 85 x->input[15] = U8TO32_LITTLE(iv + 4);
|
/freebsd-11-stable/crypto/openssh/ |
H A D | chacha.c | 81 chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter) argument 85 x->input[14] = U8TO32_LITTLE(iv + 0); 86 x->input[15] = U8TO32_LITTLE(iv + 4);
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | chacha_private.h | 80 chacha_ivsetup(chacha_ctx *x,const u8 *iv) argument 84 x->input[14] = U8TO32_LITTLE(iv + 0); 85 x->input[15] = U8TO32_LITTLE(iv + 4);
|
/freebsd-11-stable/stand/libsa/geli/ |
H A D | geliboot.c | 315 u_char iv[G_ELI_IVKEYLEN]; local 340 g_eli_crypto_ivgen(&gdev->sc, dstoff, iv, G_ELI_IVKEYLEN); 347 gkey.gek_key, gdev->sc.sc_ekeylen, iv);
|
/freebsd-11-stable/sys/dev/bwi/ |
H A D | bwimac.c | 1139 const struct bwi_fw_iv *iv; local 1152 iv = (const struct bwi_fw_iv *) 1159 if (iv_img_size < sizeof(iv->iv_ofs)) { 1163 iv_img_size -= sizeof(iv->iv_ofs); 1164 sz += sizeof(iv->iv_ofs); 1166 iv_ofs = be16toh(iv->iv_ofs); 1171 "for %dth iv\n", ofs, i); 1178 if (iv_img_size < sizeof(iv->iv_val.val32)) { 1183 iv_img_size -= sizeof(iv->iv_val.val32); 1184 sz += sizeof(iv [all...] |
/freebsd-11-stable/crypto/openssl/engines/ccgost/ |
H A D | gost89.c | 371 void gost_enc_cfb(gost_ctx * ctx, const byte * iv, const byte * clear, argument 379 memcpy(cur_iv, iv, 8); 389 void gost_dec_cfb(gost_ctx * ctx, const byte * iv, const byte * cipher, argument 397 memcpy(cur_iv, iv, 8); 540 int gost_mac_iv(gost_ctx * ctx, int mac_len, const unsigned char *iv, argument 547 memcpy(buffer, iv, 8); 565 void cryptopro_key_meshing(gost_ctx * ctx, unsigned char *iv) argument 573 /* Encrypt iv with new key */ 574 gostcrypt(ctx, iv, newiv); 575 memcpy(iv, newi [all...] |
/freebsd-11-stable/sys/mips/nlm/dev/sec/ |
H A D | nlmseclib.h | 100 void *iv; member in struct:xlp_sec_command
|