/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_zip.c | 242 uint8_t *iv; member in struct:zip 2444 free(zip->iv); 2445 zip->iv = NULL; 2450 if (zip->iv == NULL) { 2451 zip->iv = malloc(zip->iv_size); 2452 if (zip->iv == NULL) 2455 memcpy(zip->iv, p, zip->iv_size); 2970 free(zip->iv);
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | net_help.c | 95 * @param iv: up to EVP_MAX_IV_LENGTH. 105 unsigned char* iv, EVP_CIPHER_CTX *evp_ctx, 1463 unsigned char* iv, EVP_CIPHER_CTX *evp_sctx, variable 1488 if (RAND_bytes(iv, evp_cipher_length) != 1) { 1492 if (EVP_EncryptInit_ex(evp_sctx, cipher, NULL, ticket_keys->aes_key, iv) != 1) { 1550 if (EVP_DecryptInit_ex(evp_sctx, cipher, NULL, key->aes_key, iv) != 1) { 1560 (void)iv;
|
/freebsd-11-stable/sys/kern/ |
H A D | vfs_mount.c | 1642 quad_t iv; local 1652 iv = strtoq(opt_value, &vtp, 0); 1655 if (iv < 0) 1660 iv *= 1024; 1663 iv *= 1024; 1666 iv *= 1024; 1669 iv *= 1024; 1675 *value = iv;
|
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/crypto/openssl/crypto/evp/ |
H A D | evp_enc.c | 96 const unsigned char *key, const unsigned char *iv, int enc) 100 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc); 105 const unsigned char *iv, int enc) 179 return FIPS_cipherinit(ctx, cipher, key, iv, enc); 212 return FIPS_cipherinit(ctx, cipher, key, iv, enc); 241 (int)sizeof(ctx->iv)); 242 if (iv) 243 memcpy(ctx->oiv, iv, EVP_CIPHER_CTX_iv_length(ctx)); 244 memcpy(ctx->iv, ctx->oiv, EVP_CIPHER_CTX_iv_length(ctx)); 250 if (iv) 95 EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) argument 103 EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc) argument 295 EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument 301 EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument 308 EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) argument 314 EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) argument [all...] |
H A D | evp.h | 318 const unsigned char *iv, int enc); 353 /* Set if the iv handling should be done by the cipher itself */ 367 /* Allow use default ASN1 get/set iv */ 446 unsigned char iv[EVP_MAX_IV_LENGTH]; member in struct:evp_cipher_info_st 455 unsigned char oiv[EVP_MAX_IV_LENGTH]; /* original iv */ 456 unsigned char iv[EVP_MAX_IV_LENGTH]; /* working iv */ member in struct:evp_cipher_ctx_st 614 unsigned char *iv); 621 const unsigned char *key, const unsigned char *iv); 624 const unsigned char *iv); [all...] |
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_misc.c | 1046 svr4_hrt_interval_t * iv; member in struct:svr4_hrtcntl_args
|
/freebsd-11-stable/sys/opencrypto/ |
H A D | cryptodev.h | 247 c_caddr_t iv; member in struct:crypt_op 262 c_caddr_t iv; member in struct:crypt_aead
|
H A D | cryptodev.c | 106 u_int32_t iv; member in struct:crypt_op32 206 PTRIN_CP(*from, *to, iv); 220 PTROUT_CP(*from, *to, iv); 881 if (cop->iv) { 892 if ((error = copyin(cop->iv, crde->crd_iv, 1058 if (caead->iv) { 1065 if ((error = copyin(caead->iv, crde->crd_iv, caead->ivlen))) {
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_main.c | 2920 get_interval_count(int *argcp, char **argv, unsigned long *iv, argument 2982 *iv = interval;
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_parse.c | 4902 const char **iv; local 4904 iv = taipinit; 4905 while (*iv) 4907 int rtc = (int) write(parse->generic->io.fd, *iv, strlen(*iv)); 4915 if (rtc != (int)strlen(*iv)) 4918 CLK_UNIT(parse->peer), rtc, (int)strlen(*iv)); 4922 iv++; 5031 int iv; member in union:uval
|
/freebsd-11-stable/contrib/apr-util/test/ |
H A D | testcrypto.c | 278 apr_size_t *cipherTextLen, const unsigned char **iv, 292 rv = apr_crypto_block_encrypt_init(&block, iv, key, blockSize, pool); 370 apr_size_t *plainTextLen, const unsigned char *iv, 384 rv = apr_crypto_block_decrypt_init(&block, blockSize, iv, key, pool); 481 const unsigned char *iv = NULL; local 490 &cipherText, &cipherTextLen, &iv, &blockSize, description); 492 cipherTextLen, &plainText, &plainTextLen, iv, &blockSize, 507 iv = NULL; 512 &cipherText, &cipherTextLen, &iv, &blockSize, description); 514 cipherTextLen, &plainText, &plainTextLen, iv, 274 encrypt_block(abts_case *tc, apr_pool_t *pool, const apr_crypto_driver_t *driver, const apr_crypto_t *f, const apr_crypto_key_t *key, const unsigned char *in, const apr_size_t inlen, unsigned char **cipherText, apr_size_t *cipherTextLen, const unsigned char **iv, apr_size_t *blockSize, const char *description) argument 366 decrypt_block(abts_case *tc, apr_pool_t *pool, const apr_crypto_driver_t *driver, const apr_crypto_t *f, const apr_crypto_key_t *key, unsigned char *cipherText, apr_size_t cipherTextLen, unsigned char **plainText, apr_size_t *plainTextLen, const unsigned char *iv, apr_size_t *blockSize, const char *description) argument [all...] |
/freebsd-11-stable/contrib/apr-util/include/private/ |
H A D | apr_crypto_internal.h | 121 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 133 const unsigned char **iv, const apr_crypto_key_t *key, 184 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 194 apr_size_t *blockSize, const unsigned char *iv,
|
/freebsd-11-stable/contrib/apr-util/include/ |
H A D | apr_crypto.h | 356 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 368 apr_crypto_block_t **ctx, const unsigned char **iv, 420 * @param iv Optional initialisation vector. 429 const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p);
|
/freebsd-11-stable/contrib/apr-util/crypto/ |
H A D | apr_crypto_openssl.c | 607 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 619 const unsigned char **iv, const apr_crypto_key_t *key, 647 if (iv == NULL) { 650 if (*iv == NULL) { 660 *iv = usedIv; 663 usedIv = (unsigned char *) *iv; 796 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 806 apr_size_t *blockSize, const unsigned char *iv, 832 if (iv == NULL) { 840 key->key, iv)) { 618 crypto_block_encrypt_init(apr_crypto_block_t **ctx, const unsigned char **iv, const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p) argument 805 crypto_block_decrypt_init(apr_crypto_block_t **ctx, apr_size_t *blockSize, const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p) argument [all...] |
H A D | apr_crypto_nss.c | 745 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 757 const unsigned char **iv, const apr_crypto_key_t *key, 778 if (iv == NULL) { 781 if (*iv == NULL) { 792 *iv = usedIv; 795 usedIv = (unsigned char *) *iv; 927 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 937 apr_size_t *blockSize, const unsigned char *iv, 957 if (iv == NULL) { 960 ivItem.data = (unsigned char*) iv; 756 crypto_block_encrypt_init(apr_crypto_block_t **ctx, const unsigned char **iv, const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p) argument 936 crypto_block_decrypt_init(apr_crypto_block_t **ctx, apr_size_t *blockSize, const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p) argument [all...] |
H A D | apr_crypto_commoncrypto.c | 511 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 523 const unsigned char **iv, const apr_crypto_key_t *key, 545 if (iv == NULL) { 548 if (*iv == NULL) { 560 *iv = usedIv; 563 usedIv = (unsigned char *) *iv; 716 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 726 apr_size_t *blockSize, const unsigned char *iv, 745 if (iv == NULL) { 752 key->options, key->key, key->keyLen, iv, 522 crypto_block_encrypt_init(apr_crypto_block_t **ctx, const unsigned char **iv, const apr_crypto_key_t *key, apr_size_t *blockSize, apr_pool_t *p) argument 725 crypto_block_decrypt_init(apr_crypto_block_t **ctx, apr_size_t *blockSize, const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p) argument [all...] |
H A D | apr_crypto.c | 439 * @param iv Optional initialisation vector. If the buffer pointed to is NULL, 451 apr_crypto_block_t **ctx, const unsigned char **iv, 454 return key->provider->block_encrypt_init(ctx, iv, key, blockSize, p); 512 * @param iv Optional initialisation vector. 521 const unsigned char *iv, const apr_crypto_key_t *key, apr_pool_t *p) 523 return key->provider->block_decrypt_init(ctx, blockSize, iv, key, p);
|
/freebsd-11-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 571 struct iovec iv[(NFS_MAXPATHLEN+MLEN-1)/MLEN]; local 572 struct iovec *ivp = iv; 600 uiop->uio_iov = iv; 636 struct iovec *iv; local 662 MALLOC(iv, struct iovec *, i * sizeof (struct iovec), 664 uiop->uio_iov = iv2 = iv; 673 iv->iov_base = mtod(m, caddr_t) + m->m_len; 674 iv->iov_len = siz; 677 iv++; 725 struct iovec *iv; local 1580 struct iovec iv; local 1830 struct iovec iv; local [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_indirect.c | 276 indirect_vsd_t *iv = zio->io_vsd; local 279 while ((is = list_head(&iv->iv_splits)) != NULL) { 285 list_remove(&iv->iv_splits, is); 289 kmem_free(iv, sizeof (*iv)); 1165 indirect_vsd_t *iv = zio->io_vsd; local 1199 list_insert_tail(&iv->iv_splits, is); 1223 indirect_vsd_t *iv = zio->io_vsd; local 1227 for (indirect_split_t *is = list_head(&iv->iv_splits); 1228 is != NULL; is = list_next(&iv 1262 indirect_vsd_t *iv = kmem_zalloc(sizeof (*iv), KM_SLEEP); local 1395 indirect_vsd_t *iv = zio->io_vsd; local 1437 indirect_vsd_t *iv = zio->io_vsd; local 1514 indirect_vsd_t *iv = zio->io_vsd; local 1605 indirect_vsd_t *iv = zio->io_vsd; local [all...] |
/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
|
H A D | print-802_11.c | 398 #define IV_IV(iv) ((iv) & 0xFFFFFF) 399 #define IV_PAD(iv) (((iv) >> 24) & 0x3F) 400 #define IV_KEYID(iv) (((iv) >> 30) & 0x03) 985 uint32_t iv; local 989 iv = EXTRACT_LE_32BITS(p); 991 ND_PRINT((ndo, " IV:%3x Pad %x KeyID %x", IV_IV(iv), IV_PAD(iv), [all...] |
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap-bt-monitor-linux.c | 90 struct iovec iv[2]; local 100 iv[0].iov_base = &hdr; 101 iv[0].iov_len = sizeof(hdr); 102 iv[1].iov_base = pktd + sizeof(pcap_bluetooth_linux_monitor_header); 103 iv[1].iov_len = handle->snapshot; 107 msg.msg_iov = iv;
|
H A D | pcap-bt-linux.c | 315 struct iovec iv; local 324 iv.iov_base = pktd + sizeof(pcap_bluetooth_h4_header); 325 iv.iov_len = handle->snapshot; 328 msg.msg_iov = &iv;
|
/freebsd-11-stable/sys/dev/bwn/ |
H A D | if_bwnvar.h | 766 uint8_t iv[16]; member in struct:bwn_txhdr
|