Searched refs:iv (Results 76 - 100 of 281) sorted by relevance

1234567891011>>

/freebsd-11-stable/crypto/openssl/crypto/des/
H A Ddes.h117 # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \
118 DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e))
120 # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \
121 DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e))
123 # define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \
124 DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n))
208 DES_cblock *iv);
210 DES_cblock *iv);
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A De_idea.c69 const unsigned char *iv, int enc);
99 const unsigned char *iv, int enc)
98 idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
H A De_rc4.c79 const unsigned char *iv, int enc);
121 const unsigned char *iv, int enc)
120 rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
H A De_rc5.c70 const unsigned char *iv, int enc);
115 const unsigned char *iv, int enc)
114 r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
H A Dp_open.c70 const unsigned char *ek, int ekl, const unsigned char *iv,
103 if (!EVP_DecryptInit_ex(ctx, NULL, NULL, key, iv))
69 EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, const unsigned char *ek, int ekl, const unsigned char *iv, EVP_PKEY *priv) argument
H A De_camellia.c67 const unsigned char *iv, int enc);
119 const unsigned char *iv, int enc)
257 const unsigned char *iv, int enc)
289 (*dat->stream.cbc) (in, out, len, &dat->ks, ctx->iv, ctx->encrypt);
291 CRYPTO_cbc128_encrypt(in, out, len, &dat->ks, ctx->iv, dat->block);
293 CRYPTO_cbc128_decrypt(in, out, len, &dat->ks, ctx->iv, dat->block);
320 ctx->iv, &ctx->num, dat->block);
330 ctx->iv, &ctx->num, ctx->encrypt, dat->block);
340 ctx->iv, &ctx->num, ctx->encrypt, dat->block);
351 ctx->iv,
118 cmll_t4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
256 camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument
[all...]
H A Devp_key.c126 unsigned char *iv)
183 if (iv != NULL)
184 *(iv++) = md_buf[i];
123 EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md, const unsigned char *salt, const unsigned char *data, int datal, int count, unsigned char *key, unsigned char *iv) argument
/freebsd-11-stable/crypto/openssh/
H A Dcipher-aesctr.c63 aesctr_ivsetup(aesctr_ctx *x,const u8 *iv) argument
65 memcpy(x->ctr, iv, AES_BLOCK_SIZE);
H A Dcipher.c322 const u_char *key, u_int keylen, const u_char *iv, u_int ivlen,
346 (iv != NULL && ivlen < cipher_ivlen(cipher))) {
359 aesctr_ivsetup(&cc->ac_ctx, iv);
375 if (EVP_CipherInit(cc->evp, type, NULL, (u_char *)iv,
382 -1, (u_char *)iv)) {
585 cipher_get_keyiv(struct sshcipher_ctx *cc, u_char *iv, u_int len) argument
600 memcpy(iv, cc->ac_ctx.ctr, len);
620 ssh_aes_ctr_iv(cc->evp, 0, iv, len);
625 len, iv))
628 memcpy(iv, c
321 cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher, const u_char *key, u_int keylen, const u_char *iv, u_int ivlen, int do_encrypt) argument
642 cipher_set_keyiv(struct sshcipher_ctx *cc, const u_char *iv) argument
[all...]
H A Dchacha.h27 void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
H A Dhash.c17 static const unsigned char iv[64] = { variable
37 for (i = 0;i < 64;++i) h[i] = iv[i];
/freebsd-11-stable/sys/dev/iscsi_initiator/
H A Disc_soc.c189 struct iovec *iv; local
199 uio->uio_iov = iv = pq->iov;
201 iv->iov_base = &pp->ipdu;
202 iv->iov_len = sizeof(union ipdu_u);
203 uio->uio_resid = iv->iov_len;
204 iv++;
208 iv->iov_base = pp->ahs_addr;
209 iv->iov_len = pp->ahs_len;
210 uio->uio_resid += iv->iov_len;
211 iv
[all...]
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Daes-siv.c129 u8 *iv, *crypt_pw; local
149 iv = out;
152 os_memcpy(iv, v, AES_BLOCK_SIZE);
173 u8 iv[AES_BLOCK_SIZE]; local
191 os_memcpy(iv, iv_crypt, AES_BLOCK_SIZE);
194 iv[8] &= 0x7f;
195 iv[12] &= 0x7f;
197 ret = aes_ctr_encrypt(k2, key_len, iv, out, crypt_len);
H A Daes_wrap.h48 int __must_check aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data,
50 int __must_check aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data,
53 const u8 *iv, size_t iv_len,
58 const u8 *iv, size_t iv_len,
63 const u8 *iv, size_t iv_len,
H A Daes-gcm.c192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) argument
198 os_memcpy(J0, iv, iv_len);
207 ghash(H, iv, iv_len, J0);
254 int aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument
267 aes_gcm_prepare_j0(iv, iv_len, H, J0);
288 int aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument
301 aes_gcm_prepare_j0(iv, iv_len, H, J0);
322 int aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, argument
325 return aes_gcm_ae(key, key_len, iv, iv_len, NULL, 0, aad, aad_len, NULL,
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_indirect.c276 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/sys/dev/le/
H A Dlebuffer_sbus.c174 uint32_t base, iv, *intr; local
222 iv = intr[i];
227 if ((iv & INTMAP_OBIO_MASK) == 0)
228 iv |= slot << 3;
230 iv |= sbus_get_ign(dev) << INTMAP_IGN_SHIFT;
232 iv, iv, 1);
/freebsd-11-stable/crypto/openssl/crypto/asn1/
H A Dx_pkey.c97 memcpy(ret->cipher.iv,
100 memset(ret->cipher.iv, 0, EVP_MAX_IV_LENGTH);
122 memset(ret->cipher.iv, 0, EVP_MAX_IV_LENGTH);
/freebsd-11-stable/crypto/openssl/crypto/cast/
H A Dcast.h94 long length, const CAST_KEY *ks, unsigned char *iv,
/freebsd-11-stable/sys/sparc64/fhc/
H A Dfhc.c169 uint32_t iv; local
306 iv = INTMAP_VEC(sc->sc_ign, intr[j]);
308 SYS_RES_IRQ, j, iv, iv, 1);
361 struct intr_vector *iv = arg; local
362 struct fhc_icarg *fica = iv->iv_icarg;
365 INTMAP_ENABLE(iv->iv_vec, iv->iv_mid));
372 struct intr_vector *iv = arg; local
373 struct fhc_icarg *fica = iv
382 struct intr_vector *iv = arg; local
393 struct intr_vector *iv = arg; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/rc2/
H A Drc2.h91 RC2_KEY *ks, unsigned char *iv, int enc);
/freebsd-11-stable/crypto/openssl/crypto/rc5/
H A Drc5.h102 long length, RC5_32_KEY *ks, unsigned char *iv,
/freebsd-11-stable/sys/geom/eli/
H A Dg_eli_hmac.c127 g_eli_crypto_ivgen(struct g_eli_softc *sc, off_t offset, u_char *iv, argument
139 bcopy(off, iv, sizeof(off));
140 bzero(iv + sizeof(off), size - sizeof(off));
151 bcopy(hash, iv, MIN(sizeof(hash), size));
/freebsd-11-stable/stand/libsa/geli/
H A Dgeliboot_internal.h69 const u_char *key, size_t keysize, u_char *iv);
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_aesctr2.c42 unsigned char iv[8] = {0}; variable
69 memcpy(ibuf, iv, 8);

Completed in 647 milliseconds

1234567891011>>