iv_size           157 drivers/md/dm-crypt.c 	unsigned int iv_size;
iv_size           293 drivers/md/dm-crypt.c 	memset(iv, 0, cc->iv_size);
iv_size           302 drivers/md/dm-crypt.c 	memset(iv, 0, cc->iv_size);
iv_size           311 drivers/md/dm-crypt.c 	memset(iv, 0, cc->iv_size);
iv_size           313 drivers/md/dm-crypt.c 	*(__be64 *)&iv[cc->iv_size - sizeof(u64)] = cpu_to_be64(dmreq->iv_sector);
iv_size           325 drivers/md/dm-crypt.c 	memset(iv, 0, cc->iv_size);
iv_size           370 drivers/md/dm-crypt.c 	memset(iv, 0, cc->iv_size - sizeof(u64)); /* rest is cleared below */
iv_size           373 drivers/md/dm-crypt.c 	put_unaligned(val, (__be64 *)(iv + cc->iv_size - sizeof(u64)));
iv_size           381 drivers/md/dm-crypt.c 	memset(iv, 0, cc->iv_size);
iv_size           496 drivers/md/dm-crypt.c 	memcpy(iv, &md5state.hash, cc->iv_size);
iv_size           514 drivers/md/dm-crypt.c 		memset(iv, 0, cc->iv_size);
iv_size           535 drivers/md/dm-crypt.c 		crypto_xor(dst + sg->offset, iv, cc->iv_size);
iv_size           565 drivers/md/dm-crypt.c 	if (cc->key_size <= (cc->iv_size + TCW_WHITENING_SIZE)) {
iv_size           576 drivers/md/dm-crypt.c 	tcw->iv_seed = kzalloc(cc->iv_size, GFP_KERNEL);
iv_size           590 drivers/md/dm-crypt.c 	int key_offset = cc->key_size - cc->iv_size - TCW_WHITENING_SIZE;
iv_size           592 drivers/md/dm-crypt.c 	memcpy(tcw->iv_seed, &cc->key[key_offset], cc->iv_size);
iv_size           593 drivers/md/dm-crypt.c 	memcpy(tcw->whitening, &cc->key[key_offset + cc->iv_size],
iv_size           603 drivers/md/dm-crypt.c 	memset(tcw->iv_seed, 0, cc->iv_size);
iv_size           666 drivers/md/dm-crypt.c 	if (cc->iv_size > 8)
iv_size           668 drivers/md/dm-crypt.c 			       cc->iv_size - 8);
iv_size           696 drivers/md/dm-crypt.c 	get_random_bytes(iv, cc->iv_size);
iv_size           708 drivers/md/dm-crypt.c 	if (crypto_skcipher_blocksize(any_tfm(cc)) != cc->iv_size) {
iv_size           730 drivers/md/dm-crypt.c 	memset(buf, 0, cc->iv_size);
iv_size           733 drivers/md/dm-crypt.c 	sg_init_one(&src, page_address(ZERO_PAGE(0)), cc->iv_size);
iv_size           734 drivers/md/dm-crypt.c 	sg_init_one(&dst, iv, cc->iv_size);
iv_size           735 drivers/md/dm-crypt.c 	skcipher_request_set_crypt(req, &src, &dst, cc->iv_size, buf);
iv_size           932 drivers/md/dm-crypt.c 	return iv_of_dmreq(cc, dmreq) + cc->iv_size;
iv_size           938 drivers/md/dm-crypt.c 	u8 *ptr = iv_of_dmreq(cc, dmreq) + cc->iv_size + cc->iv_size;
iv_size           945 drivers/md/dm-crypt.c 	u8 *ptr = iv_of_dmreq(cc, dmreq) + cc->iv_size +
iv_size           946 drivers/md/dm-crypt.c 		  cc->iv_size + sizeof(uint64_t);
iv_size           978 drivers/md/dm-crypt.c 	BUG_ON(cc->integrity_iv_size && cc->integrity_iv_size != cc->iv_size);
iv_size          1007 drivers/md/dm-crypt.c 	sg_set_buf(&dmreq->sg_in[1], org_iv, cc->iv_size);
iv_size          1013 drivers/md/dm-crypt.c 	sg_set_buf(&dmreq->sg_out[1], org_iv, cc->iv_size);
iv_size          1020 drivers/md/dm-crypt.c 			memcpy(org_iv, tag_iv, cc->iv_size);
iv_size          1027 drivers/md/dm-crypt.c 				memcpy(tag_iv, org_iv, cc->iv_size);
iv_size          1030 drivers/md/dm-crypt.c 		memcpy(iv, org_iv, cc->iv_size);
iv_size          1033 drivers/md/dm-crypt.c 	aead_request_set_ad(req, sizeof(uint64_t) + cc->iv_size);
iv_size          1117 drivers/md/dm-crypt.c 		memcpy(iv, org_iv, cc->iv_size);
iv_size          2170 drivers/md/dm-crypt.c 		cc->iv_size = crypto_aead_ivsize(any_tfm_aead(cc));
iv_size          2172 drivers/md/dm-crypt.c 		cc->iv_size = crypto_skcipher_ivsize(any_tfm(cc));
iv_size          2174 drivers/md/dm-crypt.c 	if (cc->iv_size)
iv_size          2176 drivers/md/dm-crypt.c 		cc->iv_size = max(cc->iv_size,
iv_size          2215 drivers/md/dm-crypt.c 		cc->key_extra_size = cc->iv_size + TCW_WHITENING_SIZE;
iv_size          2219 drivers/md/dm-crypt.c 		cc->integrity_iv_size = cc->iv_size;
iv_size          2333 drivers/md/dm-crypt.c 		cc->iv_size = crypto_aead_ivsize(any_tfm_aead(cc));
iv_size          2335 drivers/md/dm-crypt.c 		cc->iv_size = crypto_skcipher_ivsize(any_tfm(cc));
iv_size          2639 drivers/md/dm-crypt.c 		iv_size_padding + cc->iv_size +
iv_size          2640 drivers/md/dm-crypt.c 		cc->iv_size +
iv_size           142 drivers/s390/cio/airq.c 	size = iv_size(bits);
iv_size           212 drivers/s390/cio/airq.c 		cio_dma_free(iv->vector, iv_size(iv->bits));
iv_size           245 include/net/tls.h 	u16 iv_size;
iv_size           500 include/net/tls.h 				     prot->iv_size);
iv_size           510 include/net/tls.h 	size_t pkt_len, iv_size = prot->iv_size;
iv_size           514 include/net/tls.h 		pkt_len += iv_size;
iv_size           517 include/net/tls.h 		       ctx->tx.iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv_size);
iv_size           906 net/tls/tls_device.c 	u16 nonce_size, tag_size, iv_size, rec_seq_size;
iv_size           944 net/tls/tls_device.c 		iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE;
iv_size           966 net/tls/tls_device.c 	prot->iv_size = iv_size;
iv_size           967 net/tls/tls_device.c 	ctx->tx.iv = kmalloc(iv_size + TLS_CIPHER_AES_GCM_128_SALT_SIZE,
iv_size           974 net/tls/tls_device.c 	memcpy(ctx->tx.iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv, iv_size);
iv_size           503 net/tls/tls_sw.c 	       prot->iv_size + prot->salt_size);
iv_size          1459 net/tls/tls_sw.c 			    prot->iv_size);
iv_size          2052 net/tls/tls_sw.c 		cipher_overhead += prot->iv_size;
iv_size          2271 net/tls/tls_sw.c 	u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size;
iv_size          2330 net/tls/tls_sw.c 		iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE;
iv_size          2347 net/tls/tls_sw.c 		iv_size = TLS_CIPHER_AES_GCM_256_IV_SIZE;
iv_size          2364 net/tls/tls_sw.c 		iv_size = TLS_CIPHER_AES_CCM_128_IV_SIZE;
iv_size          2384 net/tls/tls_sw.c 	if (iv_size > MAX_IV_SIZE || nonce_size > MAX_IV_SIZE ||
iv_size          2405 net/tls/tls_sw.c 	prot->iv_size = iv_size;
iv_size          2407 net/tls/tls_sw.c 	cctx->iv = kmalloc(iv_size + salt_size, GFP_KERNEL);
iv_size          2415 net/tls/tls_sw.c 	memcpy(cctx->iv + salt_size, iv, iv_size);