iv 35 arch/arm/crypto/aes-ce-glue.c int rounds, int blocks, u8 iv[]); iv 37 arch/arm/crypto/aes-ce-glue.c int rounds, int blocks, u8 iv[]); iv 39 arch/arm/crypto/aes-ce-glue.c int rounds, int bytes, u8 const iv[]); iv 41 arch/arm/crypto/aes-ce-glue.c int rounds, int bytes, u8 const iv[]); iv 47 arch/arm/crypto/aes-ce-glue.c int rounds, int bytes, u8 iv[], iv 50 arch/arm/crypto/aes-ce-glue.c int rounds, int bytes, u8 iv[], iv 229 arch/arm/crypto/aes-ce-glue.c walk->iv); iv 259 arch/arm/crypto/aes-ce-glue.c walk->iv); iv 301 arch/arm/crypto/aes-ce-glue.c req->iv); iv 320 arch/arm/crypto/aes-ce-glue.c req->iv); iv 329 arch/arm/crypto/aes-ce-glue.c walk.iv); iv 359 arch/arm/crypto/aes-ce-glue.c req->iv); iv 378 arch/arm/crypto/aes-ce-glue.c req->iv); iv 387 arch/arm/crypto/aes-ce-glue.c walk.iv); iv 406 arch/arm/crypto/aes-ce-glue.c walk.iv); iv 423 arch/arm/crypto/aes-ce-glue.c blocks, walk.iv); iv 482 arch/arm/crypto/aes-ce-glue.c req->iv); iv 497 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_enc, rounds, nbytes, walk.iv, iv 511 arch/arm/crypto/aes-ce-glue.c req->iv); iv 519 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_enc, rounds, walk.nbytes, walk.iv, iv 554 arch/arm/crypto/aes-ce-glue.c req->iv); iv 569 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_dec, rounds, nbytes, walk.iv, iv 583 arch/arm/crypto/aes-ce-glue.c req->iv); iv 591 arch/arm/crypto/aes-ce-glue.c ctx->key1.key_dec, rounds, walk.nbytes, walk.iv, iv 35 arch/arm/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[]); iv 41 arch/arm/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[], int); iv 43 arch/arm/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[], int); iv 176 arch/arm/crypto/aes-neonbs-glue.c walk.iv); iv 242 arch/arm/crypto/aes-neonbs-glue.c ctx->rk, ctx->rounds, blocks, walk.iv, final); iv 331 arch/arm/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[], int)) iv 350 arch/arm/crypto/aes-neonbs-glue.c req->cryptlen - tail, req->iv); iv 358 arch/arm/crypto/aes-neonbs-glue.c crypto_cipher_encrypt_one(ctx->tweak_tfm, walk.iv, walk.iv); iv 372 arch/arm/crypto/aes-neonbs-glue.c ctx->key.rounds, blocks, walk.iv, reorder_last_tweak); iv 387 arch/arm/crypto/aes-neonbs-glue.c crypto_xor(buf, req->iv, AES_BLOCK_SIZE); iv 394 arch/arm/crypto/aes-neonbs-glue.c crypto_xor(buf, req->iv, AES_BLOCK_SIZE); iv 66 arch/arm/crypto/chacha-neon-glue.c const struct chacha_ctx *ctx, const u8 *iv) iv 74 arch/arm/crypto/chacha-neon-glue.c crypto_chacha_init(state, ctx, iv); iv 100 arch/arm/crypto/chacha-neon-glue.c return chacha_neon_stream_xor(req, ctx, req->iv); iv 114 arch/arm/crypto/chacha-neon-glue.c crypto_chacha_init(state, ctx, req->iv); iv 121 arch/arm/crypto/chacha-neon-glue.c memcpy(&real_iv[0], req->iv + 24, 8); iv 122 arch/arm/crypto/chacha-neon-glue.c memcpy(&real_iv[8], req->iv + 16, 8); iv 71 arch/arm64/crypto/aes-ce-ccm-glue.c u32 l = req->iv[0] + 1; iv 88 arch/arm64/crypto/aes-ce-ccm-glue.c memcpy(maciv, req->iv, AES_BLOCK_SIZE - l); iv 101 arch/arm64/crypto/aes-ce-ccm-glue.c memset(&req->iv[AES_BLOCK_SIZE - l], 0, l); iv 204 arch/arm64/crypto/aes-ce-ccm-glue.c crypto_inc(walk->iv, AES_BLOCK_SIZE); iv 205 arch/arm64/crypto/aes-ce-ccm-glue.c aes_encrypt(ctx, buf, walk->iv); iv 246 arch/arm64/crypto/aes-ce-ccm-glue.c memcpy(buf, req->iv, AES_BLOCK_SIZE); iv 261 arch/arm64/crypto/aes-ce-ccm-glue.c num_rounds(ctx), mac, walk.iv); iv 304 arch/arm64/crypto/aes-ce-ccm-glue.c memcpy(buf, req->iv, AES_BLOCK_SIZE); iv 319 arch/arm64/crypto/aes-ce-ccm-glue.c num_rounds(ctx), mac, walk.iv); iv 80 arch/arm64/crypto/aes-glue.c int rounds, int blocks, u8 iv[]); iv 82 arch/arm64/crypto/aes-glue.c int rounds, int blocks, u8 iv[]); iv 85 arch/arm64/crypto/aes-glue.c int rounds, int bytes, u8 const iv[]); iv 87 arch/arm64/crypto/aes-glue.c int rounds, int bytes, u8 const iv[]); iv 93 arch/arm64/crypto/aes-glue.c int rounds, int bytes, u32 const rk2[], u8 iv[], iv 96 arch/arm64/crypto/aes-glue.c int rounds, int bytes, u32 const rk2[], u8 iv[], iv 100 arch/arm64/crypto/aes-glue.c int rounds, int blocks, u8 iv[], iv 103 arch/arm64/crypto/aes-glue.c int rounds, int blocks, u8 iv[], iv 242 arch/arm64/crypto/aes-glue.c ctx->key_enc, rounds, blocks, walk->iv); iv 271 arch/arm64/crypto/aes-glue.c ctx->key_dec, rounds, blocks, walk->iv); iv 313 arch/arm64/crypto/aes-glue.c req->iv); iv 332 arch/arm64/crypto/aes-glue.c req->iv); iv 340 arch/arm64/crypto/aes-glue.c ctx->key_enc, rounds, walk.nbytes, walk.iv); iv 370 arch/arm64/crypto/aes-glue.c req->iv); iv 389 arch/arm64/crypto/aes-glue.c req->iv); iv 397 arch/arm64/crypto/aes-glue.c ctx->key_dec, rounds, walk.nbytes, walk.iv); iv 434 arch/arm64/crypto/aes-glue.c req->iv, ctx->key2.key_enc); iv 456 arch/arm64/crypto/aes-glue.c req->iv, ctx->key2.key_enc); iv 476 arch/arm64/crypto/aes-glue.c ctx->key_enc, rounds, blocks, walk.iv); iv 493 arch/arm64/crypto/aes-glue.c blocks, walk.iv); iv 553 arch/arm64/crypto/aes-glue.c req->iv); iv 569 arch/arm64/crypto/aes-glue.c ctx->key2.key_enc, walk.iv, first); iv 582 arch/arm64/crypto/aes-glue.c req->iv); iv 591 arch/arm64/crypto/aes-glue.c ctx->key2.key_enc, walk.iv, first); iv 625 arch/arm64/crypto/aes-glue.c req->iv); iv 641 arch/arm64/crypto/aes-glue.c ctx->key2.key_enc, walk.iv, first); iv 654 arch/arm64/crypto/aes-glue.c req->iv); iv 664 arch/arm64/crypto/aes-glue.c ctx->key2.key_enc, walk.iv, first); iv 34 arch/arm64/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[]); iv 37 arch/arm64/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[], u8 final[]); iv 40 arch/arm64/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[]); iv 42 arch/arm64/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[]); iv 48 arch/arm64/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[]); iv 51 arch/arm64/crypto/aes-neonbs-glue.c u32 const rk2[], u8 iv[], int first); iv 54 arch/arm64/crypto/aes-neonbs-glue.c u32 const rk2[], u8 iv[], int first); iv 174 arch/arm64/crypto/aes-neonbs-glue.c walk.iv); iv 200 arch/arm64/crypto/aes-neonbs-glue.c walk.iv); iv 250 arch/arm64/crypto/aes-neonbs-glue.c ctx->rk, ctx->rounds, blocks, walk.iv, final); iv 319 arch/arm64/crypto/aes-neonbs-glue.c int rounds, int blocks, u8 iv[])) iv 346 arch/arm64/crypto/aes-neonbs-glue.c req->iv); iv 370 arch/arm64/crypto/aes-neonbs-glue.c neon_aes_ecb_encrypt(walk.iv, walk.iv, iv 376 arch/arm64/crypto/aes-neonbs-glue.c walk.iv); iv 399 arch/arm64/crypto/aes-neonbs-glue.c req->iv); iv 413 arch/arm64/crypto/aes-neonbs-glue.c nbytes, ctx->twkey, walk.iv, first ?: 2); iv 416 arch/arm64/crypto/aes-neonbs-glue.c nbytes, ctx->twkey, walk.iv, first ?: 2); iv 63 arch/arm64/crypto/chacha-neon-glue.c const struct chacha_ctx *ctx, const u8 *iv) iv 71 arch/arm64/crypto/chacha-neon-glue.c crypto_chacha_init(state, ctx, iv); iv 97 arch/arm64/crypto/chacha-neon-glue.c return chacha_neon_stream_xor(req, ctx, req->iv); iv 111 arch/arm64/crypto/chacha-neon-glue.c crypto_chacha_init(state, ctx, req->iv); iv 118 arch/arm64/crypto/chacha-neon-glue.c memcpy(&real_iv[0], req->iv + 24, 8); iv 119 arch/arm64/crypto/chacha-neon-glue.c memcpy(&real_iv[8], req->iv + 16, 8); iv 424 arch/arm64/crypto/ghash-ce-glue.c u8 iv[AES_BLOCK_SIZE]; iv 434 arch/arm64/crypto/ghash-ce-glue.c memcpy(iv, req->iv, GCM_IV_SIZE); iv 435 arch/arm64/crypto/ghash-ce-glue.c put_unaligned_be32(1, iv + GCM_IV_SIZE); iv 443 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_encrypt_block(tag, iv, ctx->aes_key.key_enc, nrounds); iv 444 arch/arm64/crypto/ghash-ce-glue.c put_unaligned_be32(2, iv + GCM_IV_SIZE); iv 445 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_encrypt_block(ks, iv, NULL, nrounds); iv 446 arch/arm64/crypto/ghash-ce-glue.c put_unaligned_be32(3, iv + GCM_IV_SIZE); iv 447 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_encrypt_block(ks + AES_BLOCK_SIZE, iv, NULL, nrounds); iv 448 arch/arm64/crypto/ghash-ce-glue.c put_unaligned_be32(4, iv + GCM_IV_SIZE); iv 458 arch/arm64/crypto/ghash-ce-glue.c iv, rk, nrounds, ks); iv 467 arch/arm64/crypto/ghash-ce-glue.c aes_encrypt(&ctx->aes_key, tag, iv); iv 468 arch/arm64/crypto/ghash-ce-glue.c put_unaligned_be32(2, iv + GCM_IV_SIZE); iv 478 arch/arm64/crypto/ghash-ce-glue.c aes_encrypt(&ctx->aes_key, ks, iv); iv 480 arch/arm64/crypto/ghash-ce-glue.c crypto_inc(iv, AES_BLOCK_SIZE); iv 494 arch/arm64/crypto/ghash-ce-glue.c aes_encrypt(&ctx->aes_key, ks, iv); iv 496 arch/arm64/crypto/ghash-ce-glue.c crypto_inc(iv, AES_BLOCK_SIZE); iv 497 arch/arm64/crypto/ghash-ce-glue.c aes_encrypt(&ctx->aes_key, ks + AES_BLOCK_SIZE, iv); iv 544 arch/arm64/crypto/ghash-ce-glue.c u8 iv[2 * AES_BLOCK_SIZE]; iv 554 arch/arm64/crypto/ghash-ce-glue.c memcpy(iv, req->iv, GCM_IV_SIZE); iv 555 arch/arm64/crypto/ghash-ce-glue.c put_unaligned_be32(1, iv + GCM_IV_SIZE); iv 563 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_encrypt_block(tag, iv, ctx->aes_key.key_enc, nrounds); iv 564 arch/arm64/crypto/ghash-ce-glue.c put_unaligned_be32(2, iv + GCM_IV_SIZE); iv 575 arch/arm64/crypto/ghash-ce-glue.c iv, rk, nrounds); iv 579 arch/arm64/crypto/ghash-ce-glue.c u8 *iv2 = iv + AES_BLOCK_SIZE; iv 582 arch/arm64/crypto/ghash-ce-glue.c memcpy(iv2, iv, AES_BLOCK_SIZE); iv 586 arch/arm64/crypto/ghash-ce-glue.c pmull_gcm_encrypt_block(iv, iv, NULL, nrounds); iv 601 arch/arm64/crypto/ghash-ce-glue.c aes_encrypt(&ctx->aes_key, tag, iv); iv 602 arch/arm64/crypto/ghash-ce-glue.c put_unaligned_be32(2, iv + GCM_IV_SIZE); iv 614 arch/arm64/crypto/ghash-ce-glue.c aes_encrypt(&ctx->aes_key, buf, iv); iv 616 arch/arm64/crypto/ghash-ce-glue.c crypto_inc(iv, AES_BLOCK_SIZE); iv 627 arch/arm64/crypto/ghash-ce-glue.c u8 *iv2 = iv + AES_BLOCK_SIZE; iv 629 arch/arm64/crypto/ghash-ce-glue.c memcpy(iv2, iv, AES_BLOCK_SIZE); iv 634 arch/arm64/crypto/ghash-ce-glue.c aes_encrypt(&ctx->aes_key, iv, iv); iv 655 arch/arm64/crypto/ghash-ce-glue.c crypto_xor_cpy(walk.dst.virt.addr, walk.src.virt.addr, iv, iv 518 arch/ia64/include/asm/pal.h iv : 1, /* instruction set field valid */ iv 555 arch/ia64/include/asm/pal.h iv : 1, /* instruction set field valid */ iv 591 arch/ia64/include/asm/pal.h iv : 1, /* instruction set field valid */ iv 621 arch/ia64/include/asm/pal.h iv : 1, /* instruction set field valid */ iv 651 arch/ia64/include/asm/pal.h iv : 1, /* instruction set field valid */ iv 383 arch/mips/include/asm/octeon/cvmx-pip-defs.h uint64_t iv:32; iv 385 arch/mips/include/asm/octeon/cvmx-pip-defs.h uint64_t iv:32; iv 473 arch/mips/include/asm/octeon/cvmx-pip.h pip_crc_ivx.s.iv = initialization_vector; iv 1504 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t iv:32; iv 1506 arch/mips/include/asm/octeon/cvmx-pko-defs.h uint64_t iv:32; iv 58 arch/powerpc/crypto/aes-spe-glue.c u32 bytes, u8 *iv); iv 60 arch/powerpc/crypto/aes-spe-glue.c u32 bytes, u8 *iv); iv 62 arch/powerpc/crypto/aes-spe-glue.c u32 bytes, u8 *iv); iv 64 arch/powerpc/crypto/aes-spe-glue.c u32 bytes, u8 *iv, u32 *key_twk); iv 66 arch/powerpc/crypto/aes-spe-glue.c u32 bytes, u8 *iv, u32 *key_twk); iv 256 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, nbytes, walk.iv); iv 284 arch/powerpc/crypto/aes-spe-glue.c ctx->key_dec, ctx->rounds, nbytes, walk.iv); iv 313 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, pbytes , walk.iv); iv 344 arch/powerpc/crypto/aes-spe-glue.c ctx->key_enc, ctx->rounds, nbytes, walk.iv, twk); iv 375 arch/powerpc/crypto/aes-spe-glue.c ctx->key_dec, ctx->rounds, nbytes, walk.iv, twk); iv 380 arch/s390/crypto/aes_s390.c u8 iv[AES_BLOCK_SIZE]; iv 385 arch/s390/crypto/aes_s390.c memcpy(param.iv, walk->iv, AES_BLOCK_SIZE); iv 394 arch/s390/crypto/aes_s390.c memcpy(walk->iv, param.iv, AES_BLOCK_SIZE); iv 565 arch/s390/crypto/aes_s390.c memcpy(pcc_param.tweak, walk->iv, sizeof(pcc_param.tweak)); iv 684 arch/s390/crypto/aes_s390.c static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) iv 689 arch/s390/crypto/aes_s390.c memcpy(ctrptr, iv, AES_BLOCK_SIZE); iv 713 arch/s390/crypto/aes_s390.c n = __ctrblk_init(ctrblk, walk->iv, nbytes); iv 714 arch/s390/crypto/aes_s390.c ctrptr = (n > AES_BLOCK_SIZE) ? ctrblk : walk->iv; iv 719 arch/s390/crypto/aes_s390.c memcpy(walk->iv, ctrptr + n - AES_BLOCK_SIZE, iv 721 arch/s390/crypto/aes_s390.c crypto_inc(walk->iv, AES_BLOCK_SIZE); iv 732 arch/s390/crypto/aes_s390.c AES_BLOCK_SIZE, walk->iv); iv 734 arch/s390/crypto/aes_s390.c crypto_inc(walk->iv, AES_BLOCK_SIZE); iv 1031 arch/s390/crypto/aes_s390.c memcpy(param.j0, req->iv, ivsize); iv 30 arch/s390/crypto/des_s390.c u8 iv[DES_BLOCK_SIZE]; iv 107 arch/s390/crypto/des_s390.c u8 iv[DES_BLOCK_SIZE]; iv 112 arch/s390/crypto/des_s390.c memcpy(param.iv, walk->iv, DES_BLOCK_SIZE); iv 121 arch/s390/crypto/des_s390.c memcpy(walk->iv, param.iv, DES_BLOCK_SIZE); iv 352 arch/s390/crypto/des_s390.c static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) iv 358 arch/s390/crypto/des_s390.c memcpy(ctrptr, iv, DES_BLOCK_SIZE); iv 381 arch/s390/crypto/des_s390.c n = __ctrblk_init(ctrblk, walk->iv, nbytes); iv 382 arch/s390/crypto/des_s390.c ctrptr = (n > DES_BLOCK_SIZE) ? ctrblk : walk->iv; iv 386 arch/s390/crypto/des_s390.c memcpy(walk->iv, ctrptr + n - DES_BLOCK_SIZE, iv 388 arch/s390/crypto/des_s390.c crypto_inc(walk->iv, DES_BLOCK_SIZE); iv 396 arch/s390/crypto/des_s390.c DES_BLOCK_SIZE, walk->iv); iv 398 arch/s390/crypto/des_s390.c crypto_inc(walk->iv, DES_BLOCK_SIZE); iv 286 arch/s390/crypto/paes_s390.c u8 iv[AES_BLOCK_SIZE]; iv 291 arch/s390/crypto/paes_s390.c memcpy(param.iv, walk->iv, AES_BLOCK_SIZE); iv 306 arch/s390/crypto/paes_s390.c memcpy(walk->iv, param.iv, AES_BLOCK_SIZE); iv 456 arch/s390/crypto/paes_s390.c memcpy(pcc_param.tweak, walk->iv, sizeof(pcc_param.tweak)); iv 576 arch/s390/crypto/paes_s390.c static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) iv 581 arch/s390/crypto/paes_s390.c memcpy(ctrptr, iv, AES_BLOCK_SIZE); iv 605 arch/s390/crypto/paes_s390.c n = __ctrblk_init(ctrblk, walk->iv, nbytes); iv 606 arch/s390/crypto/paes_s390.c ctrptr = (n > AES_BLOCK_SIZE) ? ctrblk : walk->iv; iv 612 arch/s390/crypto/paes_s390.c memcpy(walk->iv, ctrptr + k - AES_BLOCK_SIZE, iv 614 arch/s390/crypto/paes_s390.c crypto_inc(walk->iv, AES_BLOCK_SIZE); iv 635 arch/s390/crypto/paes_s390.c walk->iv) == AES_BLOCK_SIZE) iv 641 arch/s390/crypto/paes_s390.c crypto_inc(walk->iv, AES_BLOCK_SIZE); iv 51 arch/s390/include/asm/airq.h void airq_iv_release(struct airq_iv *iv); iv 52 arch/s390/include/asm/airq.h unsigned long airq_iv_alloc(struct airq_iv *iv, unsigned long num); iv 53 arch/s390/include/asm/airq.h void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num); iv 54 arch/s390/include/asm/airq.h unsigned long airq_iv_scan(struct airq_iv *iv, unsigned long start, iv 57 arch/s390/include/asm/airq.h static inline unsigned long airq_iv_alloc_bit(struct airq_iv *iv) iv 59 arch/s390/include/asm/airq.h return airq_iv_alloc(iv, 1); iv 62 arch/s390/include/asm/airq.h static inline void airq_iv_free_bit(struct airq_iv *iv, unsigned long bit) iv 64 arch/s390/include/asm/airq.h airq_iv_free(iv, bit, 1); iv 67 arch/s390/include/asm/airq.h static inline unsigned long airq_iv_end(struct airq_iv *iv) iv 69 arch/s390/include/asm/airq.h return iv->end; iv 72 arch/s390/include/asm/airq.h static inline void airq_iv_lock(struct airq_iv *iv, unsigned long bit) iv 75 arch/s390/include/asm/airq.h bit_spin_lock(bit ^ be_to_le, iv->bitlock); iv 78 arch/s390/include/asm/airq.h static inline void airq_iv_unlock(struct airq_iv *iv, unsigned long bit) iv 81 arch/s390/include/asm/airq.h bit_spin_unlock(bit ^ be_to_le, iv->bitlock); iv 84 arch/s390/include/asm/airq.h static inline void airq_iv_set_data(struct airq_iv *iv, unsigned long bit, iv 87 arch/s390/include/asm/airq.h iv->data[bit] = data; iv 90 arch/s390/include/asm/airq.h static inline unsigned int airq_iv_get_data(struct airq_iv *iv, iv 93 arch/s390/include/asm/airq.h return iv->data[bit]; iv 96 arch/s390/include/asm/airq.h static inline void airq_iv_set_ptr(struct airq_iv *iv, unsigned long bit, iv 99 arch/s390/include/asm/airq.h iv->ptr[bit] = ptr; iv 102 arch/s390/include/asm/airq.h static inline unsigned long airq_iv_get_ptr(struct airq_iv *iv, iv 105 arch/s390/include/asm/airq.h return iv->ptr[bit]; iv 44 arch/sparc/crypto/aes_glue.c unsigned int len, u64 *iv); iv 46 arch/sparc/crypto/aes_glue.c unsigned int len, u64 *iv); iv 48 arch/sparc/crypto/aes_glue.c unsigned int len, u64 *iv); iv 96 arch/sparc/crypto/aes_glue.c u64 *iv); iv 100 arch/sparc/crypto/aes_glue.c u64 *iv); iv 104 arch/sparc/crypto/aes_glue.c u64 *iv); iv 108 arch/sparc/crypto/aes_glue.c u64 *iv); iv 112 arch/sparc/crypto/aes_glue.c u64 *iv); iv 116 arch/sparc/crypto/aes_glue.c u64 *iv); iv 120 arch/sparc/crypto/aes_glue.c u64 *iv); iv 123 arch/sparc/crypto/aes_glue.c u64 *iv); iv 126 arch/sparc/crypto/aes_glue.c u64 *iv); iv 296 arch/sparc/crypto/aes_glue.c block_len, (u64 *) walk.iv); iv 327 arch/sparc/crypto/aes_glue.c block_len, (u64 *) walk.iv); iv 340 arch/sparc/crypto/aes_glue.c u8 *ctrblk = walk->iv; iv 372 arch/sparc/crypto/aes_glue.c block_len, (u64 *) walk.iv); iv 142 arch/sparc/crypto/camellia_glue.c const u64 *key, u64 *iv); iv 179 arch/sparc/crypto/camellia_glue.c (u64 *) walk.iv); iv 218 arch/sparc/crypto/camellia_glue.c (u64 *) walk.iv); iv 136 arch/sparc/crypto/des_glue.c unsigned int len, u64 *iv); iv 157 arch/sparc/crypto/des_glue.c block_len, (u64 *) walk.iv); iv 167 arch/sparc/crypto/des_glue.c unsigned int len, u64 *iv); iv 188 arch/sparc/crypto/des_glue.c block_len, (u64 *) walk.iv); iv 304 arch/sparc/crypto/des_glue.c u64 *iv); iv 329 arch/sparc/crypto/des_glue.c (u64 *) walk.iv); iv 340 arch/sparc/crypto/des_glue.c u64 *iv); iv 365 arch/sparc/crypto/des_glue.c (u64 *) walk.iv); iv 26 arch/x86/crypto/aegis128-aesni-glue.c asmlinkage void crypto_aegis128_aesni_init(void *state, void *key, void *iv); iv 181 arch/x86/crypto/aegis128-aesni-glue.c crypto_aegis128_aesni_init(&state, ctx->key.bytes, req->iv); iv 95 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv); iv 97 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv); iv 105 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv); iv 107 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv); iv 110 arch/x86/crypto/aesni-intel_glue.c const u8 *in, bool enc, u8 *iv); iv 129 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len, u8 *iv, iv 151 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long ciphertext_len, u8 *iv, iv 158 arch/x86/crypto/aesni-intel_glue.c u8 *iv, iv 173 arch/x86/crypto/aesni-intel_glue.c void (*init)(void *ctx, struct gcm_context_data *gdata, u8 *iv, iv 191 arch/x86/crypto/aesni-intel_glue.c asmlinkage void aes_ctr_enc_128_avx_by8(const u8 *in, u8 *iv, iv 193 arch/x86/crypto/aesni-intel_glue.c asmlinkage void aes_ctr_enc_192_avx_by8(const u8 *in, u8 *iv, iv 195 arch/x86/crypto/aesni-intel_glue.c asmlinkage void aes_ctr_enc_256_avx_by8(const u8 *in, u8 *iv, iv 204 arch/x86/crypto/aesni-intel_glue.c u8 *iv, iv 222 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len, u8 *iv, iv 228 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long ciphertext_len, u8 *iv, iv 249 arch/x86/crypto/aesni-intel_glue.c u8 *iv, iv 267 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long plaintext_len, u8 *iv, iv 273 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned long ciphertext_len, u8 *iv, iv 437 arch/x86/crypto/aesni-intel_glue.c nbytes & AES_BLOCK_MASK, walk.iv); iv 459 arch/x86/crypto/aesni-intel_glue.c nbytes & AES_BLOCK_MASK, walk.iv); iv 472 arch/x86/crypto/aesni-intel_glue.c u8 *ctrblk = walk->iv; iv 486 arch/x86/crypto/aesni-intel_glue.c const u8 *in, unsigned int len, u8 *iv) iv 495 arch/x86/crypto/aesni-intel_glue.c aes_ctr_enc_128_avx_by8(in, iv, (void *)ctx, out, len); iv 497 arch/x86/crypto/aesni-intel_glue.c aes_ctr_enc_192_avx_by8(in, iv, (void *)ctx, out, len); iv 499 arch/x86/crypto/aesni-intel_glue.c aes_ctr_enc_256_avx_by8(in, iv, (void *)ctx, out, len); iv 516 arch/x86/crypto/aesni-intel_glue.c nbytes & AES_BLOCK_MASK, walk.iv); iv 558 arch/x86/crypto/aesni-intel_glue.c static void aesni_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 560 arch/x86/crypto/aesni-intel_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, GLUE_FUNC_CAST(aesni_enc)); iv 563 arch/x86/crypto/aesni-intel_glue.c static void aesni_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 565 arch/x86/crypto/aesni-intel_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, GLUE_FUNC_CAST(aesni_dec)); iv 568 arch/x86/crypto/aesni-intel_glue.c static void aesni_xts_enc8(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 570 arch/x86/crypto/aesni-intel_glue.c aesni_xts_crypt8(ctx, (u8 *)dst, (const u8 *)src, true, (u8 *)iv); iv 573 arch/x86/crypto/aesni-intel_glue.c static void aesni_xts_dec8(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 575 arch/x86/crypto/aesni-intel_glue.c aesni_xts_crypt8(ctx, (u8 *)dst, (const u8 *)src, false, (u8 *)iv); iv 705 arch/x86/crypto/aesni-intel_glue.c u8 *iv, void *aes_ctx) iv 763 arch/x86/crypto/aesni-intel_glue.c gcm_tfm->init(aes_ctx, &data, iv, iv 838 arch/x86/crypto/aesni-intel_glue.c u8 *hash_subkey, u8 *iv, void *aes_ctx) iv 840 arch/x86/crypto/aesni-intel_glue.c return gcmaes_crypt_by_sg(true, req, assoclen, hash_subkey, iv, iv 845 arch/x86/crypto/aesni-intel_glue.c u8 *hash_subkey, u8 *iv, void *aes_ctx) iv 847 arch/x86/crypto/aesni-intel_glue.c return gcmaes_crypt_by_sg(false, req, assoclen, hash_subkey, iv, iv 856 arch/x86/crypto/aesni-intel_glue.c u8 iv[16] __attribute__ ((__aligned__(AESNI_ALIGN))); iv 868 arch/x86/crypto/aesni-intel_glue.c *(iv+i) = ctx->nonce[i]; iv 870 arch/x86/crypto/aesni-intel_glue.c *(iv+4+i) = req->iv[i]; iv 871 arch/x86/crypto/aesni-intel_glue.c *((__be32 *)(iv+12)) = counter; iv 873 arch/x86/crypto/aesni-intel_glue.c return gcmaes_encrypt(req, req->assoclen - 8, ctx->hash_subkey, iv, iv 883 arch/x86/crypto/aesni-intel_glue.c u8 iv[16] __attribute__ ((__aligned__(AESNI_ALIGN))); iv 895 arch/x86/crypto/aesni-intel_glue.c *(iv+i) = ctx->nonce[i]; iv 897 arch/x86/crypto/aesni-intel_glue.c *(iv+4+i) = req->iv[i]; iv 898 arch/x86/crypto/aesni-intel_glue.c *((__be32 *)(iv+12)) = counter; iv 900 arch/x86/crypto/aesni-intel_glue.c return gcmaes_decrypt(req, req->assoclen - 8, ctx->hash_subkey, iv, iv 1013 arch/x86/crypto/aesni-intel_glue.c u8 iv[16] __attribute__ ((__aligned__(AESNI_ALIGN))); iv 1016 arch/x86/crypto/aesni-intel_glue.c memcpy(iv, req->iv, 12); iv 1017 arch/x86/crypto/aesni-intel_glue.c *((__be32 *)(iv+12)) = counter; iv 1019 arch/x86/crypto/aesni-intel_glue.c return gcmaes_encrypt(req, req->assoclen, ctx->hash_subkey, iv, iv 1029 arch/x86/crypto/aesni-intel_glue.c u8 iv[16] __attribute__ ((__aligned__(AESNI_ALIGN))); iv 1031 arch/x86/crypto/aesni-intel_glue.c memcpy(iv, req->iv, 12); iv 1032 arch/x86/crypto/aesni-intel_glue.c *((__be32 *)(iv+12)) = counter; iv 1034 arch/x86/crypto/aesni-intel_glue.c return gcmaes_decrypt(req, req->assoclen, ctx->hash_subkey, iv, iv 135 arch/x86/crypto/blowfish_glue.c u64 *iv = (u64 *)walk->iv; iv 138 arch/x86/crypto/blowfish_glue.c *dst = *src ^ *iv; iv 140 arch/x86/crypto/blowfish_glue.c iv = dst; iv 147 arch/x86/crypto/blowfish_glue.c *(u64 *)walk->iv = *iv; iv 226 arch/x86/crypto/blowfish_glue.c *dst ^= *(u64 *)walk->iv; iv 227 arch/x86/crypto/blowfish_glue.c *(u64 *)walk->iv = last_iv; iv 252 arch/x86/crypto/blowfish_glue.c u8 *ctrblk = walk->iv; iv 270 arch/x86/crypto/blowfish_glue.c u64 ctrblk = be64_to_cpu(*(__be64 *)walk->iv); iv 314 arch/x86/crypto/blowfish_glue.c *(__be64 *)walk->iv = cpu_to_be64(ctrblk); iv 30 arch/x86/crypto/camellia_aesni_avx2_glue.c const u8 *src, le128 *iv); iv 33 arch/x86/crypto/camellia_aesni_avx2_glue.c const u8 *src, le128 *iv); iv 35 arch/x86/crypto/camellia_aesni_avx2_glue.c const u8 *src, le128 *iv); iv 34 arch/x86/crypto/camellia_aesni_avx_glue.c const u8 *src, le128 *iv); iv 38 arch/x86/crypto/camellia_aesni_avx_glue.c const u8 *src, le128 *iv); iv 42 arch/x86/crypto/camellia_aesni_avx_glue.c const u8 *src, le128 *iv); iv 45 arch/x86/crypto/camellia_aesni_avx_glue.c void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 47 arch/x86/crypto/camellia_aesni_avx_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, iv 52 arch/x86/crypto/camellia_aesni_avx_glue.c void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 54 arch/x86/crypto/camellia_aesni_avx_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, iv 1272 arch/x86/crypto/camellia_glue.c u128 iv = *src; iv 1276 arch/x86/crypto/camellia_glue.c u128_xor(&dst[1], &dst[1], &iv); iv 1280 arch/x86/crypto/camellia_glue.c void camellia_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 1287 arch/x86/crypto/camellia_glue.c le128_to_be128(&ctrblk, iv); iv 1288 arch/x86/crypto/camellia_glue.c le128_inc(iv); iv 1294 arch/x86/crypto/camellia_glue.c void camellia_crypt_ctr_2way(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 1303 arch/x86/crypto/camellia_glue.c le128_to_be128(&ctrblks[0], iv); iv 1304 arch/x86/crypto/camellia_glue.c le128_inc(iv); iv 1305 arch/x86/crypto/camellia_glue.c le128_to_be128(&ctrblks[1], iv); iv 1306 arch/x86/crypto/camellia_glue.c le128_inc(iv); iv 27 arch/x86/crypto/cast5_avx_glue.c __be64 *iv); iv 124 arch/x86/crypto/cast5_avx_glue.c u64 *iv = (u64 *)walk.iv; iv 127 arch/x86/crypto/cast5_avx_glue.c *dst = *src ^ *iv; iv 129 arch/x86/crypto/cast5_avx_glue.c iv = dst; iv 135 arch/x86/crypto/cast5_avx_glue.c *(u64 *)walk.iv = *iv; iv 190 arch/x86/crypto/cast5_avx_glue.c *dst ^= *(u64 *)walk->iv; iv 191 arch/x86/crypto/cast5_avx_glue.c *(u64 *)walk->iv = last_iv; iv 219 arch/x86/crypto/cast5_avx_glue.c u8 *ctrblk = walk->iv; iv 243 arch/x86/crypto/cast5_avx_glue.c (__be64 *)walk->iv); iv 261 arch/x86/crypto/cast5_avx_glue.c ctrblk = *(u64 *)walk->iv; iv 262 arch/x86/crypto/cast5_avx_glue.c be64_add_cpu((__be64 *)walk->iv, 1); iv 31 arch/x86/crypto/cast6_avx_glue.c le128 *iv); iv 34 arch/x86/crypto/cast6_avx_glue.c const u8 *src, le128 *iv); iv 36 arch/x86/crypto/cast6_avx_glue.c const u8 *src, le128 *iv); iv 44 arch/x86/crypto/cast6_avx_glue.c static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 46 arch/x86/crypto/cast6_avx_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, iv 50 arch/x86/crypto/cast6_avx_glue.c static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 52 arch/x86/crypto/cast6_avx_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, iv 56 arch/x86/crypto/cast6_avx_glue.c static void cast6_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 60 arch/x86/crypto/cast6_avx_glue.c le128_to_be128(&ctrblk, iv); iv 61 arch/x86/crypto/cast6_avx_glue.c le128_inc(iv); iv 127 arch/x86/crypto/chacha_glue.c const struct chacha_ctx *ctx, const u8 *iv) iv 136 arch/x86/crypto/chacha_glue.c crypto_chacha_init(state, ctx, iv); iv 177 arch/x86/crypto/chacha_glue.c err = chacha_simd_stream_xor(&walk, ctx, req->iv); iv 201 arch/x86/crypto/chacha_glue.c crypto_chacha_init(state, ctx, req->iv); iv 208 arch/x86/crypto/chacha_glue.c memcpy(&real_iv[0], req->iv + 24, 8); iv 209 arch/x86/crypto/chacha_glue.c memcpy(&real_iv[8], req->iv + 16, 8); iv 143 arch/x86/crypto/des3_ede_glue.c u64 *iv = (u64 *)walk->iv; iv 146 arch/x86/crypto/des3_ede_glue.c *dst = *src ^ *iv; iv 148 arch/x86/crypto/des3_ede_glue.c iv = dst; iv 155 arch/x86/crypto/des3_ede_glue.c *(u64 *)walk->iv = *iv; iv 232 arch/x86/crypto/des3_ede_glue.c *dst ^= *(u64 *)walk->iv; iv 233 arch/x86/crypto/des3_ede_glue.c *(u64 *)walk->iv = last_iv; iv 259 arch/x86/crypto/des3_ede_glue.c u8 *ctrblk = walk->iv; iv 278 arch/x86/crypto/des3_ede_glue.c u64 ctrblk = be64_to_cpu(*(__be64 *)walk->iv); iv 317 arch/x86/crypto/des3_ede_glue.c *(__be64 *)walk->iv = cpu_to_be64(ctrblk); iv 80 arch/x86/crypto/glue_helper.c u128 *iv = (u128 *)walk.iv; iv 83 arch/x86/crypto/glue_helper.c u128_xor(dst, src, iv); iv 85 arch/x86/crypto/glue_helper.c iv = dst; iv 91 arch/x86/crypto/glue_helper.c *(u128 *)walk.iv = *iv; iv 148 arch/x86/crypto/glue_helper.c u128_xor(dst, dst, (u128 *)walk.iv); iv 149 arch/x86/crypto/glue_helper.c *(u128 *)walk.iv = last_iv; iv 180 arch/x86/crypto/glue_helper.c be128_to_le128(&ctrblk, (be128 *)walk.iv); iv 201 arch/x86/crypto/glue_helper.c le128_to_be128((be128 *)walk.iv, &ctrblk); iv 211 arch/x86/crypto/glue_helper.c be128_to_le128(&ctrblk, (be128 *)walk.iv); iv 216 arch/x86/crypto/glue_helper.c le128_to_be128((be128 *)walk.iv, &ctrblk); iv 244 arch/x86/crypto/glue_helper.c walk->iv); iv 286 arch/x86/crypto/glue_helper.c req->cryptlen - tail, req->iv); iv 301 arch/x86/crypto/glue_helper.c tweak_fn(tweak_ctx, walk.iv, walk.iv); iv 311 arch/x86/crypto/glue_helper.c u8 *next_tweak, *final_tweak = req->iv; iv 321 arch/x86/crypto/glue_helper.c next_tweak = memcpy(b, req->iv, XTS_BLOCK_SIZE); iv 324 arch/x86/crypto/glue_helper.c next_tweak = req->iv; iv 357 arch/x86/crypto/glue_helper.c void glue_xts_crypt_128bit_one(void *ctx, u128 *dst, const u128 *src, le128 *iv, iv 360 arch/x86/crypto/glue_helper.c le128 ivblk = *iv; iv 363 arch/x86/crypto/glue_helper.c gf128mul_x_ble(iv, &ivblk); iv 29 arch/x86/crypto/serpent_avx2_glue.c le128 *iv); iv 31 arch/x86/crypto/serpent_avx2_glue.c const u8 *src, le128 *iv); iv 33 arch/x86/crypto/serpent_avx2_glue.c const u8 *src, le128 *iv); iv 36 arch/x86/crypto/serpent_avx_glue.c const u8 *src, le128 *iv); iv 40 arch/x86/crypto/serpent_avx_glue.c const u8 *src, le128 *iv); iv 44 arch/x86/crypto/serpent_avx_glue.c const u8 *src, le128 *iv); iv 47 arch/x86/crypto/serpent_avx_glue.c void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 51 arch/x86/crypto/serpent_avx_glue.c le128_to_be128(&ctrblk, iv); iv 52 arch/x86/crypto/serpent_avx_glue.c le128_inc(iv); iv 59 arch/x86/crypto/serpent_avx_glue.c void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 61 arch/x86/crypto/serpent_avx_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, iv 66 arch/x86/crypto/serpent_avx_glue.c void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 68 arch/x86/crypto/serpent_avx_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, iv 48 arch/x86/crypto/serpent_sse2_glue.c static void serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 52 arch/x86/crypto/serpent_sse2_glue.c le128_to_be128(&ctrblk, iv); iv 53 arch/x86/crypto/serpent_sse2_glue.c le128_inc(iv); iv 60 arch/x86/crypto/serpent_sse2_glue.c le128 *iv) iv 69 arch/x86/crypto/serpent_sse2_glue.c le128_to_be128(&ctrblks[i], iv); iv 70 arch/x86/crypto/serpent_sse2_glue.c le128_inc(iv); iv 33 arch/x86/crypto/twofish_avx_glue.c const u8 *src, le128 *iv); iv 36 arch/x86/crypto/twofish_avx_glue.c const u8 *src, le128 *iv); iv 38 arch/x86/crypto/twofish_avx_glue.c const u8 *src, le128 *iv); iv 52 arch/x86/crypto/twofish_avx_glue.c static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 54 arch/x86/crypto/twofish_avx_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, iv 58 arch/x86/crypto/twofish_avx_glue.c static void twofish_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 60 arch/x86/crypto/twofish_avx_glue.c glue_xts_crypt_128bit_one(ctx, dst, src, iv, iv 54 arch/x86/crypto/twofish_glue_3way.c void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) iv 61 arch/x86/crypto/twofish_glue_3way.c le128_to_be128(&ctrblk, iv); iv 62 arch/x86/crypto/twofish_glue_3way.c le128_inc(iv); iv 70 arch/x86/crypto/twofish_glue_3way.c le128 *iv) iv 80 arch/x86/crypto/twofish_glue_3way.c le128_to_be128(&ctrblks[0], iv); iv 81 arch/x86/crypto/twofish_glue_3way.c le128_inc(iv); iv 82 arch/x86/crypto/twofish_glue_3way.c le128_to_be128(&ctrblks[1], iv); iv 83 arch/x86/crypto/twofish_glue_3way.c le128_inc(iv); iv 84 arch/x86/crypto/twofish_glue_3way.c le128_to_be128(&ctrblks[2], iv); iv 85 arch/x86/crypto/twofish_glue_3way.c le128_inc(iv); iv 55 arch/x86/include/asm/crypto/camellia.h const u8 *src, le128 *iv); iv 58 arch/x86/include/asm/crypto/camellia.h const u8 *src, le128 *iv); iv 60 arch/x86/include/asm/crypto/camellia.h const u8 *src, le128 *iv); iv 89 arch/x86/include/asm/crypto/camellia.h le128 *iv); iv 91 arch/x86/include/asm/crypto/camellia.h le128 *iv); iv 93 arch/x86/include/asm/crypto/camellia.h extern void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv); iv 94 arch/x86/include/asm/crypto/camellia.h extern void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv); iv 17 arch/x86/include/asm/crypto/glue_helper.h le128 *iv); iv 19 arch/x86/include/asm/crypto/glue_helper.h le128 *iv); iv 120 arch/x86/include/asm/crypto/glue_helper.h le128 *iv, common_glue_func_t fn); iv 26 arch/x86/include/asm/crypto/serpent-avx.h const u8 *src, le128 *iv); iv 29 arch/x86/include/asm/crypto/serpent-avx.h const u8 *src, le128 *iv); iv 31 arch/x86/include/asm/crypto/serpent-avx.h const u8 *src, le128 *iv); iv 34 arch/x86/include/asm/crypto/serpent-avx.h le128 *iv); iv 36 arch/x86/include/asm/crypto/serpent-avx.h extern void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv); iv 37 arch/x86/include/asm/crypto/serpent-avx.h extern void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv); iv 24 arch/x86/include/asm/crypto/twofish.h le128 *iv); iv 26 arch/x86/include/asm/crypto/twofish.h le128 *iv); iv 1417 arch/x86/kernel/cpu/mce/core.c unsigned long iv; iv 1421 arch/x86/kernel/cpu/mce/core.c iv = __this_cpu_read(mce_next_interval); iv 1427 arch/x86/kernel/cpu/mce/core.c iv = mce_adjust_timer(iv); iv 1437 arch/x86/kernel/cpu/mce/core.c iv = max(iv / 2, (unsigned long) HZ/100); iv 1439 arch/x86/kernel/cpu/mce/core.c iv = min(iv * 2, round_jiffies_relative(check_interval * HZ)); iv 1442 arch/x86/kernel/cpu/mce/core.c __this_cpu_write(mce_next_interval, iv); iv 1443 arch/x86/kernel/cpu/mce/core.c __start_timer(t, iv); iv 1452 arch/x86/kernel/cpu/mce/core.c unsigned long iv = __this_cpu_read(mce_next_interval); iv 1456 arch/x86/kernel/cpu/mce/core.c if (interval < iv) iv 1809 arch/x86/kernel/cpu/mce/core.c unsigned long iv = check_interval * HZ; iv 1811 arch/x86/kernel/cpu/mce/core.c if (mca_cfg.ignore_ce || !iv) iv 1814 arch/x86/kernel/cpu/mce/core.c this_cpu_write(mce_next_interval, iv); iv 1815 arch/x86/kernel/cpu/mce/core.c __start_timer(t, iv); iv 124 block/bio-integrity.c struct bio_vec *iv; iv 131 block/bio-integrity.c iv = bip->bip_vec + bip->bip_vcnt; iv 138 block/bio-integrity.c iv->bv_page = page; iv 139 block/bio-integrity.c iv->bv_len = len; iv 140 block/bio-integrity.c iv->bv_offset = offset; iv 29 block/blk-integrity.c struct bio_vec iv, ivprv = { NULL }; iv 35 block/blk-integrity.c bio_for_each_integrity_vec(iv, bio, iter) { iv 38 block/blk-integrity.c if (!biovec_phys_mergeable(q, &ivprv, &iv)) iv 40 block/blk-integrity.c if (seg_size + iv.bv_len > queue_max_segment_size(q)) iv 43 block/blk-integrity.c seg_size += iv.bv_len; iv 47 block/blk-integrity.c seg_size = iv.bv_len; iv 51 block/blk-integrity.c ivprv = iv; iv 71 block/blk-integrity.c struct bio_vec iv, ivprv = { NULL }; iv 77 block/blk-integrity.c bio_for_each_integrity_vec(iv, bio, iter) { iv 80 block/blk-integrity.c if (!biovec_phys_mergeable(q, &ivprv, &iv)) iv 82 block/blk-integrity.c if (sg->length + iv.bv_len > queue_max_segment_size(q)) iv 85 block/blk-integrity.c sg->length += iv.bv_len; iv 95 block/blk-integrity.c sg_set_page(sg, iv.bv_page, iv.bv_len, iv.bv_offset); iv 100 block/blk-integrity.c ivprv = iv; iv 141 block/t10-pi.c struct bio_vec iv; iv 148 block/t10-pi.c bip_for_each_vec(iv, bip, iter) { iv 152 block/t10-pi.c pmap = kmap_atomic(iv.bv_page); iv 153 block/t10-pi.c p = pmap + iv.bv_offset; iv 154 block/t10-pi.c for (j = 0; j < iv.bv_len; j += tuple_sz) { iv 193 block/t10-pi.c struct bio_vec iv; iv 196 block/t10-pi.c bip_for_each_vec(iv, bip, iter) { iv 200 block/t10-pi.c pmap = kmap_atomic(iv.bv_page); iv 201 block/t10-pi.c p = pmap + iv.bv_offset; iv 202 block/t10-pi.c for (j = 0; j < iv.bv_len && intervals; j += tuple_sz) { iv 130 crypto/ablkcipher.c if (walk->iv != req->info) iv 131 crypto/ablkcipher.c memcpy(req->info, walk->iv, tfm->crt_ablkcipher.ivsize); iv 186 crypto/ablkcipher.c u8 *iv; iv 193 crypto/ablkcipher.c iv = (u8 *)ALIGN((unsigned long)walk->iv_buffer, alignmask + 1); iv 194 crypto/ablkcipher.c iv = ablkcipher_get_spot(iv, bs) + aligned_bs; iv 195 crypto/ablkcipher.c iv = ablkcipher_get_spot(iv, bs) + aligned_bs; iv 196 crypto/ablkcipher.c iv = ablkcipher_get_spot(iv, ivsize); iv 198 crypto/ablkcipher.c walk->iv = memcpy(iv, walk->iv, ivsize); iv 268 crypto/ablkcipher.c walk->iv = req->info; iv 274 crypto/ablkcipher.c if (unlikely(((unsigned long)walk->iv & alignmask))) { iv 122 crypto/adiantum.c u8 iv[XCHACHA_IV_SIZE]; iv 148 crypto/adiantum.c data->iv[0] = 1; iv 156 crypto/adiantum.c sizeof(data->derived_keys), data->iv); iv 248 crypto/adiantum.c poly1305_core_blocks(&state, &tctx->header_hash_key, req->iv, iv 112 crypto/aegis128-core.c const u8 *iv) iv 118 crypto/aegis128-core.c crypto_xor(key_iv.bytes, iv, AEGIS_BLOCK_SIZE); iv 402 crypto/aegis128-core.c crypto_aegis128_init(&state, &ctx->key, req->iv); iv 452 crypto/af_alg.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(*con->iv))) iv 454 crypto/af_alg.c con->iv = (void *)CMSG_DATA(cmsg); iv 455 crypto/af_alg.c if (cmsg->cmsg_len < CMSG_LEN(con->iv->ivlen + iv 456 crypto/af_alg.c sizeof(*con->iv))) iv 845 crypto/af_alg.c if (con.iv && con.iv->ivlen != ivsize) iv 857 crypto/af_alg.c if (con.iv) iv 858 crypto/af_alg.c memcpy(ctx->iv, con.iv->iv, ivsize); iv 281 crypto/algif_aead.c areq->first_rsgl.sgl.sg, used, ctx->iv); iv 536 crypto/algif_aead.c sock_kzfree_s(sk, ctx->iv, ivlen); iv 555 crypto/algif_aead.c ctx->iv = sock_kmalloc(sk, ivlen, GFP_KERNEL); iv 556 crypto/algif_aead.c if (!ctx->iv) { iv 560 crypto/algif_aead.c memset(ctx->iv, 0, ivlen); iv 112 crypto/algif_skcipher.c areq->first_rsgl.sgl.sg, len, ctx->iv); iv 328 crypto/algif_skcipher.c sock_kzfree_s(sk, ctx->iv, crypto_skcipher_ivsize(tfm)); iv 344 crypto/algif_skcipher.c ctx->iv = sock_kmalloc(sk, crypto_skcipher_ivsize(tfm), iv 346 crypto/algif_skcipher.c if (!ctx->iv) { iv 351 crypto/algif_skcipher.c memset(ctx->iv, 0, crypto_skcipher_ivsize(tfm)); iv 230 crypto/authenc.c skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); iv 269 crypto/authenc.c req->cryptlen - authsize, req->iv); iv 220 crypto/authencesn.c skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); iv 266 crypto/authencesn.c skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); iv 129 crypto/blkcipher.c if (walk->iv != desc->info) iv 130 crypto/blkcipher.c memcpy(desc->info, walk->iv, walk->ivsize); iv 276 crypto/blkcipher.c u8 *iv; iv 283 crypto/blkcipher.c iv = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); iv 284 crypto/blkcipher.c iv = blkcipher_get_spot(iv, bs) + aligned_bs; iv 285 crypto/blkcipher.c iv = blkcipher_get_spot(iv, bs) + aligned_bs; iv 286 crypto/blkcipher.c iv = blkcipher_get_spot(iv, walk->ivsize); iv 288 crypto/blkcipher.c walk->iv = memcpy(iv, walk->iv, walk->ivsize); iv 322 crypto/blkcipher.c walk->iv = desc->info; iv 328 crypto/blkcipher.c if (unlikely(((unsigned long)walk->iv & walk->alignmask))) { iv 482 crypto/blkcipher.c crt->iv = (void *)addr; iv 139 crypto/ccm.c unsigned int lp = req->iv[0]; iv 145 crypto/ccm.c memcpy(info, req->iv, 16); iv 249 crypto/ccm.c static inline int crypto_ccm_check_iv(const u8 *iv) iv 252 crypto/ccm.c if (1 > iv[0] || iv[0] > 7) iv 262 crypto/ccm.c u8 *iv = req->iv; iv 265 crypto/ccm.c err = crypto_ccm_check_iv(iv); iv 274 crypto/ccm.c memset(iv + 15 - iv[0], 0, iv[0] + 1); iv 302 crypto/ccm.c u8 *iv = req->iv; iv 320 crypto/ccm.c skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); iv 364 crypto/ccm.c u8 *iv = pctx->idata; iv 380 crypto/ccm.c memcpy(iv, req->iv, 16); iv 385 crypto/ccm.c skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); iv 650 crypto/ccm.c u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), iv 654 crypto/ccm.c iv[0] = 3; iv 656 crypto/ccm.c memcpy(iv + 1, ctx->nonce, 3); iv 657 crypto/ccm.c memcpy(iv + 4, req->iv, 8); iv 659 crypto/ccm.c scatterwalk_map_and_copy(iv + 16, req->src, 0, req->assoclen - 8, 0); iv 662 crypto/ccm.c sg_set_buf(rctx->src, iv + 16, req->assoclen - 8); iv 669 crypto/ccm.c sg_set_buf(rctx->dst, iv + 16, req->assoclen - 8); iv 680 crypto/ccm.c req->cryptlen, iv); iv 50 crypto/cfb.c u8 *iv = walk->iv; iv 53 crypto/cfb.c crypto_cfb_encrypt_one(tfm, iv, stream); iv 64 crypto/cfb.c u8 *iv = walk->iv; iv 67 crypto/cfb.c crypto_cfb_encrypt_one(tfm, iv, dst); iv 69 crypto/cfb.c iv = dst; iv 75 crypto/cfb.c memcpy(walk->iv, iv, bsize); iv 86 crypto/cfb.c u8 *iv = walk->iv; iv 90 crypto/cfb.c crypto_cfb_encrypt_one(tfm, iv, tmp); iv 92 crypto/cfb.c iv = src; iv 97 crypto/cfb.c memcpy(walk->iv, iv, bsize); iv 134 crypto/cfb.c u8 *iv = walk->iv; iv 137 crypto/cfb.c crypto_cfb_encrypt_one(tfm, iv, dst); iv 139 crypto/cfb.c iv = src; iv 145 crypto/cfb.c memcpy(walk->iv, iv, bsize); iv 156 crypto/cfb.c u8 * const iv = walk->iv; iv 160 crypto/cfb.c crypto_cfb_encrypt_one(tfm, iv, tmp); iv 161 crypto/cfb.c memcpy(iv, src, bsize); iv 48 crypto/chacha20poly1305.c u8 iv[CHACHA_IV_SIZE]; iv 86 crypto/chacha20poly1305.c static void chacha_iv(u8 *iv, struct aead_request *req, u32 icb) iv 91 crypto/chacha20poly1305.c memcpy(iv, &leicb, sizeof(leicb)); iv 92 crypto/chacha20poly1305.c memcpy(iv + sizeof(leicb), ctx->salt, ctx->saltlen); iv 93 crypto/chacha20poly1305.c memcpy(iv + sizeof(leicb) + ctx->saltlen, req->iv, iv 136 crypto/chacha20poly1305.c chacha_iv(creq->iv, req, 1); iv 147 crypto/chacha20poly1305.c rctx->cryptlen, creq->iv); iv 381 crypto/chacha20poly1305.c chacha_iv(creq->iv, req, 0); iv 387 crypto/chacha20poly1305.c POLY1305_KEY_SIZE, creq->iv); iv 412 crypto/chacha20poly1305.c chacha_iv(creq->iv, req, 1); iv 423 crypto/chacha20poly1305.c req->cryptlen, creq->iv); iv 35 crypto/chacha_generic.c const struct chacha_ctx *ctx, const u8 *iv) iv 43 crypto/chacha_generic.c crypto_chacha_init(state, ctx, iv); iv 59 crypto/chacha_generic.c void crypto_chacha_init(u32 *state, const struct chacha_ctx *ctx, const u8 *iv) iv 73 crypto/chacha_generic.c state[12] = get_unaligned_le32(iv + 0); iv 74 crypto/chacha_generic.c state[13] = get_unaligned_le32(iv + 4); iv 75 crypto/chacha_generic.c state[14] = get_unaligned_le32(iv + 8); iv 76 crypto/chacha_generic.c state[15] = get_unaligned_le32(iv + 12); iv 115 crypto/chacha_generic.c return chacha_stream_xor(req, ctx, req->iv); iv 128 crypto/chacha_generic.c crypto_chacha_init(state, ctx, req->iv); iv 133 crypto/chacha_generic.c memcpy(&real_iv[0], req->iv + 24, 8); /* stream position */ iv 134 crypto/chacha_generic.c memcpy(&real_iv[8], req->iv + 16, 8); /* remaining 64 nonce bits */ iv 300 crypto/cryptd.c req->iv); iv 328 crypto/cryptd.c req->iv); iv 23 crypto/ctr.c u8 iv[CTR_RFC3686_BLOCK_SIZE]; iv 32 crypto/ctr.c u8 *ctrblk = walk->iv; iv 51 crypto/ctr.c u8 *ctrblk = walk->iv; iv 79 crypto/ctr.c u8 *ctrblk = walk->iv; iv 204 crypto/ctr.c u8 *iv = rctx->iv; iv 207 crypto/ctr.c memcpy(iv, ctx->nonce, CTR_RFC3686_NONCE_SIZE); iv 208 crypto/ctr.c memcpy(iv + CTR_RFC3686_NONCE_SIZE, req->iv, CTR_RFC3686_IV_SIZE); iv 211 crypto/ctr.c *(__be32 *)(iv + CTR_RFC3686_NONCE_SIZE + CTR_RFC3686_IV_SIZE) = iv 218 crypto/ctr.c req->cryptlen, iv); iv 128 crypto/cts.c skcipher_request_set_crypt(subreq, sg, sg, bsize, req->iv); iv 167 crypto/cts.c req->iv); iv 177 crypto/cts.c offset, req->iv); iv 262 crypto/cts.c req->iv); iv 275 crypto/cts.c memcpy(space, req->iv, bsize); iv 281 crypto/cts.c offset, req->iv); iv 406 crypto/drbg.c unsigned char *iv = pad + drbg_blocklen(drbg); iv 407 crypto/drbg.c unsigned char *temp = iv + drbg_blocklen(drbg); iv 424 crypto/drbg.c memset(iv, 0, drbg_blocklen(drbg)); iv 454 crypto/drbg.c drbg_string_fill(&S1, iv, drbg_blocklen(drbg)); iv 469 crypto/drbg.c drbg_cpu_to_be32(i, iv); iv 509 crypto/drbg.c memset(iv, 0, drbg_blocklen(drbg)); iv 42 crypto/echainiv.c info = req->iv; iv 104 crypto/echainiv.c req->cryptlen - ivsize, req->iv); iv 107 crypto/echainiv.c scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0); iv 164 crypto/essiv.c crypto_cipher_encrypt_one(tctx->essiv_cipher, req->iv, req->iv); iv 168 crypto/essiv.c req->iv); iv 205 crypto/essiv.c crypto_cipher_encrypt_one(tctx->essiv_cipher, req->iv, req->iv); iv 214 crypto/essiv.c scatterwalk_map_and_copy(req->iv, req->dst, iv 218 crypto/essiv.c u8 *iv = (u8 *)aead_request_ctx(req) + tctx->ivoffset; iv 231 crypto/essiv.c memcpy(iv, req->iv, ivsize); iv 251 crypto/essiv.c sg_set_buf(rctx->sg + 1, iv, ivsize); iv 263 crypto/essiv.c aead_request_set_crypt(subreq, src, req->dst, req->cryptlen, req->iv); iv 65 crypto/gcm.c u8 iv[16]; iv 101 crypto/gcm.c u8 iv[16]; iv 132 crypto/gcm.c sizeof(data->hash), data->iv); iv 165 crypto/gcm.c memcpy(pctx->iv, req->iv, GCM_AES_IV_SIZE); iv 166 crypto/gcm.c memcpy(pctx->iv + GCM_AES_IV_SIZE, &counter, 4); iv 197 crypto/gcm.c pctx->iv); iv 769 crypto/gcm.c u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), iv 772 crypto/gcm.c scatterwalk_map_and_copy(iv + GCM_AES_IV_SIZE, req->src, 0, req->assoclen - 8, 0); iv 774 crypto/gcm.c memcpy(iv, ctx->nonce, 4); iv 775 crypto/gcm.c memcpy(iv + 4, req->iv, 8); iv 778 crypto/gcm.c sg_set_buf(rctx->src, iv + GCM_AES_IV_SIZE, req->assoclen - 8); iv 785 crypto/gcm.c sg_set_buf(rctx->dst, iv + GCM_AES_IV_SIZE, req->assoclen - 8); iv 796 crypto/gcm.c req->cryptlen, iv); iv 995 crypto/gcm.c u8 *iv = PTR_ALIGN((u8 *)(rctx + 1) + crypto_aead_reqsize(ctx->child), iv 1005 crypto/gcm.c memcpy(iv, ctx->nonce, 4); iv 1006 crypto/gcm.c memcpy(iv + 4, req->iv, 8); iv 1012 crypto/gcm.c enc ? 0 : authsize, iv); iv 141 crypto/keywrap.c memcpy(&block.A, req->iv, SEMIBSIZE); iv 256 crypto/keywrap.c memcpy(req->iv, &block.A, SEMIBSIZE); iv 150 crypto/lrw.c __be32 *iv; iv 164 crypto/lrw.c iv = (__be32 *)w.iv; iv 165 crypto/lrw.c counter[0] = be32_to_cpu(iv[3]); iv 166 crypto/lrw.c counter[1] = be32_to_cpu(iv[2]); iv 167 crypto/lrw.c counter[2] = be32_to_cpu(iv[1]); iv 168 crypto/lrw.c counter[3] = be32_to_cpu(iv[0]); iv 187 crypto/lrw.c iv[0] = cpu_to_be32(counter[3]); iv 188 crypto/lrw.c iv[1] = cpu_to_be32(counter[2]); iv 189 crypto/lrw.c iv[2] = cpu_to_be32(counter[1]); iv 190 crypto/lrw.c iv[3] = cpu_to_be32(counter[0]); iv 233 crypto/lrw.c req->cryptlen, req->iv); iv 236 crypto/lrw.c memcpy(&rctx->t, req->iv, sizeof(rctx->t)); iv 30 crypto/ofb.c u8 * const iv = walk.iv; iv 34 crypto/ofb.c crypto_cipher_encrypt_one(cipher, iv, iv); iv 35 crypto/ofb.c crypto_xor_cpy(dst, src, iv, bsize); iv 44 crypto/ofb.c crypto_cipher_encrypt_one(cipher, walk.iv, walk.iv); iv 45 crypto/ofb.c crypto_xor_cpy(walk.dst.virt.addr, walk.src.virt.addr, walk.iv, iv 27 crypto/pcbc.c u8 * const iv = walk->iv; iv 30 crypto/pcbc.c crypto_xor(iv, src, bsize); iv 31 crypto/pcbc.c crypto_cipher_encrypt_one(tfm, dst, iv); iv 32 crypto/pcbc.c crypto_xor_cpy(iv, dst, src, bsize); iv 48 crypto/pcbc.c u8 * const iv = walk->iv; iv 53 crypto/pcbc.c crypto_xor(iv, src, bsize); iv 54 crypto/pcbc.c crypto_cipher_encrypt_one(tfm, src, iv); iv 55 crypto/pcbc.c crypto_xor_cpy(iv, tmpbuf, src, bsize); iv 94 crypto/pcbc.c u8 * const iv = walk->iv; iv 98 crypto/pcbc.c crypto_xor(dst, iv, bsize); iv 99 crypto/pcbc.c crypto_xor_cpy(iv, dst, src, bsize); iv 115 crypto/pcbc.c u8 * const iv = walk->iv; iv 121 crypto/pcbc.c crypto_xor(src, iv, bsize); iv 122 crypto/pcbc.c crypto_xor_cpy(iv, src, tmpbuf, bsize); iv 113 crypto/pcrypt.c req->cryptlen, req->iv); iv 158 crypto/pcrypt.c req->cryptlen, req->iv); iv 104 crypto/salsa20_generic.c const u8 *iv) iv 107 crypto/salsa20_generic.c state[6] = get_unaligned_le32(iv + 0); iv 108 crypto/salsa20_generic.c state[7] = get_unaligned_le32(iv + 4); iv 163 crypto/salsa20_generic.c salsa20_init(state, ctx, req->iv); iv 35 crypto/seqiv.c memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); iv 38 crypto/seqiv.c kzfree(subreq->iv); iv 68 crypto/seqiv.c info = req->iv; iv 87 crypto/seqiv.c info = kmemdup(req->iv, ivsize, req->base.flags & iv 106 crypto/seqiv.c if (unlikely(info != req->iv)) iv 130 crypto/seqiv.c req->cryptlen - ivsize, req->iv); iv 133 crypto/seqiv.c scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0); iv 169 crypto/skcipher.c if (walk->iv != walk->oiv) iv 170 crypto/skcipher.c memcpy(walk->oiv, walk->iv, walk->ivsize); iv 208 crypto/skcipher.c if (!err && walk->iv != walk->oiv) iv 209 crypto/skcipher.c memcpy(walk->oiv, walk->iv, walk->ivsize); iv 404 crypto/skcipher.c u8 *iv; iv 424 crypto/skcipher.c iv = PTR_ALIGN(walk->buffer, alignmask + 1); iv 425 crypto/skcipher.c iv = skcipher_get_spot(iv, bs) + aligned_bs; iv 427 crypto/skcipher.c walk->iv = memcpy(iv, walk->iv, walk->ivsize); iv 437 crypto/skcipher.c if (unlikely(((unsigned long)walk->iv & walk->alignmask))) { iv 455 crypto/skcipher.c walk->iv = req->iv; iv 456 crypto/skcipher.c walk->oiv = req->iv; iv 517 crypto/skcipher.c walk->iv = req->iv; iv 518 crypto/skcipher.c walk->oiv = req->iv; iv 630 crypto/skcipher.c .info = req->iv, iv 732 crypto/skcipher.c req->iv); iv 262 crypto/tcrypt.c char *iv; iv 271 crypto/tcrypt.c iv = kzalloc(MAX_IVLEN, GFP_KERNEL); iv 272 crypto/tcrypt.c if (!iv) iv 371 crypto/tcrypt.c memset(iv, 0xff, iv_len); iv 396 crypto/tcrypt.c *b_size, iv); iv 410 crypto/tcrypt.c iv); iv 450 crypto/tcrypt.c kfree(iv); iv 532 crypto/tcrypt.c char *iv; iv 540 crypto/tcrypt.c iv = kzalloc(MAX_IVLEN, GFP_KERNEL); iv 541 crypto/tcrypt.c if (!iv) iv 614 crypto/tcrypt.c memset(iv, 0xff, iv_len); iv 646 crypto/tcrypt.c *b_size, iv); iv 659 crypto/tcrypt.c iv); iv 692 crypto/tcrypt.c kfree(iv); iv 1258 crypto/tcrypt.c char iv[128]; iv 1349 crypto/tcrypt.c memset(&iv, 0xff, iv_len); iv 1374 crypto/tcrypt.c iv); iv 1496 crypto/tcrypt.c char iv[128]; iv 1589 crypto/tcrypt.c memset(&iv, 0xff, iv_len); iv 1591 crypto/tcrypt.c skcipher_request_set_crypt(req, sg, sg, *b_size, iv); iv 1852 crypto/testmgr.c u8 *iv = PTR_ALIGN(&_iv[0], 2 * (MAX_ALGAPI_ALIGNMASK + 1)) + iv 1896 crypto/testmgr.c if (vec->iv) iv 1897 crypto/testmgr.c memcpy(iv, vec->iv, ivsize); iv 1899 crypto/testmgr.c memset(iv, 0, ivsize); iv 1922 crypto/testmgr.c enc ? vec->plen : vec->clen, iv); iv 1934 crypto/testmgr.c req->iv != iv || iv 1947 crypto/testmgr.c if (req->iv != iv) iv 2067 crypto/testmgr.c u8 iv[MAX_IVLEN]; iv 2078 crypto/testmgr.c generate_random_bytes((u8 *)vec->iv, ivsize); iv 2117 crypto/testmgr.c memcpy(iv, vec->iv, ivsize); iv 2119 crypto/testmgr.c aead_request_set_crypt(req, src, &dst, vec->plen, iv); iv 2230 crypto/testmgr.c vec.iv = kmalloc(ivsize, GFP_KERNEL); iv 2234 crypto/testmgr.c if (!vec.key || !vec.iv || !vec.assoc || !vec.ptext || !vec.ctext) { iv 2261 crypto/testmgr.c kfree(vec.iv); iv 2451 crypto/testmgr.c u8 *iv = PTR_ALIGN(&_iv[0], 2 * (MAX_ALGAPI_ALIGNMASK + 1)) + iv 2483 crypto/testmgr.c memcpy(iv, vec->iv_out, ivsize); iv 2484 crypto/testmgr.c else if (vec->iv) iv 2485 crypto/testmgr.c memcpy(iv, vec->iv, ivsize); iv 2487 crypto/testmgr.c memset(iv, 0, ivsize); iv 2494 crypto/testmgr.c iv = NULL; iv 2512 crypto/testmgr.c vec->len, iv); iv 2522 crypto/testmgr.c req->iv != iv || iv 2533 crypto/testmgr.c if (req->iv != iv) iv 2590 crypto/testmgr.c if (vec->iv_out && memcmp(iv, vec->iv_out, ivsize) != 0) { iv 2593 crypto/testmgr.c hexdump(iv, ivsize); iv 2656 crypto/testmgr.c u8 iv[MAX_IVLEN]; iv 2667 crypto/testmgr.c generate_random_bytes((u8 *)vec->iv, ivsize); iv 2680 crypto/testmgr.c memcpy(iv, vec->iv, ivsize); iv 2682 crypto/testmgr.c skcipher_request_set_crypt(req, &src, &dst, vec->len, iv); iv 2794 crypto/testmgr.c vec.iv = kmalloc(ivsize, GFP_KERNEL); iv 2797 crypto/testmgr.c if (!vec.key || !vec.iv || !vec.ptext || !vec.ctext) { iv 2821 crypto/testmgr.c kfree(vec.iv); iv 66 crypto/testmgr.h const char *iv; iv 101 crypto/testmgr.h const char *iv; iv 7359 crypto/testmgr.h .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10", iv 7371 crypto/testmgr.h .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef", iv 7379 crypto/testmgr.h .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c", iv 7387 crypto/testmgr.h .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f", iv 7395 crypto/testmgr.h .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47", iv 7467 crypto/testmgr.h .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD", iv 7535 crypto/testmgr.h .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47", iv 7767 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 7807 crypto/testmgr.h .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12" iv 7944 crypto/testmgr.h .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF", iv 8076 crypto/testmgr.h .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12", iv 8398 crypto/testmgr.h .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10", iv 8415 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F", iv 8554 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F", iv 8689 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F", iv 8824 crypto/testmgr.h .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD", iv 9124 crypto/testmgr.h .iv = zeroed_string, iv 9134 crypto/testmgr.h .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32" iv 9145 crypto/testmgr.h .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e" iv 9156 crypto/testmgr.h .iv = zeroed_string, iv 9173 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 9312 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 9447 crypto/testmgr.h .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" iv 9582 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 9724 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9737 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9750 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9764 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9778 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9793 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9808 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9823 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9965 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 9982 crypto/testmgr.h .iv = "\x33\x33\x33\x33\x33\x00\x00\x00" iv 9999 crypto/testmgr.h .iv = "\x33\x33\x33\x33\x33\x00\x00\x00" iv 10016 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 10157 crypto/testmgr.h .iv = "\xff\x00\x00\x00\x00\x00\x00\x00" iv 10549 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 10688 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 10823 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 10960 crypto/testmgr.h .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" iv 11100 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11113 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11126 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11140 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11154 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11169 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11184 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11199 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11341 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11358 crypto/testmgr.h .iv = "\x33\x33\x33\x33\x33\x00\x00\x00" iv 11375 crypto/testmgr.h .iv = "\x33\x33\x33\x33\x33\x00\x00\x00" iv 11392 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 11533 crypto/testmgr.h .iv = "\xff\x00\x00\x00\x00\x00\x00\x00" iv 11766 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 11783 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 11808 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 11833 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 11884 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 12021 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 12160 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 12177 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 12318 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 12463 crypto/testmgr.h .iv = "\xff\x00\x00\x00\x00\x00\x00\x00" iv 12770 crypto/testmgr.h .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" iv 12782 crypto/testmgr.h .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" iv 12800 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 12827 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 12854 crypto/testmgr.h .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47" iv 12991 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13015 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13040 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13063 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13076 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13097 crypto/testmgr.h .iv = "", iv 13116 crypto/testmgr.h .iv = "", iv 13142 crypto/testmgr.h .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" iv 13170 crypto/testmgr.h .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" iv 13203 crypto/testmgr.h .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb" iv 13235 crypto/testmgr.h .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c" iv 13276 crypto/testmgr.h .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63" iv 13323 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13366 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13409 crypto/testmgr.h .iv = "", iv 13430 crypto/testmgr.h .iv = "", iv 13458 crypto/testmgr.h .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" iv 13488 crypto/testmgr.h .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" iv 13523 crypto/testmgr.h .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb" iv 13557 crypto/testmgr.h .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c" iv 13600 crypto/testmgr.h .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63" iv 13649 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13694 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 13745 crypto/testmgr.h .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" iv 13783 crypto/testmgr.h .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" iv 13826 crypto/testmgr.h .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb" iv 13868 crypto/testmgr.h .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c" iv 13919 crypto/testmgr.h .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63" iv 13976 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 14029 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 14078 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14137 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14197 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14260 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14327 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14393 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14454 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14516 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14581 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14650 crypto/testmgr.h .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42", iv 14707 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14720 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14733 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14747 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14761 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14776 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14791 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14804 crypto/testmgr.h .iv = "\xff\xff\xff\xff\xff\xff\xff\xff" iv 14828 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14971 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 14988 crypto/testmgr.h .iv = "\x33\x33\x33\x33\x33\x00\x00\x00" iv 15005 crypto/testmgr.h .iv = "\x33\x33\x33\x33\x33\x00\x00\x00" iv 15022 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 15163 crypto/testmgr.h .iv = "\xff\x00\x00\x00\x00\x00\x00\x00" iv 15302 crypto/testmgr.h .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7" iv 15328 crypto/testmgr.h .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7" iv 15355 crypto/testmgr.h .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7" iv 15382 crypto/testmgr.h .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" iv 15517 crypto/testmgr.h .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47" iv 15657 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", iv 15667 crypto/testmgr.h .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b", iv 15683 crypto/testmgr.h .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb", iv 15694 crypto/testmgr.h .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d", iv 15711 crypto/testmgr.h .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2", iv 15723 crypto/testmgr.h .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75", iv 15741 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", iv 16779 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08" iv 16802 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 16815 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 16844 crypto/testmgr.h .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" iv 16870 crypto/testmgr.h .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" iv 16917 crypto/testmgr.h .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" iv 16961 crypto/testmgr.h .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" iv 16989 crypto/testmgr.h .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" iv 17020 crypto/testmgr.h .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad" iv 17053 crypto/testmgr.h .iv = zeroed_string, iv 17068 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", iv 17085 crypto/testmgr.h .iv = zeroed_string, iv 17101 crypto/testmgr.h .iv = zeroed_string, iv 17118 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", iv 17135 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", iv 17164 crypto/testmgr.h .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef", iv 17226 crypto/testmgr.h .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE", iv 17258 crypto/testmgr.h .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", iv 17289 crypto/testmgr.h .iv = "\x01\x02\x03\x04\x05\x06\x07\x08", iv 17316 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", iv 17345 crypto/testmgr.h .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", iv 17375 crypto/testmgr.h .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", iv 17398 crypto/testmgr.h .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", iv 17421 crypto/testmgr.h .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74", iv 17457 crypto/testmgr.h .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63", iv 17481 crypto/testmgr.h .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", iv 17517 crypto/testmgr.h .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63", iv 17549 crypto/testmgr.h .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6", iv 17564 crypto/testmgr.h .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74", iv 17586 crypto/testmgr.h .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D", iv 17614 crypto/testmgr.h .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", iv 17642 crypto/testmgr.h .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD", iv 17668 crypto/testmgr.h .iv = zeroed_string, iv 17695 crypto/testmgr.h .iv = zeroed_string, iv 17726 crypto/testmgr.h .iv = "\x01\x00\x00\x00\x03\x02\x01\x00" iv 17743 crypto/testmgr.h .iv = "\x01\x00\x00\x00\x07\x06\x05\x04" iv 17761 crypto/testmgr.h .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08" iv 17780 crypto/testmgr.h .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09" iv 17798 crypto/testmgr.h .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63" iv 17815 crypto/testmgr.h .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70" iv 17833 crypto/testmgr.h .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c" iv 17852 crypto/testmgr.h .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0", iv 17870 crypto/testmgr.h .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8" iv 17894 crypto/testmgr.h .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d" iv 17909 crypto/testmgr.h .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd" iv 17934 crypto/testmgr.h .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53" iv 17958 crypto/testmgr.h .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d" iv 17983 crypto/testmgr.h .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e" iv 18007 crypto/testmgr.h .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab" iv 18019 crypto/testmgr.h .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81" iv 18030 crypto/testmgr.h .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab" iv 18054 crypto/testmgr.h .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea" iv 18078 crypto/testmgr.h .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9" iv 18094 crypto/testmgr.h .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9" iv 18117 crypto/testmgr.h .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c" iv 18143 crypto/testmgr.h .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9" iv 18156 crypto/testmgr.h .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f" iv 18178 crypto/testmgr.h .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f" iv 18212 crypto/testmgr.h .iv = zeroed_string, iv 18227 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", iv 18244 crypto/testmgr.h .iv = zeroed_string, iv 18260 crypto/testmgr.h .iv = zeroed_string, iv 18277 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", iv 18294 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x01", iv 18323 crypto/testmgr.h .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef", iv 18385 crypto/testmgr.h .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE", iv 18417 crypto/testmgr.h .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", iv 18448 crypto/testmgr.h .iv = "\x01\x02\x03\x04\x05\x06\x07\x08", iv 18475 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", iv 18504 crypto/testmgr.h .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", iv 18534 crypto/testmgr.h .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", iv 18557 crypto/testmgr.h .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88", iv 18580 crypto/testmgr.h .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74", iv 18616 crypto/testmgr.h .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63", iv 18640 crypto/testmgr.h .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", iv 18676 crypto/testmgr.h .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63", iv 18708 crypto/testmgr.h .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6", iv 18723 crypto/testmgr.h .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74", iv 18745 crypto/testmgr.h .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D", iv 18773 crypto/testmgr.h .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3", iv 18801 crypto/testmgr.h .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD", iv 18831 crypto/testmgr.h .iv = "\x07\x00\x00\x00\x40\x41\x42\x43" iv 18876 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x01\x02\x03\x04" iv 18967 crypto/testmgr.h .iv = "\x01\x02\x03\x04\x05\x06\x07\x08", iv 19059 crypto/testmgr.h .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d" iv 19072 crypto/testmgr.h .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29" iv 19086 crypto/testmgr.h .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45" iv 19102 crypto/testmgr.h .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61" iv 19118 crypto/testmgr.h .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d" iv 19136 crypto/testmgr.h .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98" iv 19156 crypto/testmgr.h .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4" iv 19176 crypto/testmgr.h .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0" iv 19189 crypto/testmgr.h .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec" iv 19203 crypto/testmgr.h .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08" iv 19217 crypto/testmgr.h .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24" iv 19232 crypto/testmgr.h .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f" iv 19248 crypto/testmgr.h .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b" iv 19264 crypto/testmgr.h .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77" iv 19278 crypto/testmgr.h .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93" iv 19295 crypto/testmgr.h .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf" iv 19312 crypto/testmgr.h .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca" iv 19332 crypto/testmgr.h .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6" iv 19355 crypto/testmgr.h .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02" iv 19378 crypto/testmgr.h .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e" iv 19412 crypto/testmgr.h .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a" iv 19442 crypto/testmgr.h .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56" iv 19459 crypto/testmgr.h .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71" iv 19476 crypto/testmgr.h .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d" iv 20475 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F", iv 20609 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F", iv 20744 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F", iv 20757 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F", iv 21225 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", iv 21232 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", iv 21239 crypto/testmgr.h .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10", iv 21251 crypto/testmgr.h .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87", iv 21564 crypto/testmgr.h .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" iv 21576 crypto/testmgr.h .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" iv 21595 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 21862 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 21997 crypto/testmgr.h .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F" iv 22262 crypto/testmgr.h .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" iv 22530 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22543 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22556 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22570 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22584 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22599 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22614 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22629 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22771 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22788 crypto/testmgr.h .iv = "\x33\x33\x33\x33\x33\x00\x00\x00" iv 22805 crypto/testmgr.h .iv = "\x33\x33\x33\x33\x33\x00\x00\x00" iv 22822 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 22963 crypto/testmgr.h .iv = "\xff\x00\x00\x00\x00\x00\x00\x00" iv 23148 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", iv 23164 crypto/testmgr.h .iv = "\x80\x00\x00\x00\x00\x00\x00\x00", iv 23188 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00", iv 23224 crypto/testmgr.h .iv = "\x00\x00\x00\x10\x00\x00\x00\x00", iv 23266 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 24307 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 24332 crypto/testmgr.h .iv = "\x01\x00\x00\x00\x00\x00\x00\x00" iv 24436 crypto/testmgr.h .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00" iv 24477 crypto/testmgr.h .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00" iv 24812 crypto/testmgr.h .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf" iv 24831 crypto/testmgr.h .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70" iv 24868 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 24895 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 25001 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 25044 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 25377 crypto/testmgr.h .iv = "\x40\x41\x42\x43\x44\x45\x46\x47" iv 25472 crypto/testmgr.h .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf" iv 25491 crypto/testmgr.h .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70" iv 25526 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 25553 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 25660 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 25703 crypto/testmgr.h .iv = "\x00\x00\x00\x00\x00\x00\x00\x00" iv 26036 crypto/testmgr.h .iv = "\x40\x41\x42\x43\x44\x45\x46\x47" iv 26128 crypto/testmgr.h .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8" iv 26143 crypto/testmgr.h .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47" iv 26162 crypto/testmgr.h .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8" iv 26205 crypto/testmgr.h .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4" iv 26344 crypto/testmgr.h .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad" iv 26739 crypto/testmgr.h .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6" iv 27780 crypto/testmgr.h .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8" iv 27795 crypto/testmgr.h .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47" iv 27814 crypto/testmgr.h .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8" iv 27857 crypto/testmgr.h .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4" iv 27996 crypto/testmgr.h .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad" iv 28391 crypto/testmgr.h .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6" iv 31080 crypto/testmgr.h .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30" iv 31090 crypto/testmgr.h .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28" iv 31106 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 31131 crypto/testmgr.h .iv = "\x00\x01\x02\x03\x04\x05\x06\x07" iv 31156 crypto/testmgr.h .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47" iv 31304 crypto/testmgr.h .iv = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04" iv 31334 crypto/testmgr.h .iv = "\x56\xe8\x14\xa5\x74\x18\x75\x13" iv 31369 crypto/testmgr.h .iv = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9" iv 31403 crypto/testmgr.h .iv = "\x13\xe5\xf2\xef\x61\x97\x59\x35" iv 31446 crypto/testmgr.h .iv = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23" iv 31495 crypto/testmgr.h .iv = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98" iv 31540 crypto/testmgr.h .iv = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c" iv 256 crypto/xts.c crypto_cipher_encrypt_one(ctx->tweak, (u8 *)&rctx->t, req->iv); iv 133 drivers/block/cryptoloop.c u32 iv[4] = { 0, }; iv 134 drivers/block/cryptoloop.c iv[0] = cpu_to_le32(IV & 0xffffffff); iv 139 drivers/block/cryptoloop.c skcipher_request_set_crypt(req, &sg_in, &sg_out, sz, iv); iv 75 drivers/crypto/amcc/crypto4xx_alg.c __le32 iv[AES_IV_SIZE]; iv 81 drivers/crypto/amcc/crypto4xx_alg.c crypto4xx_memcpy_to_le32(iv, req->iv, ivlen); iv 84 drivers/crypto/amcc/crypto4xx_alg.c req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out, iv 229 drivers/crypto/amcc/crypto4xx_alg.c __le32 iv[AES_IV_SIZE / 4] = { iv 231 drivers/crypto/amcc/crypto4xx_alg.c cpu_to_le32p((u32 *) req->iv), iv 232 drivers/crypto/amcc/crypto4xx_alg.c cpu_to_le32p((u32 *) (req->iv + 4)), iv 236 drivers/crypto/amcc/crypto4xx_alg.c req->cryptlen, iv, AES_IV_SIZE, iv 244 drivers/crypto/amcc/crypto4xx_alg.c __le32 iv[AES_IV_SIZE / 4] = { iv 246 drivers/crypto/amcc/crypto4xx_alg.c cpu_to_le32p((u32 *) req->iv), iv 247 drivers/crypto/amcc/crypto4xx_alg.c cpu_to_le32p((u32 *) (req->iv + 4)), iv 251 drivers/crypto/amcc/crypto4xx_alg.c req->cryptlen, iv, AES_IV_SIZE, iv 261 drivers/crypto/amcc/crypto4xx_alg.c unsigned int counter = be32_to_cpup((__be32 *)(req->iv + iv_len - 4)); iv 279 drivers/crypto/amcc/crypto4xx_alg.c req->cryptlen, req->iv); iv 356 drivers/crypto/amcc/crypto4xx_alg.c if (is_ccm && !(req->iv[0] == 1 || req->iv[0] == 3)) iv 371 drivers/crypto/amcc/crypto4xx_alg.c req->iv); iv 465 drivers/crypto/amcc/crypto4xx_alg.c __le32 iv[16]; iv 479 drivers/crypto/amcc/crypto4xx_alg.c if (req->iv[0] == 1) { iv 484 drivers/crypto/amcc/crypto4xx_alg.c iv[3] = cpu_to_le32(0); iv 485 drivers/crypto/amcc/crypto4xx_alg.c crypto4xx_memcpy_to_le32(iv, req->iv, 16 - (req->iv[0] + 1)); iv 488 drivers/crypto/amcc/crypto4xx_alg.c len, iv, sizeof(iv), iv 613 drivers/crypto/amcc/crypto4xx_alg.c __le32 iv[4]; iv 622 drivers/crypto/amcc/crypto4xx_alg.c crypto4xx_memcpy_to_le32(iv, req->iv, GCM_AES_IV_SIZE); iv 623 drivers/crypto/amcc/crypto4xx_alg.c iv[3] = cpu_to_le32(1); iv 626 drivers/crypto/amcc/crypto4xx_alg.c len, iv, sizeof(iv), iv 540 drivers/crypto/amcc/crypto4xx_core.c crypto4xx_memcpy_from_le32((u32 *)req->iv, iv 683 drivers/crypto/amcc/crypto4xx_core.c const __le32 *iv, const u32 iv_len, iv 818 drivers/crypto/amcc/crypto4xx_core.c memcpy(pd_uinfo->sr_va->save_iv, iv, iv_len); iv 157 drivers/crypto/amcc/crypto4xx_core.h const __le32 *iv, const u32 iv_len, iv 194 drivers/crypto/amcc/crypto4xx_sa.h __le32 iv[4]; /* for CBC, OFC, and CFB mode */ iv 208 drivers/crypto/amcc/crypto4xx_sa.h __le32 iv[4]; /* for CBC, OFC, and CFB mode */ iv 222 drivers/crypto/amcc/crypto4xx_sa.h __le32 iv[4]; /* for CBC, OFC, and CFB mode */ iv 237 drivers/crypto/amcc/crypto4xx_sa.h __le32 iv[4]; iv 252 drivers/crypto/amcc/crypto4xx_sa.h __le32 iv[4]; iv 119 drivers/crypto/atmel-aes.c u32 iv[AES_BLOCK_SIZE / sizeof(u32)]; iv 537 drivers/crypto/atmel-aes.c const u32 *iv, const u32 *key, int keylen) iv 563 drivers/crypto/atmel-aes.c if (iv && (valmr & AES_MR_OPMOD_MASK) != AES_MR_OPMOD_ECB) iv 564 drivers/crypto/atmel-aes.c atmel_aes_write_block(dd, AES_IVR(0), iv); iv 568 drivers/crypto/atmel-aes.c const u32 *iv) iv 571 drivers/crypto/atmel-aes.c atmel_aes_write_ctrl_key(dd, use_dma, iv, iv 1028 drivers/crypto/atmel-aes.c ctr = be32_to_cpu(ctx->iv[3]); iv 1048 drivers/crypto/atmel-aes.c atmel_aes_write_ctrl(dd, use_dma, ctx->iv); iv 1054 drivers/crypto/atmel-aes.c ctx->iv[3] = cpu_to_be32(ctr); iv 1055 drivers/crypto/atmel-aes.c crypto_inc((u8 *)ctx->iv, AES_BLOCK_SIZE); iv 1079 drivers/crypto/atmel-aes.c memcpy(ctx->iv, req->info, AES_BLOCK_SIZE); iv 1535 drivers/crypto/atmel-aes.c const void *iv = req->iv; iv 1546 drivers/crypto/atmel-aes.c memcpy(ctx->j0, iv, ivsize); iv 1556 drivers/crypto/atmel-aes.c memcpy(data, iv, ivsize); iv 2041 drivers/crypto/atmel-aes.c u32 iv[AES_BLOCK_SIZE / sizeof(u32)]; iv 2057 drivers/crypto/atmel-aes.c memcpy(iv, req->iv, sizeof(iv)); iv 2066 drivers/crypto/atmel-aes.c atmel_aes_write_ctrl(dd, true, iv); iv 1182 drivers/crypto/axis/artpec6_crypto.c (req->iv + iv_len - 4)); iv 1210 drivers/crypto/axis/artpec6_crypto.c req->cryptlen, req->iv); iv 1783 drivers/crypto/axis/artpec6_crypto.c ret = artpec6_crypto_setup_out_descr(common, areq->iv, iv_len, iv 1920 drivers/crypto/axis/artpec6_crypto.c memcpy(req_ctx->hw_ctx.J0, areq->iv, crypto_aead_ivsize(cipher)); iv 2166 drivers/crypto/axis/artpec6_crypto.c scatterwalk_map_and_copy(cipher_req->iv, cipher_req->src, iv 2178 drivers/crypto/axis/artpec6_crypto.c scatterwalk_map_and_copy(cipher_req->iv, cipher_req->dst, iv 2785 drivers/crypto/bcm/cipher.c flow_dump(" iv: ", req->iv, rctx->iv_ctr_len); iv 2806 drivers/crypto/bcm/cipher.c req->iv, iv 4339 drivers/crypto/bcm/cipher.c get_random_bytes(ctx->iv, MAX_IV_SIZE); iv 4340 drivers/crypto/bcm/cipher.c flow_dump(" iv: ", ctx->iv, MAX_IV_SIZE); iv 186 drivers/crypto/bcm/cipher.h u8 iv[MAX_IV_SIZE]; iv 1029 drivers/crypto/caam/caamalg.c memcpy(req->iv, (u8 *)edesc->sec4_sg + edesc->sec4_sg_bytes, iv 1032 drivers/crypto/caam/caamalg.c DUMP_PREFIX_ADDRESS, 16, 4, req->iv, iv 1068 drivers/crypto/caam/caamalg.c memcpy(req->iv, (u8 *)edesc->sec4_sg + edesc->sec4_sg_bytes, iv 1072 drivers/crypto/caam/caamalg.c DUMP_PREFIX_ADDRESS, 16, 4, req->iv, iv 1175 drivers/crypto/caam/caamalg.c append_data(desc, req->iv, ivsize); iv 1208 drivers/crypto/caam/caamalg.c append_load_as_imm(desc, req->iv, ivsize, LDST_CLASS_1_CCB | iv 1256 drivers/crypto/caam/caamalg.c append_load_as_imm(desc, req->iv, ivsize, iv 1280 drivers/crypto/caam/caamalg.c DUMP_PREFIX_ADDRESS, 16, 4, req->iv, ivsize, 1); iv 1690 drivers/crypto/caam/caamalg.c u8 *iv; iv 1785 drivers/crypto/caam/caamalg.c iv = (u8 *)edesc->sec4_sg + sec4_sg_bytes; iv 1786 drivers/crypto/caam/caamalg.c memcpy(iv, req->iv, ivsize); iv 1788 drivers/crypto/caam/caamalg.c iv_dma = dma_map_single(jrdev, iv, ivsize, DMA_BIDIRECTIONAL); iv 1074 drivers/crypto/caam/caamalg_qi.c u8 *iv = (u8 *)(sg_table + qm_sg_ents); iv 1077 drivers/crypto/caam/caamalg_qi.c memcpy(iv, req->iv, ivsize); iv 1079 drivers/crypto/caam/caamalg_qi.c iv_dma = dma_map_single(qidev, iv, ivsize, DMA_TO_DEVICE); iv 1225 drivers/crypto/caam/caamalg_qi.c DUMP_PREFIX_ADDRESS, 16, 4, req->iv, iv 1239 drivers/crypto/caam/caamalg_qi.c memcpy(req->iv, (u8 *)&edesc->sgt[0] + edesc->qm_sg_bytes, iv 1257 drivers/crypto/caam/caamalg_qi.c u8 *iv; iv 1342 drivers/crypto/caam/caamalg_qi.c iv = (u8 *)(sg_table + qm_sg_ents); iv 1343 drivers/crypto/caam/caamalg_qi.c memcpy(iv, req->iv, ivsize); iv 1345 drivers/crypto/caam/caamalg_qi.c iv_dma = dma_map_single(qidev, iv, ivsize, DMA_BIDIRECTIONAL); iv 481 drivers/crypto/caam/caamalg_qi2.c u8 *iv = (u8 *)(sg_table + qm_sg_nents); iv 484 drivers/crypto/caam/caamalg_qi2.c memcpy(iv, req->iv, ivsize); iv 486 drivers/crypto/caam/caamalg_qi2.c iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); iv 1129 drivers/crypto/caam/caamalg_qi2.c u8 *iv; iv 1209 drivers/crypto/caam/caamalg_qi2.c iv = (u8 *)(sg_table + qm_sg_ents); iv 1210 drivers/crypto/caam/caamalg_qi2.c memcpy(iv, req->iv, ivsize); iv 1212 drivers/crypto/caam/caamalg_qi2.c iv_dma = dma_map_single(dev, iv, ivsize, DMA_BIDIRECTIONAL); iv 1413 drivers/crypto/caam/caamalg_qi2.c DUMP_PREFIX_ADDRESS, 16, 4, req->iv, iv 1427 drivers/crypto/caam/caamalg_qi2.c memcpy(req->iv, (u8 *)&edesc->sgt[0] + edesc->qm_sg_bytes, iv 1451 drivers/crypto/caam/caamalg_qi2.c DUMP_PREFIX_ADDRESS, 16, 4, req->iv, iv 1465 drivers/crypto/caam/caamalg_qi2.c memcpy(req->iv, (u8 *)&edesc->sgt[0] + edesc->qm_sg_bytes, iv 76 drivers/crypto/caam/pdb.h u8 iv[16]; iv 88 drivers/crypto/caam/pdb.h u64 iv; iv 104 drivers/crypto/caam/pdb.h u64 iv; iv 116 drivers/crypto/caam/pdb.h u64 iv; iv 347 drivers/crypto/caam/pdb.h u32 iv[4]; iv 366 drivers/crypto/caam/pdb.h u32 iv[4]; iv 373 drivers/crypto/caam/pdb.h u32 iv[4]; iv 390 drivers/crypto/caam/pdb.h u32 iv[4]; iv 35 drivers/crypto/cavium/cpt/cptvf_algs.c u8 *iv, u32 enc_iv_len, iv 39 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->in[*argcnt].vptr = (void *)iv; iv 47 drivers/crypto/cavium/cpt/cptvf_algs.c u8 *iv, u32 enc_iv_len, iv 51 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->out[*argcnt].vptr = (void *)iv; iv 78 drivers/crypto/cavium/nitrox/nitrox_aead.c struct scatterlist *src, char *iv, int ivsize, iv 94 drivers/crypto/cavium/nitrox/nitrox_aead.c nitrox_creq_copy_iv(nkreq->src, iv, ivsize); iv 159 drivers/crypto/cavium/nitrox/nitrox_aead.c ret = alloc_src_sglist(&rctx->nkreq, rctx->src, rctx->iv, rctx->ivsize, iv 198 drivers/crypto/cavium/nitrox/nitrox_aead.c memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE); iv 204 drivers/crypto/cavium/nitrox/nitrox_aead.c rctx->iv = &areq->iv[GCM_AES_SALT_SIZE]; iv 229 drivers/crypto/cavium/nitrox/nitrox_aead.c memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE); iv 235 drivers/crypto/cavium/nitrox/nitrox_aead.c rctx->iv = &areq->iv[GCM_AES_SALT_SIZE]; iv 344 drivers/crypto/cavium/nitrox/nitrox_aead.c memcpy(fctx->crypto.iv, key + keylen, GCM_AES_SALT_SIZE); iv 423 drivers/crypto/cavium/nitrox/nitrox_aead.c aead_rctx->iv = areq->iv; iv 456 drivers/crypto/cavium/nitrox/nitrox_aead.c aead_rctx->iv = areq->iv; iv 132 drivers/crypto/cavium/nitrox/nitrox_req.h u8 iv[AES_BLOCK_SIZE]; iv 235 drivers/crypto/cavium/nitrox/nitrox_req.h u8 *iv; iv 629 drivers/crypto/cavium/nitrox/nitrox_req.h static inline struct scatterlist *nitrox_creq_src_sg(char *iv, int ivsize) iv 631 drivers/crypto/cavium/nitrox/nitrox_req.h return (struct scatterlist *)(iv + ivsize); iv 638 drivers/crypto/cavium/nitrox/nitrox_req.h char *iv = nkreq->src; iv 642 drivers/crypto/cavium/nitrox/nitrox_req.h creq->src = nitrox_creq_src_sg(iv, ivsize); iv 653 drivers/crypto/cavium/nitrox/nitrox_req.h sg = create_single_sg(sg, iv, ivsize); iv 698 drivers/crypto/cavium/nitrox/nitrox_req.h char *iv = nkreq->src; iv 713 drivers/crypto/cavium/nitrox/nitrox_req.h sg = create_single_sg(sg, iv, ivsize); iv 148 drivers/crypto/cavium/nitrox/nitrox_skcipher.c nitrox_creq_copy_iv(nkreq->src, skreq->iv, ivsize); iv 314 drivers/crypto/cavium/nitrox/nitrox_skcipher.c memcpy(fctx->crypto.iv, key + (keylen - CTR_RFC3686_NONCE_SIZE), iv 47 drivers/crypto/ccp/ccp-crypto-aes-cmac.c memcpy(req->result, rctx->iv, digest_size); iv 102 drivers/crypto/ccp/ccp-crypto-aes-cmac.c sg_init_one(&rctx->iv_sg, rctx->iv, sizeof(rctx->iv)); iv 164 drivers/crypto/ccp/ccp-crypto-aes-cmac.c rctx->cmd.u.aes.iv = &rctx->iv_sg; iv 229 drivers/crypto/ccp/ccp-crypto-aes-cmac.c memcpy(state.iv, rctx->iv, sizeof(state.iv)); iv 249 drivers/crypto/ccp/ccp-crypto-aes-cmac.c memcpy(rctx->iv, state.iv, sizeof(rctx->iv)); iv 93 drivers/crypto/ccp/ccp-crypto-aes-galois.c if (!req->iv) iv 106 drivers/crypto/ccp/ccp-crypto-aes-galois.c memcpy(rctx->iv, req->iv, GCM_AES_IV_SIZE); iv 108 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->iv[i + GCM_AES_IV_SIZE] = 0; iv 109 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->iv[AES_BLOCK_SIZE - 1] = 1; iv 114 drivers/crypto/ccp/ccp-crypto-aes-galois.c sg_init_one(iv_sg, rctx->iv, iv_len); iv 126 drivers/crypto/ccp/ccp-crypto-aes-galois.c rctx->cmd.u.aes.iv = iv_sg; iv 70 drivers/crypto/ccp/ccp-crypto-aes-xts.c memcpy(req->info, rctx->iv, AES_BLOCK_SIZE); iv 165 drivers/crypto/ccp/ccp-crypto-aes-xts.c memcpy(rctx->iv, req->info, AES_BLOCK_SIZE); iv 166 drivers/crypto/ccp/ccp-crypto-aes-xts.c sg_init_one(&rctx->iv_sg, rctx->iv, AES_BLOCK_SIZE); iv 177 drivers/crypto/ccp/ccp-crypto-aes-xts.c rctx->cmd.u.xts.iv = &rctx->iv_sg; iv 32 drivers/crypto/ccp/ccp-crypto-aes.c memcpy(req->info, rctx->iv, AES_BLOCK_SIZE); iv 87 drivers/crypto/ccp/ccp-crypto-aes.c memcpy(rctx->iv, req->info, AES_BLOCK_SIZE); iv 90 drivers/crypto/ccp/ccp-crypto-aes.c sg_init_one(iv_sg, rctx->iv, iv_len); iv 102 drivers/crypto/ccp/ccp-crypto-aes.c rctx->cmd.u.aes.iv = iv_sg; iv 169 drivers/crypto/ccp/ccp-crypto-aes.c u8 *iv; iv 172 drivers/crypto/ccp/ccp-crypto-aes.c iv = rctx->rfc3686_iv; iv 173 drivers/crypto/ccp/ccp-crypto-aes.c memcpy(iv, ctx->u.aes.nonce, CTR_RFC3686_NONCE_SIZE); iv 175 drivers/crypto/ccp/ccp-crypto-aes.c iv += CTR_RFC3686_NONCE_SIZE; iv 176 drivers/crypto/ccp/ccp-crypto-aes.c memcpy(iv, req->info, CTR_RFC3686_IV_SIZE); iv 178 drivers/crypto/ccp/ccp-crypto-aes.c iv += CTR_RFC3686_IV_SIZE; iv 179 drivers/crypto/ccp/ccp-crypto-aes.c *(__be32 *)iv = cpu_to_be32(1); iv 31 drivers/crypto/ccp/ccp-crypto-des3.c memcpy(req->info, rctx->iv, DES3_EDE_BLOCK_SIZE); iv 81 drivers/crypto/ccp/ccp-crypto-des3.c memcpy(rctx->iv, req->info, DES3_EDE_BLOCK_SIZE); iv 84 drivers/crypto/ccp/ccp-crypto-des3.c sg_init_one(iv_sg, rctx->iv, iv_len); iv 97 drivers/crypto/ccp/ccp-crypto-des3.c rctx->cmd.u.des3.iv = iv_sg; iv 113 drivers/crypto/ccp/ccp-crypto.h u8 iv[AES_BLOCK_SIZE]; iv 138 drivers/crypto/ccp/ccp-crypto.h u8 iv[AES_BLOCK_SIZE]; iv 154 drivers/crypto/ccp/ccp-crypto.h u8 iv[AES_BLOCK_SIZE]; iv 173 drivers/crypto/ccp/ccp-crypto.h u8 iv[AES_BLOCK_SIZE]; iv 477 drivers/crypto/ccp/ccp-ops.c if (!aes->key || !aes->iv || !aes->src) iv 535 drivers/crypto/ccp/ccp-ops.c ret = ccp_set_dm_area(&ctx, dm_offset, aes->iv, 0, aes->iv_len); iv 598 drivers/crypto/ccp/ccp-ops.c ccp_get_dm_area(&ctx, dm_offset, aes->iv, 0, aes->iv_len); iv 634 drivers/crypto/ccp/ccp-ops.c if (!aes->iv) iv 717 drivers/crypto/ccp/ccp-ops.c ret = ccp_set_dm_area(&ctx, dm_offset, aes->iv, 0, aes->iv_len); iv 810 drivers/crypto/ccp/ccp-ops.c ret = ccp_set_dm_area(&ctx, dm_offset, aes->iv, 0, aes->iv_len); iv 923 drivers/crypto/ccp/ccp-ops.c if (!aes->iv) iv 976 drivers/crypto/ccp/ccp-ops.c ret = ccp_set_dm_area(&ctx, dm_offset, aes->iv, 0, aes->iv_len); iv 1053 drivers/crypto/ccp/ccp-ops.c ccp_get_dm_area(&ctx, dm_offset, aes->iv, 0, aes->iv_len); iv 1119 drivers/crypto/ccp/ccp-ops.c if (!xts->key || !xts->iv || !xts->src || !xts->dst) iv 1195 drivers/crypto/ccp/ccp-ops.c ret = ccp_set_dm_area(&ctx, 0, xts->iv, 0, xts->iv_len); iv 1254 drivers/crypto/ccp/ccp-ops.c ccp_get_dm_area(&ctx, dm_offset, xts->iv, 0, xts->iv_len); iv 1307 drivers/crypto/ccp/ccp-ops.c if (!des3->iv) iv 1381 drivers/crypto/ccp/ccp-ops.c ret = ccp_set_dm_area(&ctx, dm_offset, des3->iv, 0, iv 1449 drivers/crypto/ccp/ccp-ops.c ccp_get_dm_area(&ctx, dm_offset, des3->iv, 0, iv 226 drivers/crypto/ccree/cc_aead.c areq->iv = areq_ctx->backup_iv; iv 1548 drivers/crypto/ccree/cc_aead.c unsigned int lp = req->iv[0]; iv 1569 drivers/crypto/ccree/cc_aead.c dev_err(dev, "illegal iv value %X\n", req->iv[0]); iv 1572 drivers/crypto/ccree/cc_aead.c memcpy(b0, req->iv, AES_BLOCK_SIZE); iv 1591 drivers/crypto/ccree/cc_aead.c memset(req->iv + 15 - req->iv[0], 0, req->iv[0] + 1); iv 1592 drivers/crypto/ccree/cc_aead.c req->iv[15] = 1; iv 1594 drivers/crypto/ccree/cc_aead.c memcpy(ctr_count_0, req->iv, AES_BLOCK_SIZE); iv 1618 drivers/crypto/ccree/cc_aead.c memcpy(areq_ctx->ctr_iv + CCM_BLOCK_IV_OFFSET, req->iv, iv 1620 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->ctr_iv; iv 1860 drivers/crypto/ccree/cc_aead.c memcpy(req->iv + 12, &counter, 4); iv 1861 drivers/crypto/ccree/cc_aead.c memcpy(req_ctx->gcm_iv_inc2, req->iv, 16); iv 1864 drivers/crypto/ccree/cc_aead.c memcpy(req->iv + 12, &counter, 4); iv 1865 drivers/crypto/ccree/cc_aead.c memcpy(req_ctx->gcm_iv_inc1, req->iv, 16); iv 1898 drivers/crypto/ccree/cc_aead.c memcpy(areq_ctx->ctr_iv + GCM_BLOCK_RFC4_IV_OFFSET, req->iv, iv 1900 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->ctr_iv; iv 1918 drivers/crypto/ccree/cc_aead.c ctx, req, req->iv, sg_virt(req->src), req->src->offset, iv 1948 drivers/crypto/ccree/cc_aead.c memcpy(areq_ctx->ctr_iv + CTR_RFC3686_NONCE_SIZE, req->iv, iv 1955 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->ctr_iv; iv 1960 drivers/crypto/ccree/cc_aead.c if (areq_ctx->ctr_iv != req->iv) { iv 1961 drivers/crypto/ccree/cc_aead.c memcpy(areq_ctx->ctr_iv, req->iv, iv 1963 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->ctr_iv; iv 2043 drivers/crypto/ccree/cc_aead.c areq_ctx->backup_iv = req->iv; iv 2051 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->backup_iv; iv 2074 drivers/crypto/ccree/cc_aead.c areq_ctx->backup_iv = req->iv; iv 2082 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->backup_iv; iv 2095 drivers/crypto/ccree/cc_aead.c areq_ctx->backup_iv = req->iv; iv 2103 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->backup_iv; iv 2124 drivers/crypto/ccree/cc_aead.c areq_ctx->backup_iv = req->iv; iv 2132 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->backup_iv; iv 2243 drivers/crypto/ccree/cc_aead.c areq_ctx->backup_iv = req->iv; iv 2252 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->backup_iv; iv 2277 drivers/crypto/ccree/cc_aead.c areq_ctx->backup_iv = req->iv; iv 2285 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->backup_iv; iv 2308 drivers/crypto/ccree/cc_aead.c areq_ctx->backup_iv = req->iv; iv 2317 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->backup_iv; iv 2342 drivers/crypto/ccree/cc_aead.c areq_ctx->backup_iv = req->iv; iv 2350 drivers/crypto/ccree/cc_aead.c req->iv = areq_ctx->backup_iv; iv 530 drivers/crypto/ccree/cc_buffer_mgr.c kzfree(areq_ctx->gen_ctx.iv); iv 585 drivers/crypto/ccree/cc_buffer_mgr.c if (!req->iv) { iv 587 drivers/crypto/ccree/cc_buffer_mgr.c areq_ctx->gen_ctx.iv = NULL; iv 591 drivers/crypto/ccree/cc_buffer_mgr.c areq_ctx->gen_ctx.iv = kmemdup(req->iv, hw_iv_size, flags); iv 592 drivers/crypto/ccree/cc_buffer_mgr.c if (!areq_ctx->gen_ctx.iv) iv 596 drivers/crypto/ccree/cc_buffer_mgr.c dma_map_single(dev, areq_ctx->gen_ctx.iv, hw_iv_size, iv 600 drivers/crypto/ccree/cc_buffer_mgr.c hw_iv_size, req->iv); iv 601 drivers/crypto/ccree/cc_buffer_mgr.c kzfree(areq_ctx->gen_ctx.iv); iv 602 drivers/crypto/ccree/cc_buffer_mgr.c areq_ctx->gen_ctx.iv = NULL; iv 608 drivers/crypto/ccree/cc_buffer_mgr.c hw_iv_size, req->iv, &areq_ctx->gen_ctx.iv_dma_addr); iv 845 drivers/crypto/ccree/cc_cipher.c memcpy(req->iv, req_ctx->iv, ivsize); iv 846 drivers/crypto/ccree/cc_cipher.c kzfree(req_ctx->iv); iv 862 drivers/crypto/ccree/cc_cipher.c void *iv = req->iv; iv 873 drivers/crypto/ccree/cc_cipher.c "Encrypt" : "Decrypt"), req, iv, nbytes); iv 893 drivers/crypto/ccree/cc_cipher.c req_ctx->iv = kmemdup(iv, ivsize, flags); iv 894 drivers/crypto/ccree/cc_cipher.c if (!req_ctx->iv) { iv 916 drivers/crypto/ccree/cc_cipher.c req_ctx->iv, src, dst, flags); iv 950 drivers/crypto/ccree/cc_cipher.c kzfree(req_ctx->iv); iv 23 drivers/crypto/ccree/cc_cipher.h u8 *iv; iv 198 drivers/crypto/ccree/cc_driver.h u8 *iv; iv 699 drivers/crypto/chelsio/chcr_algo.c u8 *iv, iv 709 drivers/crypto/chelsio/chcr_algo.c nbytes, iv); iv 1007 drivers/crypto/chelsio/chcr_algo.c static unsigned int adjust_ctr_overflow(u8 *iv, u32 bytes) iv 1009 drivers/crypto/chelsio/chcr_algo.c __be32 *b = (__be32 *)(iv + AES_BLOCK_SIZE); iv 1020 drivers/crypto/chelsio/chcr_algo.c static int chcr_update_tweak(struct ablkcipher_request *req, u8 *iv, iv 1033 drivers/crypto/chelsio/chcr_algo.c memcpy(iv, reqctx->iv, AES_BLOCK_SIZE); iv 1040 drivers/crypto/chelsio/chcr_algo.c aes_encrypt(&aes, iv, iv); iv 1042 drivers/crypto/chelsio/chcr_algo.c gf128mul_x8_ble((le128 *)iv, (le128 *)iv); iv 1045 drivers/crypto/chelsio/chcr_algo.c gf128mul_x_ble((le128 *)iv, (le128 *)iv); iv 1048 drivers/crypto/chelsio/chcr_algo.c aes_decrypt(&aes, iv, iv); iv 1055 drivers/crypto/chelsio/chcr_algo.c struct cpl_fw6_pld *fw6_pld, u8 *iv) iv 1063 drivers/crypto/chelsio/chcr_algo.c ctr_add_iv(iv, req->info, (reqctx->processed / iv 1066 drivers/crypto/chelsio/chcr_algo.c *(__be32 *)(reqctx->iv + CTR_RFC3686_NONCE_SIZE + iv 1070 drivers/crypto/chelsio/chcr_algo.c ret = chcr_update_tweak(req, iv, 0); iv 1074 drivers/crypto/chelsio/chcr_algo.c memcpy(iv, req->info, AES_BLOCK_SIZE); iv 1076 drivers/crypto/chelsio/chcr_algo.c memcpy(iv, &fw6_pld->data[2], AES_BLOCK_SIZE); iv 1089 drivers/crypto/chelsio/chcr_algo.c struct cpl_fw6_pld *fw6_pld, u8 *iv) iv 1097 drivers/crypto/chelsio/chcr_algo.c ctr_add_iv(iv, req->info, DIV_ROUND_UP(reqctx->processed, iv 1100 drivers/crypto/chelsio/chcr_algo.c ret = chcr_update_tweak(req, iv, 1); iv 1104 drivers/crypto/chelsio/chcr_algo.c memcpy(iv, &fw6_pld->data[2], AES_BLOCK_SIZE); iv 1145 drivers/crypto/chelsio/chcr_algo.c err = chcr_update_cipher_iv(req, fw6_pld, reqctx->iv); iv 1164 drivers/crypto/chelsio/chcr_algo.c bytes = adjust_ctr_overflow(reqctx->iv, bytes); iv 1252 drivers/crypto/chelsio/chcr_algo.c memcpy(reqctx->iv, ablkctx->nonce, CTR_RFC3686_NONCE_SIZE); iv 1253 drivers/crypto/chelsio/chcr_algo.c memcpy(reqctx->iv + CTR_RFC3686_NONCE_SIZE, req->info, iv 1257 drivers/crypto/chelsio/chcr_algo.c *(__be32 *)(reqctx->iv + CTR_RFC3686_NONCE_SIZE + iv 1262 drivers/crypto/chelsio/chcr_algo.c memcpy(reqctx->iv, req->info, IV); iv 1272 drivers/crypto/chelsio/chcr_algo.c reqctx->iv, iv 2276 drivers/crypto/chelsio/chcr_algo.c reqctx->scratch_pad = reqctx->iv + IV; iv 2316 drivers/crypto/chelsio/chcr_algo.c req->iv); iv 2437 drivers/crypto/chelsio/chcr_algo.c memcpy(ivptr + CTR_RFC3686_NONCE_SIZE, req->iv, iv 2442 drivers/crypto/chelsio/chcr_algo.c memcpy(ivptr, req->iv, IV); iv 2474 drivers/crypto/chelsio/chcr_algo.c reqctx->iv_dma = dma_map_single(dev, reqctx->iv, (IV + reqctx->b0_len), iv 2587 drivers/crypto/chelsio/chcr_algo.c memcpy(buf, reqctx->iv, IV); iv 2772 drivers/crypto/chelsio/chcr_algo.c static inline int crypto_ccm_check_iv(const u8 *iv) iv 2775 drivers/crypto/chelsio/chcr_algo.c if (iv[0] < 1 || iv[0] > 7) iv 2795 drivers/crypto/chelsio/chcr_algo.c memcpy(ivptr + 4, req->iv, 8); iv 2798 drivers/crypto/chelsio/chcr_algo.c memcpy(ivptr, req->iv, 16); iv 2869 drivers/crypto/chelsio/chcr_algo.c if (crypto_ccm_check_iv(req->iv)) { iv 3070 drivers/crypto/chelsio/chcr_algo.c memcpy(ivptr + 4, req->iv, GCM_RFC4106_IV_SIZE); iv 3072 drivers/crypto/chelsio/chcr_algo.c memcpy(ivptr, req->iv, GCM_AES_IV_SIZE); iv 291 drivers/crypto/chelsio/chcr_algo.h char *iv; iv 180 drivers/crypto/chelsio/chcr_core.h u8 iv[8]; iv 190 drivers/crypto/chelsio/chcr_crypto.h u8 iv[CHCR_MAX_CRYPTO_IV_LEN + MAX_SCRATCH_PAD_SIZE]; iv 298 drivers/crypto/chelsio/chcr_crypto.h u8 iv[CHCR_MAX_CRYPTO_IV_LEN]; iv 389 drivers/crypto/chelsio/chcr_ipsec.c u8 *iv; iv 407 drivers/crypto/chelsio/chcr_ipsec.c iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); iv 414 drivers/crypto/chelsio/chcr_ipsec.c iv = skb_transport_header(skb) + sizeof(struct ip_esp_hdr); iv 415 drivers/crypto/chelsio/chcr_ipsec.c memcpy(aadiv->iv, iv, 8); iv 338 drivers/crypto/chelsio/chtls/chtls.h u8 iv; iv 104 drivers/crypto/chelsio/chtls/chtls_cm.h #define skb_ulp_tls_iv_imm(skb) (ULP_SKB_CB(skb)->ulp.tls.iv) iv 57 drivers/crypto/chelsio/chtls/chtls_io.c ULP_SKB_CB(skb)->ulp.tls.iv = 1; iv 60 drivers/crypto/chelsio/chtls/chtls_io.c ULP_SKB_CB(skb)->ulp.tls.iv = 0; iv 70 drivers/crypto/geode-aes.c void *dst, u32 len, u8 *iv, int mode, int dir) iv 92 drivers/crypto/geode-aes.c _writefield(AES_WRITEIV0_REG, iv); iv 102 drivers/crypto/geode-aes.c _readfield(AES_WRITEIV0_REG, iv); iv 302 drivers/crypto/geode-aes.c walk.iv, mode, dir); iv 620 drivers/crypto/hifn_795x.c u8 *iv; iv 1072 drivers/crypto/hifn_795x.c u8 *key, int keylen, u8 *iv, int ivsize, u16 mode) iv 1102 drivers/crypto/hifn_795x.c memcpy(buf_pos, iv, ivsize); iv 1146 drivers/crypto/hifn_795x.c if (rctx->iv && rctx->mode != ACRYPTO_MODE_ECB) iv 1201 drivers/crypto/hifn_795x.c rctx->iv, rctx->ivsize, md); iv 1531 drivers/crypto/hifn_795x.c if (rctx->iv && !rctx->ivsize && rctx->mode != ACRYPTO_MODE_ECB) iv 1583 drivers/crypto/hifn_795x.c rctx->iv, rctx->ivsize, iv 2025 drivers/crypto/hifn_795x.c rctx->iv = req->info; iv 460 drivers/crypto/hisilicon/sec/sec_algs.c skreq->iv, iv 467 drivers/crypto/hisilicon/sec/sec_algs.c skreq->iv, iv 476 drivers/crypto/hisilicon/sec/sec_algs.c crypto_inc(skreq->iv, 16); iv 760 drivers/crypto/hisilicon/sec/sec_algs.c sec_req->dma_iv = dma_map_single(info->dev, skreq->iv, iv 68 drivers/crypto/inside-secure/safexcel_cipher.c static void safexcel_cipher_token(struct safexcel_cipher_ctx *ctx, u8 *iv, iv 79 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(&cdesc->control_data.token[1], iv, 8); iv 88 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(&cdesc->control_data.token[0], iv, 12); iv 97 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(&cdesc->control_data.token[0], iv, 15 - iv[0]); iv 99 drivers/crypto/inside-secure/safexcel_cipher.c memset((u8 *)&cdesc->control_data.token[0] + 15 - iv[0], iv 100 drivers/crypto/inside-secure/safexcel_cipher.c 0, iv[0] + 1); iv 120 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(cdesc->control_data.token, iv, block_sz); iv 124 drivers/crypto/inside-secure/safexcel_cipher.c static void safexcel_skcipher_token(struct safexcel_cipher_ctx *ctx, u8 *iv, iv 130 drivers/crypto/inside-secure/safexcel_cipher.c safexcel_cipher_token(ctx, iv, cdesc); iv 144 drivers/crypto/inside-secure/safexcel_cipher.c static void safexcel_aead_token(struct safexcel_cipher_ctx *ctx, u8 *iv, iv 151 drivers/crypto/inside-secure/safexcel_cipher.c safexcel_cipher_token(ctx, iv, cdesc); iv 230 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(cbcmaciv, iv, 15 - iv[0]); iv 234 drivers/crypto/inside-secure/safexcel_cipher.c memset(cbcmaciv + 15 - iv[0], 0, iv[0] - 1); iv 537 drivers/crypto/inside-secure/safexcel_cipher.c sg_pcopy_to_buffer(dst, sreq->nr_dst, areq->iv, iv 552 drivers/crypto/inside-secure/safexcel_cipher.c unsigned int digestsize, u8 *iv, int *commands, iv 595 drivers/crypto/inside-secure/safexcel_cipher.c sg_pcopy_to_buffer(src, sreq->nr_src, areq->iv, iv 685 drivers/crypto/inside-secure/safexcel_cipher.c safexcel_aead_token(ctx, iv, first_cdesc, iv 689 drivers/crypto/inside-secure/safexcel_cipher.c safexcel_skcipher_token(ctx, iv, first_cdesc, iv 915 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(input_iv, req->iv, crypto_skcipher_ivsize(skcipher)); iv 943 drivers/crypto/inside-secure/safexcel_cipher.c crypto_aead_authsize(tfm), req->iv, iv 2265 drivers/crypto/inside-secure/safexcel_cipher.c if (req->iv[0] < 1 || req->iv[0] > 7) iv 2275 drivers/crypto/inside-secure/safexcel_cipher.c if (req->iv[0] < 1 || req->iv[0] > 7) iv 119 drivers/crypto/ixp4xx_crypto.c u8 iv[MAX_IVLEN]; /* IV for CBC mode or CTR IV for CTR mode */ iv 906 drivers/crypto/ixp4xx_crypto.c memcpy(crypt->iv, req->info, ivsize); iv 958 drivers/crypto/ixp4xx_crypto.c u8 iv[CTR_RFC3686_BLOCK_SIZE]; iv 963 drivers/crypto/ixp4xx_crypto.c memcpy(iv, ctx->nonce, CTR_RFC3686_NONCE_SIZE); iv 964 drivers/crypto/ixp4xx_crypto.c memcpy(iv + CTR_RFC3686_NONCE_SIZE, info, CTR_RFC3686_IV_SIZE); iv 967 drivers/crypto/ixp4xx_crypto.c *(__be32 *)(iv + CTR_RFC3686_NONCE_SIZE + CTR_RFC3686_IV_SIZE) = iv 970 drivers/crypto/ixp4xx_crypto.c req->info = iv; iv 977 drivers/crypto/ixp4xx_crypto.c int cryptoffset, int eff_cryptlen, u8 *iv) iv 1022 drivers/crypto/ixp4xx_crypto.c BUG_ON(ivsize && !req->iv); iv 1023 drivers/crypto/ixp4xx_crypto.c memcpy(crypt->iv, req->iv, ivsize); iv 1204 drivers/crypto/ixp4xx_crypto.c return aead_perform(req, 1, req->assoclen, req->cryptlen, req->iv); iv 1209 drivers/crypto/ixp4xx_crypto.c return aead_perform(req, 0, req->assoclen, req->cryptlen, req->iv); iv 243 drivers/crypto/marvell/cesa.h u32 iv[4]; iv 254 drivers/crypto/marvell/cesa.h u32 iv[16]; iv 508 drivers/crypto/marvell/cesa.h u32 iv[16]; iv 212 drivers/crypto/marvell/cipher.c memcpy(skreq->iv, basereq->chain.last->op->ctx.blkcipher.iv, iv 215 drivers/crypto/marvell/cipher.c memcpy_fromio(skreq->iv, iv 526 drivers/crypto/marvell/cipher.c memcpy(tmpl->ctx.blkcipher.iv, req->iv, DES_BLOCK_SIZE); iv 631 drivers/crypto/marvell/cipher.c memcpy(tmpl->ctx.blkcipher.iv, req->iv, DES3_EDE_BLOCK_SIZE); iv 758 drivers/crypto/marvell/cipher.c memcpy(tmpl->ctx.blkcipher.iv, req->iv, AES_BLOCK_SIZE); iv 1240 drivers/crypto/marvell/hash.c memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv)); iv 1259 drivers/crypto/marvell/hash.c ctx->iv[i] = be32_to_cpu(istate.hash[i]); iv 1262 drivers/crypto/marvell/hash.c ctx->iv[i + 8] = be32_to_cpu(ostate.hash[i]); iv 1310 drivers/crypto/marvell/hash.c memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv)); iv 1329 drivers/crypto/marvell/hash.c ctx->iv[i] = be32_to_cpu(istate.state[i]); iv 1332 drivers/crypto/marvell/hash.c ctx->iv[i + 8] = be32_to_cpu(ostate.state[i]); iv 1386 drivers/crypto/marvell/hash.c ctx->iv[i] = be32_to_cpu(istate.state[i]); iv 1389 drivers/crypto/marvell/hash.c ctx->iv[i + 8] = be32_to_cpu(ostate.state[i]); iv 1400 drivers/crypto/marvell/hash.c memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv)); iv 128 drivers/crypto/mediatek/mtk-aes.c u32 iv[AES_BLOCK_SIZE / sizeof(u32)]; iv 588 drivers/crypto/mediatek/mtk-aes.c ctr = be32_to_cpu(cctx->iv[3]); iv 605 drivers/crypto/mediatek/mtk-aes.c mtk_aes_write_state_le(ctx->info.state + ctx->keylen, cctx->iv, iv 613 drivers/crypto/mediatek/mtk-aes.c cctx->iv[3] = cpu_to_be32(ctr); iv 614 drivers/crypto/mediatek/mtk-aes.c crypto_inc((u8 *)cctx->iv, AES_BLOCK_SIZE); iv 628 drivers/crypto/mediatek/mtk-aes.c memcpy(cctx->iv, req->info, AES_BLOCK_SIZE); iv 912 drivers/crypto/mediatek/mtk-aes.c AES_BLOCK_SIZE), (const u32 *)req->iv, ivsize); iv 1020 drivers/crypto/mediatek/mtk-aes.c u8 iv[8]; iv 1069 drivers/crypto/mediatek/mtk-aes.c AES_BLOCK_SIZE, data->iv); iv 967 drivers/crypto/n2_core.c memcpy(rctx->walk.iv, final_iv, rctx->walk.blocksize); iv 1053 drivers/crypto/n2_core.c iv_paddr = __pa(rctx->walk.iv); iv 1070 drivers/crypto/n2_core.c iv_paddr = __pa(rctx->walk.iv); iv 76 drivers/crypto/nx/nx-aes-cbc.c processed, csbcpb->cpb.aes_cbc.iv); iv 123 drivers/crypto/nx/nx-aes-ccm.c static inline int crypto_ccm_check_iv(const u8 *iv) iv 126 drivers/crypto/nx/nx-aes-ccm.c if (1 > iv[0] || iv[0] > 7) iv 133 drivers/crypto/nx/nx-aes-ccm.c static int generate_b0(u8 *iv, unsigned int assoclen, unsigned int authsize, iv 139 drivers/crypto/nx/nx-aes-ccm.c memcpy(b0, iv, 16); iv 156 drivers/crypto/nx/nx-aes-ccm.c static int generate_pat(u8 *iv, iv 172 drivers/crypto/nx/nx-aes-ccm.c memset(iv + 15 - iv[0], 0, iv[0] + 1); iv 211 drivers/crypto/nx/nx-aes-ccm.c rc = generate_b0(iv, assoclen, authsize, nbytes, b0); iv 485 drivers/crypto/nx/nx-aes-ccm.c u8 *iv = rctx->iv; iv 487 drivers/crypto/nx/nx-aes-ccm.c iv[0] = 3; iv 488 drivers/crypto/nx/nx-aes-ccm.c memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); iv 489 drivers/crypto/nx/nx-aes-ccm.c memcpy(iv + 4, req->iv, 8); iv 491 drivers/crypto/nx/nx-aes-ccm.c desc.info = iv; iv 501 drivers/crypto/nx/nx-aes-ccm.c desc.info = req->iv; iv 515 drivers/crypto/nx/nx-aes-ccm.c u8 *iv = rctx->iv; iv 517 drivers/crypto/nx/nx-aes-ccm.c iv[0] = 3; iv 518 drivers/crypto/nx/nx-aes-ccm.c memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); iv 519 drivers/crypto/nx/nx-aes-ccm.c memcpy(iv + 4, req->iv, 8); iv 521 drivers/crypto/nx/nx-aes-ccm.c desc.info = iv; iv 531 drivers/crypto/nx/nx-aes-ccm.c desc.info = req->iv; iv 89 drivers/crypto/nx/nx-aes-ctr.c processed, csbcpb->cpb.aes_ctr.iv); iv 122 drivers/crypto/nx/nx-aes-ctr.c u8 iv[16]; iv 124 drivers/crypto/nx/nx-aes-ctr.c memcpy(iv, nx_ctx->priv.ctr.nonce, CTR_RFC3686_IV_SIZE); iv 125 drivers/crypto/nx/nx-aes-ctr.c memcpy(iv + CTR_RFC3686_NONCE_SIZE, iv 127 drivers/crypto/nx/nx-aes-ctr.c iv[12] = iv[13] = iv[14] = 0; iv 128 drivers/crypto/nx/nx-aes-ctr.c iv[15] = 1; iv 130 drivers/crypto/nx/nx-aes-ctr.c desc->info = iv; iv 324 drivers/crypto/nx/nx-aes-gcm.c desc.info = rctx->iv; iv 423 drivers/crypto/nx/nx-aes-gcm.c char *iv = rctx->iv; iv 425 drivers/crypto/nx/nx-aes-gcm.c memcpy(iv, req->iv, GCM_AES_IV_SIZE); iv 433 drivers/crypto/nx/nx-aes-gcm.c char *iv = rctx->iv; iv 435 drivers/crypto/nx/nx-aes-gcm.c memcpy(iv, req->iv, GCM_AES_IV_SIZE); iv 445 drivers/crypto/nx/nx-aes-gcm.c char *iv = rctx->iv; iv 448 drivers/crypto/nx/nx-aes-gcm.c memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); iv 449 drivers/crypto/nx/nx-aes-gcm.c memcpy(iv + NX_GCM4106_NONCE_LEN, req->iv, 8); iv 462 drivers/crypto/nx/nx-aes-gcm.c char *iv = rctx->iv; iv 465 drivers/crypto/nx/nx-aes-gcm.c memcpy(iv, nonce, NX_GCM4106_NONCE_LEN); iv 466 drivers/crypto/nx/nx-aes-gcm.c memcpy(iv + NX_GCM4106_NONCE_LEN, req->iv, 8); iv 264 drivers/crypto/nx/nx.c u8 *iv) iv 277 drivers/crypto/nx/nx.c if (iv) iv 278 drivers/crypto/nx/nx.c memcpy(iv, desc->info, AES_BLOCK_SIZE); iv 87 drivers/crypto/nx/nx.h u8 iv[16]; iv 99 drivers/crypto/nx/nx.h u8 iv[16]; iv 12 drivers/crypto/nx/nx_csbcpb.h u8 iv[16]; iv 43 drivers/crypto/nx/nx_csbcpb.h u8 iv[16]; iv 175 drivers/crypto/omap-aes-gcm.c static int do_encrypt_iv(struct aead_request *req, u32 *tag, u32 *iv) iv 191 drivers/crypto/omap-aes-gcm.c sg_init_one(&iv_sg, iv, AES_BLOCK_SIZE); iv 311 drivers/crypto/omap-aes-gcm.c memcpy(rctx->iv + GCM_AES_IV_SIZE, &counter, 4); iv 313 drivers/crypto/omap-aes-gcm.c err = do_encrypt_iv(req, (u32 *)rctx->auth_tag, (u32 *)rctx->iv); iv 339 drivers/crypto/omap-aes-gcm.c memcpy(rctx->iv, req->iv, GCM_AES_IV_SIZE); iv 347 drivers/crypto/omap-aes-gcm.c memcpy(rctx->iv, req->iv, GCM_AES_IV_SIZE); iv 356 drivers/crypto/omap-aes-gcm.c memcpy(rctx->iv, ctx->nonce, 4); iv 357 drivers/crypto/omap-aes-gcm.c memcpy(rctx->iv + 4, req->iv, 8); iv 367 drivers/crypto/omap-aes-gcm.c memcpy(rctx->iv, ctx->nonce, 4); iv 368 drivers/crypto/omap-aes-gcm.c memcpy(rctx->iv + 4, req->iv, 8); iv 148 drivers/crypto/omap-aes.c if ((dd->flags & (FLAGS_GCM)) && dd->aead_req->iv) { iv 150 drivers/crypto/omap-aes.c omap_aes_write_n(dd, AES_REG_IV(dd, 0), (u32 *)rctx->iv, 4); iv 107 drivers/crypto/omap-aes.h u8 iv[AES_BLOCK_SIZE]; iv 200 drivers/crypto/padlock-aes.c u8 *iv, struct cword *control_word, int count) iv 203 drivers/crypto/padlock-aes.c : "+S" (input), "+D" (output), "+a" (iv) iv 205 drivers/crypto/padlock-aes.c return iv; iv 223 drivers/crypto/padlock-aes.c u8 *iv, struct cword *cword, int count) iv 233 drivers/crypto/padlock-aes.c return rep_xcrypt_cbc(tmp, out, key, iv, cword, count); iv 251 drivers/crypto/padlock-aes.c u8 *iv, struct cword *cword, int count) iv 255 drivers/crypto/padlock-aes.c return cbc_crypt_copy(in, out, key, iv, cword, count); iv 257 drivers/crypto/padlock-aes.c return rep_xcrypt_cbc(in, out, key, iv, cword, count); iv 283 drivers/crypto/padlock-aes.c u8 *iv, void *control_word, u32 count) iv 288 drivers/crypto/padlock-aes.c return cbc_crypt(input, output, key, iv, control_word, count); iv 294 drivers/crypto/padlock-aes.c : "+S" (input), "+D" (output), "+a" (iv) iv 298 drivers/crypto/padlock-aes.c : "+S" (input), "+D" (output), "+a" (iv) iv 300 drivers/crypto/padlock-aes.c return iv; iv 428 drivers/crypto/padlock-aes.c u8 *iv = padlock_xcrypt_cbc(walk.src.virt.addr, iv 430 drivers/crypto/padlock-aes.c walk.iv, &ctx->cword.encrypt, iv 432 drivers/crypto/padlock-aes.c memcpy(walk.iv, iv, AES_BLOCK_SIZE); iv 457 drivers/crypto/padlock-aes.c ctx->D, walk.iv, &ctx->cword.decrypt, iv 221 drivers/crypto/picoxcell_crypto.c size_t key_len, const u8 *iv, size_t iv_len) iv 227 drivers/crypto/picoxcell_crypto.c memcpy_toio32(iv_ptr, iv, iv_len / 4); iv 237 drivers/crypto/picoxcell_crypto.c const u8 *iv, size_t ivlen, const u8 *hash_key, iv 247 drivers/crypto/picoxcell_crypto.c spacc_cipher_write_ctx(ctx, ciph_page_addr, ciph_key, ciph_len, iv, iv 542 drivers/crypto/picoxcell_crypto.c req->iv); iv 569 drivers/crypto/picoxcell_crypto.c ctx->cipher_key_len, aead_req->iv, crypto_aead_ivsize(aead), iv 849 drivers/crypto/qat/qat_common/qat_algs.c memcpy(areq->info, qat_req->iv, AES_BLOCK_SIZE); iv 850 drivers/crypto/qat/qat_common/qat_algs.c dma_free_coherent(dev, AES_BLOCK_SIZE, qat_req->iv, iv 892 drivers/crypto/qat/qat_common/qat_algs.c memcpy(cipher_param->u.cipher_IV_array, areq->iv, AES_BLOCK_SIZE); iv 916 drivers/crypto/qat/qat_common/qat_algs.c uint8_t *iv = areq->iv; iv 934 drivers/crypto/qat/qat_common/qat_algs.c memcpy(cipher_param->u.cipher_IV_array, iv, AES_BLOCK_SIZE); iv 1062 drivers/crypto/qat/qat_common/qat_algs.c qat_req->iv = dma_alloc_coherent(dev, AES_BLOCK_SIZE, iv 1064 drivers/crypto/qat/qat_common/qat_algs.c if (!qat_req->iv) iv 1069 drivers/crypto/qat/qat_common/qat_algs.c dma_free_coherent(dev, AES_BLOCK_SIZE, qat_req->iv, iv 1086 drivers/crypto/qat/qat_common/qat_algs.c memcpy(qat_req->iv, req->info, AES_BLOCK_SIZE); iv 1093 drivers/crypto/qat/qat_common/qat_algs.c dma_free_coherent(dev, AES_BLOCK_SIZE, qat_req->iv, iv 1122 drivers/crypto/qat/qat_common/qat_algs.c qat_req->iv = dma_alloc_coherent(dev, AES_BLOCK_SIZE, iv 1124 drivers/crypto/qat/qat_common/qat_algs.c if (!qat_req->iv) iv 1129 drivers/crypto/qat/qat_common/qat_algs.c dma_free_coherent(dev, AES_BLOCK_SIZE, qat_req->iv, iv 1146 drivers/crypto/qat/qat_common/qat_algs.c memcpy(qat_req->iv, req->info, AES_BLOCK_SIZE); iv 1153 drivers/crypto/qat/qat_common/qat_algs.c dma_free_coherent(dev, AES_BLOCK_SIZE, qat_req->iv, iv 91 drivers/crypto/qat/qat_common/qat_crypto.h void *iv; iv 65 drivers/crypto/qce/ablkcipher.c rctx->iv = req->info; iv 36 drivers/crypto/qce/cipher.h u8 *iv; iv 356 drivers/crypto/qce/common.c qce_xts_swapiv(enciv, rctx->iv, ivsize); iv 358 drivers/crypto/qce/common.c qce_cpu_to_be32p_array(enciv, rctx->iv, ivsize); iv 248 drivers/crypto/rockchip/rk3288_crypto.h u8 iv[AES_BLOCK_SIZE]; iv 259 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c memcpy(ctx->iv, src_last_blk, ivsize); iv 323 drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c new_iv = ctx->iv; iv 1838 drivers/crypto/s5p-sss.c const u8 *key, const u8 *iv, const u8 *ctr, iv 1843 drivers/crypto/s5p-sss.c if (iv) iv 1844 drivers/crypto/s5p-sss.c memcpy_toio(dev->aes_ioaddr + SSS_REG_AES_IV_DATA(0), iv, iv 1932 drivers/crypto/s5p-sss.c u8 *iv, *ctr; iv 1941 drivers/crypto/s5p-sss.c iv = req->info; iv 1945 drivers/crypto/s5p-sss.c iv = NULL; iv 1948 drivers/crypto/s5p-sss.c iv = NULL; /* AES_ECB */ iv 1981 drivers/crypto/s5p-sss.c s5p_set_aes(dev, dev->ctx->aes_key, iv, ctr, dev->ctx->keylen); iv 382 drivers/crypto/stm32/stm32-cryp.c static void stm32_cryp_hw_write_iv(struct stm32_cryp *cryp, u32 *iv) iv 384 drivers/crypto/stm32/stm32-cryp.c if (!iv) iv 387 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_IV0LR, cpu_to_be32(*iv++)); iv 388 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_IV0RR, cpu_to_be32(*iv++)); iv 391 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_IV1LR, cpu_to_be32(*iv++)); iv 392 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_write(cryp, CRYP_IV1RR, cpu_to_be32(*iv++)); iv 471 drivers/crypto/stm32/stm32-cryp.c u32 iv[4]; iv 474 drivers/crypto/stm32/stm32-cryp.c memcpy(iv, cryp->areq->iv, 12); iv 475 drivers/crypto/stm32/stm32-cryp.c iv[3] = cpu_to_be32(GCM_CTR_INIT); iv 477 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_hw_write_iv(cryp, iv); iv 492 drivers/crypto/stm32/stm32-cryp.c u8 iv[AES_BLOCK_SIZE], b0[AES_BLOCK_SIZE]; iv 497 drivers/crypto/stm32/stm32-cryp.c memcpy(iv, cryp->areq->iv, AES_BLOCK_SIZE); iv 498 drivers/crypto/stm32/stm32-cryp.c memset(iv + AES_BLOCK_SIZE - 1 - iv[0], 0, iv[0] + 1); iv 499 drivers/crypto/stm32/stm32-cryp.c iv[AES_BLOCK_SIZE - 1] = 1; iv 500 drivers/crypto/stm32/stm32-cryp.c stm32_cryp_hw_write_iv(cryp, (u32 *)iv); iv 503 drivers/crypto/stm32/stm32-cryp.c memcpy(b0, iv, AES_BLOCK_SIZE); iv 1137 drivers/crypto/stm32/stm32-cryp.c u8 iv[AES_BLOCK_SIZE]; iv 1138 drivers/crypto/stm32/stm32-cryp.c u32 *iv32 = (u32 *)iv; iv 1140 drivers/crypto/stm32/stm32-cryp.c memcpy(iv, cryp->areq->iv, AES_BLOCK_SIZE); iv 1141 drivers/crypto/stm32/stm32-cryp.c memset(iv + AES_BLOCK_SIZE - 1 - iv[0], 0, iv[0] + 1); iv 50 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (areq->iv) { iv 52 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c v = *(u32 *)(areq->iv + i * 4); iv 104 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (areq->iv) { iv 107 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c *(u32 *)(areq->iv + i * 4) = v; iv 132 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c areq->cryptlen, areq->iv); iv 212 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (areq->iv) { iv 214 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c v = *(u32 *)(areq->iv + i * 4); iv 330 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (areq->iv) { iv 333 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c *(u32 *)(areq->iv + i * 4) = v; iv 854 drivers/crypto/talitos.c u8 iv[TALITOS_MAX_IV_LENGTH]; iv 1018 drivers/crypto/talitos.c sg_pcopy_to_buffer(areq->dst, dst_nents, ctx->iv, ivsize, iv 1302 drivers/crypto/talitos.c map_single_talitos_ptr(dev, &desc->ptr[6], ivsize, ctx->iv, iv 1324 drivers/crypto/talitos.c u8 *iv, iv 1402 drivers/crypto/talitos.c iv = memcpy(((u8 *)edesc) + alloc_len - ivsize, iv, ivsize); iv 1403 drivers/crypto/talitos.c iv_dma = dma_map_single(dev, iv, ivsize, DMA_TO_DEVICE); iv 1419 drivers/crypto/talitos.c static struct talitos_edesc *aead_edesc_alloc(struct aead_request *areq, u8 *iv, iv 1429 drivers/crypto/talitos.c iv, areq->assoclen, cryptlen, iv 1441 drivers/crypto/talitos.c edesc = aead_edesc_alloc(req, req->iv, 0, true); iv 1461 drivers/crypto/talitos.c edesc = aead_edesc_alloc(req, req->iv, 1, false); iv 1563 drivers/crypto/talitos.c memcpy(areq->info, ctx->iv, ivsize); iv 1624 drivers/crypto/talitos.c map_single_talitos_ptr(dev, &desc->ptr[5], ivsize, ctx->iv, iv 79 drivers/crypto/ux500/cryp/cryp_core.c u8 *iv; iv 286 drivers/crypto/ux500/cryp/cryp_core.c u32 iv[AES_BLOCK_SIZE / 4]; iv 302 drivers/crypto/ux500/cryp/cryp_core.c iv[i] = uint8p_to_uint32_be(ctx->iv + i*4); iv 305 drivers/crypto/ux500/cryp/cryp_core.c status = cfg_iv(device_data, iv[i*2], iv[i*2+1], iv 395 drivers/crypto/ux500/cryp/cryp_core.c if (ctx->iv && iv 915 drivers/crypto/ux500/cryp/cryp_core.c ctx->iv = walk.iv; iv 35 drivers/crypto/virtio/virtio_crypto_algs.c uint8_t *iv; iv 359 drivers/crypto/virtio/virtio_crypto_algs.c uint8_t *iv; iv 437 drivers/crypto/virtio/virtio_crypto_algs.c iv = kzalloc_node(ivsize, GFP_ATOMIC, iv 439 drivers/crypto/virtio/virtio_crypto_algs.c if (!iv) { iv 443 drivers/crypto/virtio/virtio_crypto_algs.c memcpy(iv, req->info, ivsize); iv 449 drivers/crypto/virtio/virtio_crypto_algs.c sg_init_one(&iv_sg, iv, ivsize); iv 451 drivers/crypto/virtio/virtio_crypto_algs.c vc_sym_req->iv = iv; iv 478 drivers/crypto/virtio/virtio_crypto_algs.c kzfree(iv); iv 589 drivers/crypto/virtio/virtio_crypto_algs.c kzfree(vc_sym_req->iv); iv 97 drivers/crypto/vmx/aes_cbc.c walk.iv, enc); iv 72 drivers/crypto/vmx/aes_ctr.c u8 *ctrblk = walk->iv; iv 114 drivers/crypto/vmx/aes_ctr.c &ctx->enc_key, walk.iv); iv 120 drivers/crypto/vmx/aes_ctr.c crypto_inc(walk.iv, AES_BLOCK_SIZE); iv 107 drivers/crypto/vmx/aes_xts.c aes_p8_encrypt(walk.iv, tweak, &ctx->tweak_key); iv 17 drivers/crypto/vmx/aesp8-ppc.h const struct aes_key *key, u8 *iv, const int enc); iv 20 drivers/crypto/vmx/aesp8-ppc.h const u8 *iv); iv 22 drivers/crypto/vmx/aesp8-ppc.h const struct aes_key *key1, const struct aes_key *key2, u8 *iv); iv 24 drivers/crypto/vmx/aesp8-ppc.h const struct aes_key *key1, const struct aes_key *key2, u8 *iv); iv 68 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h #define amdgpu_ih_decode_iv(adev, iv) \ iv 69 drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h (adev)->irq.ih_funcs->decode_iv((adev), (ih), (iv)) iv 77 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h TP_PROTO(unsigned ih, struct amdgpu_iv_entry *iv), iv 78 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h TP_ARGS(ih, iv), iv 93 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->client_id = iv->client_id; iv 94 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->src_id = iv->src_id; iv 95 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->ring_id = iv->ring_id; iv 96 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->vmid = iv->vmid; iv 97 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->vmid_src = iv->vmid_src; iv 98 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->timestamp = iv->timestamp; iv 99 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->timestamp_src = iv->timestamp_src; iv 100 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->pasid = iv->pasid; iv 101 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->src_data[0] = iv->src_data[0]; iv 102 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->src_data[1] = iv->src_data[1]; iv 103 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->src_data[2] = iv->src_data[2]; iv 104 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h __entry->src_data[3] = iv->src_data[3]; iv 902 drivers/i2c/busses/i2c-omap.c u16 iv, w; iv 907 drivers/i2c/busses/i2c-omap.c iv = omap_i2c_read_reg(omap, OMAP_I2C_IV_REG); iv 908 drivers/i2c/busses/i2c-omap.c switch (iv) { iv 4237 drivers/infiniband/hw/mlx5/main.c memcpy(&accel_attrs.keymat.aes_gcm.seq_iv, &aes_gcm->iv, iv 95 drivers/md/dm-crypt.c int (*generator)(struct crypt_config *cc, u8 *iv, iv 97 drivers/md/dm-crypt.c int (*post)(struct crypt_config *cc, u8 *iv, iv 290 drivers/md/dm-crypt.c static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, iv 293 drivers/md/dm-crypt.c memset(iv, 0, cc->iv_size); iv 294 drivers/md/dm-crypt.c *(__le32 *)iv = cpu_to_le32(dmreq->iv_sector & 0xffffffff); iv 299 drivers/md/dm-crypt.c static int crypt_iv_plain64_gen(struct crypt_config *cc, u8 *iv, iv 302 drivers/md/dm-crypt.c memset(iv, 0, cc->iv_size); iv 303 drivers/md/dm-crypt.c *(__le64 *)iv = cpu_to_le64(dmreq->iv_sector); iv 308 drivers/md/dm-crypt.c static int crypt_iv_plain64be_gen(struct crypt_config *cc, u8 *iv, iv 311 drivers/md/dm-crypt.c memset(iv, 0, cc->iv_size); iv 313 drivers/md/dm-crypt.c *(__be64 *)&iv[cc->iv_size - sizeof(u64)] = cpu_to_be64(dmreq->iv_sector); iv 318 drivers/md/dm-crypt.c static int crypt_iv_essiv_gen(struct crypt_config *cc, u8 *iv, iv 325 drivers/md/dm-crypt.c memset(iv, 0, cc->iv_size); iv 326 drivers/md/dm-crypt.c *(__le64 *)iv = cpu_to_le64(dmreq->iv_sector); iv 365 drivers/md/dm-crypt.c static int crypt_iv_benbi_gen(struct crypt_config *cc, u8 *iv, iv 370 drivers/md/dm-crypt.c memset(iv, 0, cc->iv_size - sizeof(u64)); /* rest is cleared below */ iv 373 drivers/md/dm-crypt.c put_unaligned(val, (__be64 *)(iv + cc->iv_size - sizeof(u64))); iv 378 drivers/md/dm-crypt.c static int crypt_iv_null_gen(struct crypt_config *cc, u8 *iv, iv 381 drivers/md/dm-crypt.c memset(iv, 0, cc->iv_size); iv 453 drivers/md/dm-crypt.c static int crypt_iv_lmk_one(struct crypt_config *cc, u8 *iv, iv 496 drivers/md/dm-crypt.c memcpy(iv, &md5state.hash, cc->iv_size); iv 501 drivers/md/dm-crypt.c static int crypt_iv_lmk_gen(struct crypt_config *cc, u8 *iv, iv 511 drivers/md/dm-crypt.c r = crypt_iv_lmk_one(cc, iv, dmreq, src + sg->offset); iv 514 drivers/md/dm-crypt.c memset(iv, 0, cc->iv_size); iv 519 drivers/md/dm-crypt.c static int crypt_iv_lmk_post(struct crypt_config *cc, u8 *iv, iv 531 drivers/md/dm-crypt.c r = crypt_iv_lmk_one(cc, iv, dmreq, dst + sg->offset); iv 535 drivers/md/dm-crypt.c crypto_xor(dst + sg->offset, iv, cc->iv_size); iv 647 drivers/md/dm-crypt.c static int crypt_iv_tcw_gen(struct crypt_config *cc, u8 *iv, iv 665 drivers/md/dm-crypt.c crypto_xor_cpy(iv, tcw->iv_seed, (u8 *)§or, 8); iv 667 drivers/md/dm-crypt.c crypto_xor_cpy(&iv[8], tcw->iv_seed + 8, (u8 *)§or, iv 673 drivers/md/dm-crypt.c static int crypt_iv_tcw_post(struct crypt_config *cc, u8 *iv, iv 692 drivers/md/dm-crypt.c static int crypt_iv_random_gen(struct crypt_config *cc, u8 *iv, iv 696 drivers/md/dm-crypt.c get_random_bytes(iv, cc->iv_size); iv 717 drivers/md/dm-crypt.c static int crypt_iv_eboiv_gen(struct crypt_config *cc, u8 *iv, iv 734 drivers/md/dm-crypt.c sg_init_one(&dst, iv, cc->iv_size); iv 974 drivers/md/dm-crypt.c u8 *iv, *org_iv, *tag_iv, *tag; iv 995 drivers/md/dm-crypt.c iv = iv_of_dmreq(cc, dmreq); iv 1030 drivers/md/dm-crypt.c memcpy(iv, org_iv, cc->iv_size); iv 1036 drivers/md/dm-crypt.c cc->sector_size, iv); iv 1043 drivers/md/dm-crypt.c cc->sector_size + cc->integrity_tag_size, iv); iv 1071 drivers/md/dm-crypt.c u8 *iv, *org_iv, *tag_iv; iv 1087 drivers/md/dm-crypt.c iv = iv_of_dmreq(cc, dmreq); iv 1117 drivers/md/dm-crypt.c memcpy(iv, org_iv, cc->iv_size); iv 1120 drivers/md/dm-crypt.c skcipher_request_set_crypt(req, sg_in, sg_out, cc->sector_size, iv); iv 893 drivers/md/dm-integrity.c char *iv; iv 900 drivers/md/dm-integrity.c iv = req->iv; iv 902 drivers/md/dm-integrity.c memcpy(iv, iv + ivsize, ivsize); iv 3497 drivers/md/dm-integrity.c section_req->iv = kmalloc_array(ivsize, 2, iv 3499 drivers/md/dm-integrity.c if (!section_req->iv) { iv 3505 drivers/md/dm-integrity.c memcpy(section_req->iv + ivsize, crypt_data, ivsize); iv 4160 drivers/md/dm-integrity.c kzfree(req->iv); iv 1133 drivers/media/i2c/ov9650.c const struct ov965x_interval *iv = &ov965x_intervals[i]; iv 1135 drivers/media/i2c/ov9650.c if (mbus_fmt->width != iv->size.width || iv 1136 drivers/media/i2c/ov9650.c mbus_fmt->height != iv->size.height) iv 1138 drivers/media/i2c/ov9650.c err = abs((u64)(iv->interval.numerator * 10000) / iv 1139 drivers/media/i2c/ov9650.c iv->interval.denominator - req_int); iv 1141 drivers/media/i2c/ov9650.c fiv = iv; iv 904 drivers/media/i2c/s5c73m3/s5c73m3-core.c const struct s5c73m3_interval *iv = &s5c73m3_intervals[i]; iv 906 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (prev_size->width > iv->size.width || iv 907 drivers/media/i2c/s5c73m3/s5c73m3-core.c prev_size->height > iv->size.height) iv 910 drivers/media/i2c/s5c73m3/s5c73m3-core.c ret = abs(iv->interval.numerator / 1000 - fr_time); iv 912 drivers/media/i2c/s5c73m3/s5c73m3-core.c fiv = iv; iv 960 drivers/media/i2c/s5k6aa.c const struct s5k6aa_interval *iv = &s5k6aa_intervals[i]; iv 962 drivers/media/i2c/s5k6aa.c if (mbus_fmt->width > iv->size.width || iv 963 drivers/media/i2c/s5k6aa.c mbus_fmt->height > iv->size.height) iv 966 drivers/media/i2c/s5k6aa.c err = abs(iv->reg_fr_time - fr_time); iv 968 drivers/media/i2c/s5k6aa.c fiv = iv; iv 569 drivers/media/platform/exynos4-is/fimc-isp-video.c struct fimc_is_video *iv; iv 574 drivers/media/platform/exynos4-is/fimc-isp-video.c iv = &isp->video_capture; iv 579 drivers/media/platform/exynos4-is/fimc-isp-video.c INIT_LIST_HEAD(&iv->pending_buf_q); iv 580 drivers/media/platform/exynos4-is/fimc-isp-video.c INIT_LIST_HEAD(&iv->active_buf_q); iv 581 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->format = fimc_isp_find_format(NULL, NULL, 0); iv 582 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.width = IS_DEFAULT_WIDTH; iv 583 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.height = IS_DEFAULT_HEIGHT; iv 584 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.pixelformat = iv->format->fourcc; iv 585 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.colorspace = V4L2_COLORSPACE_SRGB; iv 586 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->reqbufs_count = 0; iv 603 drivers/media/platform/exynos4-is/fimc-isp-video.c vdev = &iv->ve.vdev; iv 615 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pad.flags = MEDIA_PAD_FL_SINK; iv 616 drivers/media/platform/exynos4-is/fimc-isp-video.c ret = media_entity_pads_init(&vdev->entity, 1, &iv->pad); iv 43 drivers/net/ethernet/netronome/nfp/crypto/fw.h __be32 iv[2]; iv 340 drivers/net/ethernet/netronome/nfp/crypto/tls.c memcpy(back->iv, tls_ci->iv, TLS_CIPHER_AES_GCM_128_IV_SIZE); iv 523 drivers/net/macsec.c static void macsec_fill_iv(unsigned char *iv, sci_t sci, u32 pn) iv 525 drivers/net/macsec.c struct gcm_iv *gcm_iv = (struct gcm_iv *)iv; iv 617 drivers/net/macsec.c unsigned char **iv, iv 637 drivers/net/macsec.c *iv = (unsigned char *)(tmp + iv_offset); iv 652 drivers/net/macsec.c unsigned char *iv; iv 733 drivers/net/macsec.c req = macsec_alloc_req(tx_sa->key.tfm, &iv, &sg, ret); iv 740 drivers/net/macsec.c macsec_fill_iv(iv, secy->sci, pn); iv 754 drivers/net/macsec.c aead_request_set_crypt(req, sg, sg, len, iv); iv 757 drivers/net/macsec.c aead_request_set_crypt(req, sg, sg, 0, iv); iv 932 drivers/net/macsec.c unsigned char *iv; iv 947 drivers/net/macsec.c req = macsec_alloc_req(rx_sa->key.tfm, &iv, &sg, ret); iv 954 drivers/net/macsec.c macsec_fill_iv(iv, sci, ntohl(hdr->packet_number)); iv 970 drivers/net/macsec.c aead_request_set_crypt(req, sg, sg, len, iv); iv 979 drivers/net/macsec.c aead_request_set_crypt(req, sg, sg, icv_len, iv); iv 2756 drivers/net/wireless/broadcom/b43/main.c const struct b43_iv *iv; iv 2762 drivers/net/wireless/broadcom/b43/main.c iv = ivals; iv 2764 drivers/net/wireless/broadcom/b43/main.c if (array_size < sizeof(iv->offset_size)) iv 2766 drivers/net/wireless/broadcom/b43/main.c array_size -= sizeof(iv->offset_size); iv 2767 drivers/net/wireless/broadcom/b43/main.c offset = be16_to_cpu(iv->offset_size); iv 2775 drivers/net/wireless/broadcom/b43/main.c if (array_size < sizeof(iv->data.d32)) iv 2777 drivers/net/wireless/broadcom/b43/main.c array_size -= sizeof(iv->data.d32); iv 2779 drivers/net/wireless/broadcom/b43/main.c value = get_unaligned_be32(&iv->data.d32); iv 2782 drivers/net/wireless/broadcom/b43/main.c iv = (const struct b43_iv *)((const uint8_t *)iv + iv 2788 drivers/net/wireless/broadcom/b43/main.c if (array_size < sizeof(iv->data.d16)) iv 2790 drivers/net/wireless/broadcom/b43/main.c array_size -= sizeof(iv->data.d16); iv 2792 drivers/net/wireless/broadcom/b43/main.c value = be16_to_cpu(iv->data.d16); iv 2795 drivers/net/wireless/broadcom/b43/main.c iv = (const struct b43_iv *)((const uint8_t *)iv + iv 329 drivers/net/wireless/broadcom/b43/xmit.c txhdr->iv[i * 2 + 0] = phase1key[i]; iv 330 drivers/net/wireless/broadcom/b43/xmit.c txhdr->iv[i * 2 + 1] = phase1key[i] >> 8; iv 333 drivers/net/wireless/broadcom/b43/xmit.c memcpy(txhdr->iv + 10, ((u8 *) wlhdr) + wlhdr_len, 3); iv 336 drivers/net/wireless/broadcom/b43/xmit.c ARRAY_SIZE(txhdr->iv)); iv 337 drivers/net/wireless/broadcom/b43/xmit.c memcpy(txhdr->iv, ((u8 *) wlhdr) + wlhdr_len, iv_len); iv 38 drivers/net/wireless/broadcom/b43/xmit.h __u8 iv[16]; /* Encryption IV */ iv 1784 drivers/net/wireless/broadcom/b43legacy/main.c const struct b43legacy_iv *iv; iv 1790 drivers/net/wireless/broadcom/b43legacy/main.c iv = ivals; iv 1792 drivers/net/wireless/broadcom/b43legacy/main.c if (array_size < sizeof(iv->offset_size)) iv 1794 drivers/net/wireless/broadcom/b43legacy/main.c array_size -= sizeof(iv->offset_size); iv 1795 drivers/net/wireless/broadcom/b43legacy/main.c offset = be16_to_cpu(iv->offset_size); iv 1803 drivers/net/wireless/broadcom/b43legacy/main.c if (array_size < sizeof(iv->data.d32)) iv 1805 drivers/net/wireless/broadcom/b43legacy/main.c array_size -= sizeof(iv->data.d32); iv 1807 drivers/net/wireless/broadcom/b43legacy/main.c value = get_unaligned_be32(&iv->data.d32); iv 1810 drivers/net/wireless/broadcom/b43legacy/main.c iv = (const struct b43legacy_iv *)((const uint8_t *)iv + iv 1816 drivers/net/wireless/broadcom/b43legacy/main.c if (array_size < sizeof(iv->data.d16)) iv 1818 drivers/net/wireless/broadcom/b43legacy/main.c array_size -= sizeof(iv->data.d16); iv 1820 drivers/net/wireless/broadcom/b43legacy/main.c value = be16_to_cpu(iv->data.d16); iv 1823 drivers/net/wireless/broadcom/b43legacy/main.c iv = (const struct b43legacy_iv *)((const uint8_t *)iv + iv 245 drivers/net/wireless/broadcom/b43legacy/xmit.c ARRAY_SIZE(txhdr->iv)); iv 246 drivers/net/wireless/broadcom/b43legacy/xmit.c memcpy(txhdr->iv, ((u8 *)wlhdr) + wlhdr_len, iv_len); iv 30 drivers/net/wireless/broadcom/b43legacy/xmit.h __u8 iv[16]; /* Encryption IV */ iv 1641 drivers/net/wireless/cisco/airo.c u8 iv[AES_BLOCK_SIZE] = {}; iv 1651 drivers/net/wireless/cisco/airo.c skcipher_request_set_crypt(req, &sg, &sg, sizeof(context->coeff), iv); iv 468 drivers/net/wireless/intersil/p54/txrx.c u8 *iv = (u8 *)(entry_data->align + pad + iv 472 drivers/net/wireless/intersil/p54/txrx.c iv[2] = iv[0]; iv 473 drivers/net/wireless/intersil/p54/txrx.c iv[0] = iv[1]; iv 474 drivers/net/wireless/intersil/p54/txrx.c iv[1] = (iv[0] | 0x20) & 0x7f; /* WEPSeed - 8.3.2.2 */ iv 813 drivers/net/wireless/intersil/p54/txrx.c u8 *iv = (u8 *)(skb->data + crypt_offset); iv 818 drivers/net/wireless/intersil/p54/txrx.c iv[1] = iv[0]; iv 819 drivers/net/wireless/intersil/p54/txrx.c iv[0] = iv[2]; iv 820 drivers/net/wireless/intersil/p54/txrx.c iv[2] = 0; iv 540 drivers/net/wireless/mediatek/mt76/mac80211.c BUILD_BUG_ON(sizeof(status->iv) != sizeof(wcid->rx_key_pn[0])); iv 541 drivers/net/wireless/mediatek/mt76/mac80211.c ret = memcmp(status->iv, wcid->rx_key_pn[status->tid], iv 542 drivers/net/wireless/mediatek/mt76/mac80211.c sizeof(status->iv)); iv 546 drivers/net/wireless/mediatek/mt76/mac80211.c memcpy(wcid->rx_key_pn[status->tid], status->iv, sizeof(status->iv)); iv 830 drivers/net/wireless/mediatek/mt76/mac80211.c u8 *hdr, *pn = status->iv; iv 517 drivers/net/wireless/mediatek/mt76/mt76.h u8 iv[6]; iv 456 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->iv[0] = data[5]; iv 457 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->iv[1] = data[4]; iv 458 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->iv[2] = data[3]; iv 459 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->iv[3] = data[2]; iv 460 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->iv[4] = data[1]; iv 461 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->iv[5] = data[0]; iv 105 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->iv[0] = data[5]; iv 106 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->iv[1] = data[4]; iv 107 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->iv[2] = data[3]; iv 108 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->iv[3] = data[2]; iv 109 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->iv[4] = data[1]; iv 110 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->iv[5] = data[0]; iv 64 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u32 iv, eiv; iv 68 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c iv = mt76_rr(dev, MT_WCID_IV(idx)); iv 73 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn |= (iv >> 16) & 0xff; iv 74 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn |= (iv & 0xff) << 8; iv 76 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn |= iv & 0xffff; iv 353 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c txwi->iv = *((__le32 *)&ccmp_pn[0]); iv 747 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->iv[0] = data[7]; iv 748 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->iv[1] = data[6]; iv 749 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->iv[2] = data[5]; iv 750 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->iv[3] = data[4]; iv 751 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->iv[4] = data[1]; iv 752 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->iv[5] = data[0]; iv 135 drivers/net/wireless/mediatek/mt76/mt76x02_mac.h __le32 iv; iv 117 drivers/net/wireless/mediatek/mt7601u/mac.h __le32 iv; iv 1101 drivers/net/wireless/ralink/rt2x00/rt2500usb.c _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); iv 1102 drivers/net/wireless/ralink/rt2x00/rt2500usb.c _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); iv 1252 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rxdesc->iv[0] = _rt2x00_desc_read(rxd, 2); iv 1253 drivers/net/wireless/ralink/rt2x00/rt2500usb.c rxdesc->iv[1] = _rt2x00_desc_read(rxd, 3); iv 2057 drivers/net/wireless/ralink/rt2x00/rt2800.h u8 iv[8]; iv 1663 drivers/net/wireless/ralink/rt2x00/rt2800lib.c iveiv_entry.iv[3] |= 0x20; iv 1664 drivers/net/wireless/ralink/rt2x00/rt2800lib.c iveiv_entry.iv[3] |= key->keyidx << 6; iv 10332 drivers/net/wireless/ralink/rt2x00/rt2800lib.c memcpy(&seq->tkip.iv16, &iveiv_entry.iv[0], 2); iv 10333 drivers/net/wireless/ralink/rt2x00/rt2800lib.c memcpy(&seq->tkip.iv32, &iveiv_entry.iv[4], 4); iv 99 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); iv 110 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c memcpy(skbdesc->iv, skb->data + txdesc->iv_offset, txdesc->iv_len); iv 127 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c ((!!(skbdesc->iv[0])) * 4) + ((!!(skbdesc->iv[1])) * 4); iv 138 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c memcpy(skb->data + header_length, skbdesc->iv, iv_len); iv 213 drivers/net/wireless/ralink/rt2x00/rt2x00crypto.c memcpy(skb->data + transfer, rxdesc->iv, iv_len); iv 105 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h __le32 iv[2]; iv 182 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h __le32 iv[2]; iv 1807 drivers/net/wireless/ralink/rt2x00/rt61pci.c _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); iv 1808 drivers/net/wireless/ralink/rt2x00/rt61pci.c _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); iv 2012 drivers/net/wireless/ralink/rt2x00/rt61pci.c rxdesc->iv[0] = _rt2x00_desc_read(entry_priv->desc, 2); iv 2013 drivers/net/wireless/ralink/rt2x00/rt61pci.c rxdesc->iv[1] = _rt2x00_desc_read(entry_priv->desc, 3); iv 1500 drivers/net/wireless/ralink/rt2x00/rt73usb.c _rt2x00_desc_write(txd, 3, skbdesc->iv[0]); iv 1501 drivers/net/wireless/ralink/rt2x00/rt73usb.c _rt2x00_desc_write(txd, 4, skbdesc->iv[1]); iv 1696 drivers/net/wireless/ralink/rt2x00/rt73usb.c rxdesc->iv[0] = _rt2x00_desc_read(rxd, 2); iv 1697 drivers/net/wireless/ralink/rt2x00/rt73usb.c rxdesc->iv[1] = _rt2x00_desc_read(rxd, 3); iv 171 drivers/net/wireless/realtek/rtw88/rtw8822c.c static void rtw8822c_dac_iq_sort(struct rtw_dev *rtwdev, u32 *iv, u32 *qv) iv 177 drivers/net/wireless/realtek/rtw88/rtw8822c.c __rtw8822c_dac_iq_sort(rtwdev, &iv[j], &iv[j + 1]); iv 260 drivers/net/wireless/realtek/rtw88/rtw8822c.c static void rtw8822c_dac_cal_iq_sample(struct rtw_dev *rtwdev, u32 *iv, u32 *qv) iv 268 drivers/net/wireless/realtek/rtw88/rtw8822c.c iv[i] = (temp & 0x3ff000) >> 12; iv 271 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (rtw8822c_dac_iq_check(rtwdev, iv[i]) && iv 278 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 *iv, u32 *qv, iv 287 drivers/net/wireless/realtek/rtw88/rtw8822c.c i_min = iv[0]; iv 288 drivers/net/wireless/realtek/rtw88/rtw8822c.c i_max = iv[0]; iv 292 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw8822c_rf_minmax_cmp(rtwdev, iv[i], &i_min, &i_max); iv 317 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw8822c_dac_iq_sort(rtwdev, iv, qv); iv 321 drivers/net/wireless/realtek/rtw88/rtw8822c.c iv[0] = (temp & 0x3ff000) >> 12; iv 324 drivers/net/wireless/realtek/rtw88/rtw8822c.c iv[DACK_SN_8822C - 1] = (temp & 0x3ff000) >> 12; iv 331 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw8822c_dac_iq_offset(rtwdev, iv, i_value); iv 338 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 iv[DACK_SN_8822C], qv[DACK_SN_8822C]; iv 347 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw8822c_dac_cal_iq_sample(rtwdev, iv, qv); iv 348 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw8822c_dac_cal_iq_search(rtwdev, iv, qv, i_value, q_value); iv 166 drivers/ras/cec.c unsigned long iv; iv 168 drivers/ras/cec.c iv = interval * HZ; iv 169 drivers/ras/cec.c mod_delayed_work(system_wq, &cec_work, round_jiffies(iv)); iv 134 drivers/s390/cio/airq.c struct airq_iv *iv; iv 137 drivers/s390/cio/airq.c iv = kzalloc(sizeof(*iv), GFP_KERNEL); iv 138 drivers/s390/cio/airq.c if (!iv) iv 140 drivers/s390/cio/airq.c iv->bits = bits; iv 141 drivers/s390/cio/airq.c iv->flags = flags; iv 149 drivers/s390/cio/airq.c iv->vector = dma_pool_zalloc(airq_iv_cache, GFP_KERNEL, iv 150 drivers/s390/cio/airq.c &iv->vector_dma); iv 151 drivers/s390/cio/airq.c if (!iv->vector) iv 154 drivers/s390/cio/airq.c iv->vector = cio_dma_zalloc(size); iv 155 drivers/s390/cio/airq.c if (!iv->vector) iv 159 drivers/s390/cio/airq.c iv->avail = kmalloc(size, GFP_KERNEL); iv 160 drivers/s390/cio/airq.c if (!iv->avail) iv 162 drivers/s390/cio/airq.c memset(iv->avail, 0xff, size); iv 163 drivers/s390/cio/airq.c iv->end = 0; iv 165 drivers/s390/cio/airq.c iv->end = bits; iv 167 drivers/s390/cio/airq.c iv->bitlock = kzalloc(size, GFP_KERNEL); iv 168 drivers/s390/cio/airq.c if (!iv->bitlock) iv 173 drivers/s390/cio/airq.c iv->ptr = kzalloc(size, GFP_KERNEL); iv 174 drivers/s390/cio/airq.c if (!iv->ptr) iv 179 drivers/s390/cio/airq.c iv->data = kzalloc(size, GFP_KERNEL); iv 180 drivers/s390/cio/airq.c if (!iv->data) iv 183 drivers/s390/cio/airq.c spin_lock_init(&iv->lock); iv 184 drivers/s390/cio/airq.c return iv; iv 187 drivers/s390/cio/airq.c kfree(iv->ptr); iv 188 drivers/s390/cio/airq.c kfree(iv->bitlock); iv 189 drivers/s390/cio/airq.c kfree(iv->avail); iv 190 drivers/s390/cio/airq.c if (iv->flags & AIRQ_IV_CACHELINE && iv->vector) iv 191 drivers/s390/cio/airq.c dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); iv 193 drivers/s390/cio/airq.c cio_dma_free(iv->vector, size); iv 194 drivers/s390/cio/airq.c kfree(iv); iv 204 drivers/s390/cio/airq.c void airq_iv_release(struct airq_iv *iv) iv 206 drivers/s390/cio/airq.c kfree(iv->data); iv 207 drivers/s390/cio/airq.c kfree(iv->ptr); iv 208 drivers/s390/cio/airq.c kfree(iv->bitlock); iv 209 drivers/s390/cio/airq.c if (iv->flags & AIRQ_IV_CACHELINE) iv 210 drivers/s390/cio/airq.c dma_pool_free(airq_iv_cache, iv->vector, iv->vector_dma); iv 212 drivers/s390/cio/airq.c cio_dma_free(iv->vector, iv_size(iv->bits)); iv 213 drivers/s390/cio/airq.c kfree(iv->avail); iv 214 drivers/s390/cio/airq.c kfree(iv); iv 227 drivers/s390/cio/airq.c unsigned long airq_iv_alloc(struct airq_iv *iv, unsigned long num) iv 231 drivers/s390/cio/airq.c if (!iv->avail || num == 0) iv 233 drivers/s390/cio/airq.c spin_lock_irqsave(&iv->lock, flags); iv 234 drivers/s390/cio/airq.c bit = find_first_bit_inv(iv->avail, iv->bits); iv 235 drivers/s390/cio/airq.c while (bit + num <= iv->bits) { iv 237 drivers/s390/cio/airq.c if (!test_bit_inv(bit + i, iv->avail)) iv 242 drivers/s390/cio/airq.c clear_bit_inv(bit + i, iv->avail); iv 243 drivers/s390/cio/airq.c if (bit + num >= iv->end) iv 244 drivers/s390/cio/airq.c iv->end = bit + num + 1; iv 247 drivers/s390/cio/airq.c bit = find_next_bit_inv(iv->avail, iv->bits, bit + i + 1); iv 249 drivers/s390/cio/airq.c if (bit + num > iv->bits) iv 251 drivers/s390/cio/airq.c spin_unlock_irqrestore(&iv->lock, flags); iv 262 drivers/s390/cio/airq.c void airq_iv_free(struct airq_iv *iv, unsigned long bit, unsigned long num) iv 266 drivers/s390/cio/airq.c if (!iv->avail || num == 0) iv 268 drivers/s390/cio/airq.c spin_lock_irqsave(&iv->lock, flags); iv 271 drivers/s390/cio/airq.c clear_bit_inv(bit + i, iv->vector); iv 273 drivers/s390/cio/airq.c set_bit_inv(bit + i, iv->avail); iv 275 drivers/s390/cio/airq.c if (bit + num >= iv->end) { iv 277 drivers/s390/cio/airq.c while (iv->end > 0 && !test_bit_inv(iv->end - 1, iv->avail)) iv 278 drivers/s390/cio/airq.c iv->end--; iv 280 drivers/s390/cio/airq.c spin_unlock_irqrestore(&iv->lock, flags); iv 293 drivers/s390/cio/airq.c unsigned long airq_iv_scan(struct airq_iv *iv, unsigned long start, iv 299 drivers/s390/cio/airq.c bit = find_next_bit_inv(iv->vector, end, start); iv 302 drivers/s390/cio/airq.c clear_bit_inv(bit, iv->vector); iv 264 drivers/s390/crypto/pkey_api.c u8 iv[AES_BLOCK_SIZE]; iv 289 drivers/s390/crypto/pkey_api.c memset(param.iv, 0, sizeof(param.iv)); iv 169 drivers/soc/qcom/qmi_interface.c struct kvec iv = { &pkt, sizeof(pkt) }; iv 186 drivers/soc/qcom/qmi_interface.c ret = kernel_sendmsg(qmi->sock, &msg, &iv, 1, sizeof(pkt)); iv 232 drivers/soc/qcom/qmi_interface.c struct kvec iv = { &pkt, sizeof(pkt) }; iv 251 drivers/soc/qcom/qmi_interface.c ret = kernel_sendmsg(qmi->sock, &msg, &iv, 1, sizeof(pkt)); iv 528 drivers/soc/qcom/qmi_interface.c struct kvec iv; iv 532 drivers/soc/qcom/qmi_interface.c iv.iov_base = qmi->recv_buf; iv 533 drivers/soc/qcom/qmi_interface.c iv.iov_len = qmi->recv_buf_size; iv 537 drivers/soc/qcom/qmi_interface.c msglen = kernel_recvmsg(qmi->sock, &msg, &iv, 1, iv 538 drivers/soc/qcom/qmi_interface.c iv.iov_len, MSG_DONTWAIT); iv 738 drivers/soc/qcom/qmi_interface.c struct kvec iv; iv 749 drivers/soc/qcom/qmi_interface.c iv.iov_base = msg; iv 750 drivers/soc/qcom/qmi_interface.c iv.iov_len = len; iv 759 drivers/soc/qcom/qmi_interface.c ret = kernel_sendmsg(qmi->sock, &msghdr, &iv, 1, len); iv 177 drivers/ssb/host_soc.c struct ssb_init_invariants *iv) iv 183 drivers/ssb/host_soc.c memset(&iv->boardinfo, 0, sizeof(struct ssb_boardinfo)); iv 187 drivers/ssb/host_soc.c err = kstrtou16(strim(buf), 0, &iv->boardinfo.vendor); iv 192 drivers/ssb/host_soc.c if (!iv->boardinfo.vendor) iv 193 drivers/ssb/host_soc.c iv->boardinfo.vendor = SSB_BOARDVENDOR_BCM; iv 197 drivers/ssb/host_soc.c err = kstrtou16(strim(buf), 0, &iv->boardinfo.type); iv 203 drivers/ssb/host_soc.c memset(&iv->sprom, 0, sizeof(struct ssb_sprom)); iv 204 drivers/ssb/host_soc.c ssb_fill_sprom_with_fallback(bus, &iv->sprom); iv 207 drivers/ssb/host_soc.c iv->has_cardbus_slot = !!simple_strtoul(buf, NULL, 10); iv 602 drivers/ssb/main.c struct ssb_init_invariants iv; iv 605 drivers/ssb/main.c memset(&iv, 0, sizeof(iv)); iv 606 drivers/ssb/main.c err = get_invariants(bus, &iv); iv 609 drivers/ssb/main.c memcpy(&bus->boardinfo, &iv.boardinfo, sizeof(iv.boardinfo)); iv 610 drivers/ssb/main.c memcpy(&bus->sprom, &iv.sprom, sizeof(iv.sprom)); iv 611 drivers/ssb/main.c bus->has_cardbus_slot = iv.has_cardbus_slot; iv 935 drivers/ssb/pci.c struct ssb_init_invariants *iv) iv 939 drivers/ssb/pci.c err = ssb_pci_sprom_get(bus, &iv->sprom); iv 942 drivers/ssb/pci.c ssb_pci_get_boardinfo(bus, &iv->boardinfo); iv 616 drivers/ssb/pcmcia.c struct ssb_init_invariants *iv = priv; iv 617 drivers/ssb/pcmcia.c struct ssb_sprom *sprom = &iv->sprom; iv 618 drivers/ssb/pcmcia.c struct ssb_boardinfo *bi = &iv->boardinfo; iv 698 drivers/ssb/pcmcia.c struct ssb_init_invariants *iv) iv 700 drivers/ssb/pcmcia.c struct ssb_sprom *sprom = &iv->sprom; iv 718 drivers/ssb/pcmcia.c ssb_pcmcia_do_get_invariants, iv); iv 473 drivers/ssb/sdio.c struct ssb_init_invariants *iv) iv 475 drivers/ssb/sdio.c struct ssb_sprom *sprom = &iv->sprom; iv 476 drivers/ssb/sdio.c struct ssb_boardinfo *bi = &iv->boardinfo; iv 22 drivers/ssb/ssb_private.h struct ssb_init_invariants *iv); iv 61 drivers/ssb/ssb_private.h struct ssb_init_invariants *iv); iv 102 drivers/ssb/ssb_private.h struct ssb_init_invariants *iv); iv 136 drivers/ssb/ssb_private.h struct ssb_init_invariants *iv); iv 832 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c val32 = (pmlmeinfo->iv++) | (pmlmeinfo->key_index << 30); iv 3901 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pmlmeinfo->iv = 0; iv 368 drivers/staging/rtl8188eu/core/rtw_recv.c u8 *iv = precv_frame->pkt->data + prxattrib->hdrlen; iv 370 drivers/staging/rtl8188eu/core/rtw_recv.c prxattrib->key_index = (((iv[3]) >> 6) & 0x3); iv 213 drivers/staging/rtl8188eu/core/rtw_security.c char iv[4], icv[4]; iv 220 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(iv, pframe + prxattrib->hdrlen, 4); iv 242 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe + prxattrib->hdrlen, iv, 4); iv 586 drivers/staging/rtl8188eu/core/rtw_security.c u8 *pframe, *payload, *iv, *prwskey; iv 616 drivers/staging/rtl8188eu/core/rtw_security.c iv = pframe+pattrib->hdrlen; iv 619 drivers/staging/rtl8188eu/core/rtw_security.c GET_TKIP_PN(iv, dot11txpn); iv 666 drivers/staging/rtl8188eu/core/rtw_security.c u8 *pframe, *payload, *iv, *prwskey; iv 692 drivers/staging/rtl8188eu/core/rtw_security.c iv = pframe+prxattrib->hdrlen; iv 696 drivers/staging/rtl8188eu/core/rtw_security.c GET_TKIP_PN(iv, dot11txpn); iv 1295 drivers/staging/rtl8188eu/core/rtw_security.c char iv[8], icv[8]; iv 1316 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(iv, pframe + prxattrib->hdrlen, iv_len); iv 1337 drivers/staging/rtl8188eu/core/rtw_security.c memcpy(pframe + prxattrib->hdrlen, iv, iv_len); iv 964 drivers/staging/rtl8188eu/core/rtw_xmit.c WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); iv 968 drivers/staging/rtl8188eu/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); iv 970 drivers/staging/rtl8188eu/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, 0); iv 974 drivers/staging/rtl8188eu/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); iv 976 drivers/staging/rtl8188eu/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, 0); iv 980 drivers/staging/rtl8188eu/core/rtw_xmit.c memcpy(pframe, pattrib->iv, pattrib->iv_len); iv 986 drivers/staging/rtl8188eu/core/rtw_xmit.c pattrib->iv[3], *pframe, *(pframe + 1), iv 311 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h u32 iv; iv 213 drivers/staging/rtl8188eu/include/rtw_security.h #define GET_TKIP_PN(iv, dot11txpn) \ iv 215 drivers/staging/rtl8188eu/include/rtw_security.h dot11txpn._byte_.TSC0 = iv[2]; \ iv 216 drivers/staging/rtl8188eu/include/rtw_security.h dot11txpn._byte_.TSC1 = iv[0]; \ iv 217 drivers/staging/rtl8188eu/include/rtw_security.h dot11txpn._byte_.TSC2 = iv[4]; \ iv 218 drivers/staging/rtl8188eu/include/rtw_security.h dot11txpn._byte_.TSC3 = iv[5]; \ iv 219 drivers/staging/rtl8188eu/include/rtw_security.h dot11txpn._byte_.TSC4 = iv[6]; \ iv 220 drivers/staging/rtl8188eu/include/rtw_security.h dot11txpn._byte_.TSC5 = iv[7]; \ iv 119 drivers/staging/rtl8188eu/include/rtw_xmit.h u8 iv[18]; iv 89 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c u8 *pn, u8 *iv, u8 *aad) iv 119 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c iv[0] = 0x1; iv 122 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c iv[1] = qc; iv 123 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c memcpy(iv + 2, hdr->addr2, ETH_ALEN); iv 124 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c memcpy(iv + 8, pn, CCMP_PN_LEN); iv 192 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c u8 iv[AES_BLOCK_LEN]; iv 200 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); iv 210 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c aead_request_set_crypt(req, sg, sg, data_len, iv); iv 277 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c u8 iv[AES_BLOCK_LEN]; iv 284 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad); iv 292 drivers/staging/rtl8192e/rtllib_crypt_ccmp.c aead_request_set_crypt(req, sg, sg, data_len, iv); iv 21 drivers/staging/rtl8192e/rtllib_crypt_wep.c u32 iv; iv 54 drivers/staging/rtl8192e/rtllib_crypt_wep.c get_random_bytes(&priv->iv, 4); iv 111 drivers/staging/rtl8192e/rtllib_crypt_wep.c wep->iv++; iv 117 drivers/staging/rtl8192e/rtllib_crypt_wep.c if ((wep->iv & 0xff00) == 0xff00) { iv 118 drivers/staging/rtl8192e/rtllib_crypt_wep.c u8 B = (wep->iv >> 16) & 0xff; iv 121 drivers/staging/rtl8192e/rtllib_crypt_wep.c wep->iv += 0x0100; iv 125 drivers/staging/rtl8192e/rtllib_crypt_wep.c *pos++ = key[0] = (wep->iv >> 16) & 0xff; iv 126 drivers/staging/rtl8192e/rtllib_crypt_wep.c *pos++ = key[1] = (wep->iv >> 8) & 0xff; iv 127 drivers/staging/rtl8192e/rtllib_crypt_wep.c *pos++ = key[2] = wep->iv & 0xff; iv 93 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c u8 *pn, u8 *iv, u8 *aad) iv 127 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c iv[0] = 0x1; iv 130 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c iv[1] = qc; iv 131 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c memcpy(iv + 2, hdr->addr2, ETH_ALEN); iv 132 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c memcpy(iv + 8, pn, CCMP_PN_LEN); iv 199 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c u8 iv[AES_BLOCK_LEN]; iv 207 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); iv 218 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c aead_request_set_crypt(req, sg, sg, data_len, iv); iv 286 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c u8 iv[AES_BLOCK_LEN]; iv 294 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad); iv 302 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c aead_request_set_crypt(req, sg, sg, data_len, iv); iv 26 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c u32 iv; iv 53 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c get_random_bytes(&priv->iv, 4); iv 104 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c wep->iv++; iv 110 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c if ((wep->iv & 0xff00) == 0xff00) { iv 111 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c u8 B = (wep->iv >> 16) & 0xff; iv 114 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c wep->iv += 0x0100; iv 118 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c *pos++ = key[0] = (wep->iv >> 16) & 0xff; iv 119 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c *pos++ = key[1] = (wep->iv >> 8) & 0xff; iv 120 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_wep.c *pos++ = key[2] = wep->iv & 0xff; iv 145 drivers/staging/rtl8712/rtl871x_recv.c u8 *mickey, idx, *iv; iv 155 drivers/staging/rtl8712/rtl871x_recv.c iv = precvframe->u.hdr.rx_data + iv 157 drivers/staging/rtl8712/rtl871x_recv.c idx = iv[3]; iv 156 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *payload, *iv; /*,*wepkey*/ iv 172 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + pattrib->hdrlen; iv 173 drivers/staging/rtl8712/rtl871x_security.c memcpy(&wepkey[0], iv, 3); iv 214 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *payload, *iv, wepkey[16]; iv 225 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; iv 226 drivers/staging/rtl8712/rtl871x_security.c keyindex = (iv[3] & 0x3); iv 228 drivers/staging/rtl8712/rtl871x_security.c memcpy(&wepkey[0], iv, 3); iv 569 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *payload, *iv, *prwskey; iv 591 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + pattrib->hdrlen; iv 594 drivers/staging/rtl8712/rtl871x_security.c GET_TKIP_PN(iv, txpn); iv 648 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *payload, *iv, *prwskey, idx = 0; iv 662 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; iv 669 drivers/staging/rtl8712/rtl871x_security.c idx = iv[3]; iv 677 drivers/staging/rtl8712/rtl871x_security.c GET_TKIP_PN(iv, txpn); iv 1348 drivers/staging/rtl8712/rtl871x_security.c u8 *pframe, *prwskey, *iv, idx; iv 1362 drivers/staging/rtl8712/rtl871x_security.c iv = pframe + prxattrib->hdrlen; iv 1363 drivers/staging/rtl8712/rtl871x_security.c idx = iv[3]; iv 178 drivers/staging/rtl8712/rtl871x_security.h #define GET_TKIP_PN(iv, txpn) \ iv 180 drivers/staging/rtl8712/rtl871x_security.h txpn._byte_.TSC0 = iv[2];\ iv 181 drivers/staging/rtl8712/rtl871x_security.h txpn._byte_.TSC1 = iv[0];\ iv 182 drivers/staging/rtl8712/rtl871x_security.h txpn._byte_.TSC2 = iv[4];\ iv 183 drivers/staging/rtl8712/rtl871x_security.h txpn._byte_.TSC3 = iv[5];\ iv 184 drivers/staging/rtl8712/rtl871x_security.h txpn._byte_.TSC4 = iv[6];\ iv 185 drivers/staging/rtl8712/rtl871x_security.h txpn._byte_.TSC5 = iv[7];\ iv 635 drivers/staging/rtl8712/rtl871x_xmit.c WEP_IV(pattrib->iv, psta->txpn, iv 641 drivers/staging/rtl8712/rtl871x_xmit.c TKIP_IV(pattrib->iv, iv 646 drivers/staging/rtl8712/rtl871x_xmit.c TKIP_IV(pattrib->iv, psta->txpn, iv 651 drivers/staging/rtl8712/rtl871x_xmit.c AES_IV(pattrib->iv, psta->txpn, iv 655 drivers/staging/rtl8712/rtl871x_xmit.c AES_IV(pattrib->iv, psta->txpn, iv 660 drivers/staging/rtl8712/rtl871x_xmit.c memcpy(pframe, pattrib->iv, pattrib->iv_len); iv 116 drivers/staging/rtl8712/rtl871x_xmit.h unsigned char iv[8]; iv 311 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pmlmeinfo->iv = 0; iv 910 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u8 *iv; iv 916 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c iv = pframe+prxattrib->hdrlen; iv 917 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c prxattrib->key_index = ((iv[3]>>6)&0x3); iv 3048 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c val32 = ((pmlmeinfo->iv++) | (pmlmeinfo->key_index << 30)); iv 456 drivers/staging/rtl8723bs/core/rtw_recv.c u8 *iv = precv_frame->u.hdr.rx_data+prxattrib->hdrlen; iv 457 drivers/staging/rtl8723bs/core/rtw_recv.c prxattrib->key_index = (((iv[3])>>6)&0x3); iv 222 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *payload, *iv; /* wepkey */ iv 240 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+pattrib->hdrlen; iv 241 drivers/staging/rtl8723bs/core/rtw_security.c memcpy(&wepkey[0], iv, 3); iv 278 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *payload, *iv, wepkey[16]; iv 287 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+prxattrib->hdrlen; iv 291 drivers/staging/rtl8723bs/core/rtw_security.c memcpy(&wepkey[0], iv, 3); iv 662 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *payload, *iv, *prwskey; iv 710 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+pattrib->hdrlen; iv 713 drivers/staging/rtl8723bs/core/rtw_security.c GET_TKIP_PN(iv, dot11txpn); iv 770 drivers/staging/rtl8723bs/core/rtw_security.c u8 *pframe, *payload, *iv, *prwskey; iv 829 drivers/staging/rtl8723bs/core/rtw_security.c iv = pframe+prxattrib->hdrlen; iv 833 drivers/staging/rtl8723bs/core/rtw_security.c GET_TKIP_PN(iv, dot11txpn); iv 559 drivers/staging/rtl8723bs/core/rtw_xmit.c WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); iv 575 drivers/staging/rtl8723bs/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); iv 577 drivers/staging/rtl8723bs/core/rtw_xmit.c TKIP_IV(pattrib->iv, psta->dot11txpn, 0); iv 590 drivers/staging/rtl8723bs/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); iv 592 drivers/staging/rtl8723bs/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11txpn, 0); iv 1279 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe, pattrib->iv, pattrib->iv_len); iv 1283 drivers/staging/rtl8723bs/core/rtw_xmit.c padapter->securitypriv.dot11PrivacyKeyIndex, pattrib->iv[3], *pframe, *(pframe+1), *(pframe+2), *(pframe+3))); iv 1479 drivers/staging/rtl8723bs/core/rtw_xmit.c AES_IV(pattrib->iv, psta->dot11wtxpn, 0); iv 1485 drivers/staging/rtl8723bs/core/rtw_xmit.c memcpy(pframe, pattrib->iv, pattrib->iv_len); iv 396 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h u32 iv; iv 262 drivers/staging/rtl8723bs/include/rtw_security.h #define GET_TKIP_PN(iv, dot11txpn)\ iv 264 drivers/staging/rtl8723bs/include/rtw_security.h dot11txpn._byte_.TSC0 =iv[2];\ iv 265 drivers/staging/rtl8723bs/include/rtw_security.h dot11txpn._byte_.TSC1 =iv[0];\ iv 266 drivers/staging/rtl8723bs/include/rtw_security.h dot11txpn._byte_.TSC2 =iv[4];\ iv 267 drivers/staging/rtl8723bs/include/rtw_security.h dot11txpn._byte_.TSC3 =iv[5];\ iv 268 drivers/staging/rtl8723bs/include/rtw_security.h dot11txpn._byte_.TSC4 =iv[6];\ iv 269 drivers/staging/rtl8723bs/include/rtw_security.h dot11txpn._byte_.TSC5 =iv[7];\ iv 156 drivers/staging/rtl8723bs/include/rtw_xmit.h u8 iv[18]; iv 1204 drivers/staging/vt6655/rxtx.c u8 *iv = ((u8 *)hdr + ieee80211_get_hdrlen_from_skb(skb)); iv 1213 drivers/staging/vt6655/rxtx.c memcpy(key_buffer, iv, 3); iv 1217 drivers/staging/vt6655/rxtx.c memcpy(key_buffer + 8, iv, 3); iv 717 drivers/staging/vt6656/rxtx.c u8 *iv = ((u8 *)hdr + ieee80211_get_hdrlen_from_skb(skb)); iv 726 drivers/staging/vt6656/rxtx.c memcpy(key_buffer, iv, 3); iv 730 drivers/staging/vt6656/rxtx.c memcpy(key_buffer + 8, iv, 3); iv 2544 drivers/staging/wlan-ng/hfa384x_usb.c memcpy(ptr, p80211_wep->iv, sizeof(p80211_wep->iv)); iv 2545 drivers/staging/wlan-ng/hfa384x_usb.c ptr += sizeof(p80211_wep->iv); iv 212 drivers/staging/wlan-ng/p80211conv.c p80211_wep->iv, p80211_wep->icv); iv 130 drivers/staging/wlan-ng/p80211conv.h u8 iv[4]; iv 228 drivers/staging/wlan-ng/p80211netdev.h u8 *iv, u8 *icv); iv 230 drivers/staging/wlan-ng/p80211netdev.h int keynum, u8 *iv, u8 *icv); iv 145 drivers/staging/wlan-ng/p80211wep.c u8 *iv, u8 *icv) iv 156 drivers/staging/wlan-ng/p80211wep.c key[0] = iv[0]; iv 157 drivers/staging/wlan-ng/p80211wep.c key[1] = iv[1]; iv 158 drivers/staging/wlan-ng/p80211wep.c key[2] = iv[2]; iv 159 drivers/staging/wlan-ng/p80211wep.c keyidx = WEP_KEY(iv[3]); iv 218 drivers/staging/wlan-ng/p80211wep.c u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) iv 235 drivers/staging/wlan-ng/p80211wep.c get_random_bytes(iv, 3); iv 236 drivers/staging/wlan-ng/p80211wep.c while ((iv[1] == 0xff) && (iv[0] >= 3) && (iv[0] < keylen)) iv 237 drivers/staging/wlan-ng/p80211wep.c get_random_bytes(iv, 3); iv 239 drivers/staging/wlan-ng/p80211wep.c iv[3] = (keynum & 0x03) << 6; iv 241 drivers/staging/wlan-ng/p80211wep.c key[0] = iv[0]; iv 242 drivers/staging/wlan-ng/p80211wep.c key[1] = iv[1]; iv 243 drivers/staging/wlan-ng/p80211wep.c key[2] = iv[2]; iv 186 drivers/staging/wusbcore/crypto.c u8 iv[AES_BLOCK_SIZE]; iv 216 drivers/staging/wusbcore/crypto.c crypto_shash_finup(desc, b, blen, iv); iv 231 drivers/staging/wusbcore/crypto.c crypto_xor_cpy(mic, (u8 *)&scratch->ax, iv, 8); iv 806 fs/afs/dir.c struct afs_vnode *iv = AFS_FS_I(cookie->inodes[i]); iv 808 fs/afs/dir.c if (test_bit(AFS_VNODE_UNSET, &iv->flags)) iv 811 fs/afs/dir.c afs_vnode_commit_status(&fc, iv, iv 3671 fs/cifs/smb2ops.c char *iv; iv 3723 fs/cifs/smb2ops.c iv = kzalloc(iv_len, GFP_KERNEL); iv 3724 fs/cifs/smb2ops.c if (!iv) { iv 3731 fs/cifs/smb2ops.c memcpy(iv, (char *)tr_hdr->Nonce, SMB3_AES128GCM_NONCE); iv 3733 fs/cifs/smb2ops.c iv[0] = 3; iv 3734 fs/cifs/smb2ops.c memcpy(iv + 1, (char *)tr_hdr->Nonce, SMB3_AES128CCM_NONCE); iv 3737 fs/cifs/smb2ops.c aead_request_set_crypt(req, sg, sg, crypt_len, iv); iv 3749 fs/cifs/smb2ops.c kfree(iv); iv 138 fs/crypto/crypto.c void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num, iv 141 fs/crypto/crypto.c memset(iv, 0, ci->ci_mode->ivsize); iv 142 fs/crypto/crypto.c iv->lblk_num = cpu_to_le64(lblk_num); iv 145 fs/crypto/crypto.c memcpy(iv->nonce, ci->ci_nonce, FS_KEY_DERIVATION_NONCE_SIZE); iv 148 fs/crypto/crypto.c crypto_cipher_encrypt_one(ci->ci_essiv_tfm, iv->raw, iv->raw); iv 157 fs/crypto/crypto.c union fscrypt_iv iv; iv 170 fs/crypto/crypto.c fscrypt_generate_iv(&iv, lblk_num, ci); iv 184 fs/crypto/crypto.c skcipher_request_set_crypt(req, &src, &dst, len, &iv); iv 44 fs/crypto/fname.c union fscrypt_iv iv; iv 58 fs/crypto/fname.c fscrypt_generate_iv(&iv, 0, ci); iv 68 fs/crypto/fname.c skcipher_request_set_crypt(req, &sg, &sg, olen, &iv); iv 97 fs/crypto/fname.c union fscrypt_iv iv; iv 109 fs/crypto/fname.c fscrypt_generate_iv(&iv, 0, ci); iv 114 fs/crypto/fname.c skcipher_request_set_crypt(req, &src_sg, &dst_sg, iname->len, &iv); iv 264 fs/crypto/fscrypt_private.h void fscrypt_generate_iv(union fscrypt_iv *iv, u64 lblk_num, iv 125 fs/ecryptfs/crypto.c int ecryptfs_derive_iv(char *iv, struct ecryptfs_crypt_stat *crypt_stat, iv 154 fs/ecryptfs/crypto.c memcpy(iv, dst, crypt_stat->iv_bytes); iv 157 fs/ecryptfs/crypto.c ecryptfs_dump_hex(iv, crypt_stat->iv_bytes); iv 308 fs/ecryptfs/crypto.c unsigned char *iv, int op) iv 353 fs/ecryptfs/crypto.c skcipher_request_set_crypt(req, src_sg, dst_sg, size, iv); iv 580 fs/ecryptfs/ecryptfs_kernel.h void ecryptfs_rotate_iv(unsigned char *iv); iv 717 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_derive_iv(char *iv, struct ecryptfs_crypt_stat *crypt_stat, iv 600 fs/ecryptfs/keystore.c char iv[ECRYPTFS_MAX_IV_BYTES]; iv 828 fs/ecryptfs/keystore.c s->block_aligned_filename_size, s->iv); iv 871 fs/ecryptfs/keystore.c char iv[ECRYPTFS_MAX_IV_BYTES]; iv 1044 fs/ecryptfs/keystore.c s->block_aligned_filename_size, s->iv); iv 87 include/crypto/aead.h u8 *iv; iv 483 include/crypto/aead.h unsigned int cryptlen, u8 *iv) iv 488 include/crypto/aead.h req->iv = iv; iv 109 include/crypto/algapi.h u8 *iv; iv 130 include/crypto/algapi.h u8 *iv; iv 23 include/crypto/cbc.h u8 *iv = walk->iv; iv 26 include/crypto/cbc.h crypto_xor(iv, src, bsize); iv 27 include/crypto/cbc.h fn(tfm, iv, dst); iv 28 include/crypto/cbc.h memcpy(iv, dst, bsize); iv 44 include/crypto/cbc.h u8 *iv = walk->iv; iv 47 include/crypto/cbc.h crypto_xor(src, iv, bsize); iv 49 include/crypto/cbc.h iv = src; iv 54 include/crypto/cbc.h memcpy(walk->iv, iv, bsize); iv 88 include/crypto/cbc.h u8 *iv = walk->iv; iv 92 include/crypto/cbc.h crypto_xor(dst, iv, bsize); iv 93 include/crypto/cbc.h iv = src; iv 99 include/crypto/cbc.h memcpy(walk->iv, iv, bsize); iv 125 include/crypto/cbc.h crypto_xor(src, walk->iv, bsize); iv 126 include/crypto/cbc.h memcpy(walk->iv, last_iv, bsize); iv 44 include/crypto/chacha.h void crypto_chacha_init(u32 *state, const struct chacha_ctx *ctx, const u8 *iv); iv 50 include/crypto/ctr.h fn(tfm, walk.iv, buf); iv 53 include/crypto/ctr.h crypto_inc(walk.iv, blocksize); iv 40 include/crypto/if_alg.h struct af_alg_iv *iv; iv 143 include/crypto/if_alg.h void *iv; iv 58 include/crypto/internal/skcipher.h void *iv; iv 27 include/crypto/skcipher.h u8 *iv; iv 610 include/crypto/skcipher.h unsigned int cryptlen, void *iv) iv 615 include/crypto/skcipher.h req->iv = iv; iv 23 include/keys/encrypted-type.h u8 *iv; /* datablob: iv */ iv 178 include/linux/ccp.h struct scatterlist *iv; iv 238 include/linux/ccp.h struct scatterlist *iv; iv 349 include/linux/ccp.h struct scatterlist *iv; iv 731 include/linux/crypto.h void *iv; iv 1258 include/linux/crypto.h unsigned int nbytes, void *iv) iv 1263 include/linux/crypto.h req->info = iv; iv 1489 include/linux/crypto.h desc->info = crypto_blkcipher_crt(desc->tfm)->iv; iv 1542 include/linux/crypto.h desc->info = crypto_blkcipher_crt(desc->tfm)->iv; iv 1582 include/linux/crypto.h memcpy(crypto_blkcipher_crt(tfm)->iv, src, len); iv 1598 include/linux/crypto.h memcpy(dst, crypto_blkcipher_crt(tfm)->iv, len); iv 77 include/linux/memory_hotplug.h static inline int zone_span_seqretry(struct zone *zone, unsigned iv) iv 79 include/linux/memory_hotplug.h return read_seqretry(&zone->span_seqlock, iv); iv 248 include/linux/memory_hotplug.h static inline int zone_span_seqretry(struct zone *zone, unsigned iv) iv 524 include/linux/ssb/ssb.h struct ssb_init_invariants *iv); iv 75 include/linux/sunrpc/gss_krb5.h void *iv, void *in, void *out, iv 78 include/linux/sunrpc/gss_krb5.h void *iv, void *in, void *out, iv 264 include/linux/sunrpc/gss_krb5.h void *iv, void *in, void *out, int length); iv 268 include/linux/sunrpc/gss_krb5.h void *iv, void *in, void *out, int length); iv 227 include/net/tls.h char *iv; iv 499 include/net/tls.h tls_bigint_increment(ctx->iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv 517 include/net/tls.h ctx->tx.iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv_size); iv 555 include/net/tls.h static inline void xor_iv_with_seq(int version, char *iv, char *seq) iv 561 include/net/tls.h iv[i + 4] ^= seq[i]; iv 29 include/uapi/linux/if_alg.h __u8 iv[0]; iv 90 include/uapi/linux/tls.h unsigned char iv[TLS_CIPHER_AES_GCM_128_IV_SIZE]; iv 98 include/uapi/linux/tls.h unsigned char iv[TLS_CIPHER_AES_GCM_256_IV_SIZE]; iv 106 include/uapi/linux/tls.h unsigned char iv[TLS_CIPHER_AES_CCM_128_IV_SIZE]; iv 106 include/uapi/rdma/ib_user_ioctl_verbs.h __aligned_u64 iv; iv 647 kernel/time/posix-timers.c ktime_t now, remaining, iv; iv 652 kernel/time/posix-timers.c iv = timr->it_interval; iv 655 kernel/time/posix-timers.c if (iv) { iv 656 kernel/time/posix-timers.c cur_setting->it_interval = ktime_to_timespec64(iv); iv 677 kernel/time/posix-timers.c if (iv && (timr->it_requeue_pending & REQUEUE_PENDING || sig_none)) iv 460 net/bluetooth/6lowpan.c struct kvec iv; iv 468 net/bluetooth/6lowpan.c iv.iov_base = skb->data; iv 469 net/bluetooth/6lowpan.c iv.iov_len = skb->len; iv 472 net/bluetooth/6lowpan.c iov_iter_kvec(&msg.msg_iter, WRITE, &iv, 1, skb->len); iv 47 net/bluetooth/a2mp.c struct kvec iv; iv 54 net/bluetooth/a2mp.c iv.iov_base = cmd; iv 55 net/bluetooth/a2mp.c iv.iov_len = total_len; iv 59 net/bluetooth/a2mp.c iov_iter_kvec(&msg.msg_iter, WRITE, &iv, 1, total_len); iv 74 net/bluetooth/bnep/core.c struct kvec iv = { data, len }; iv 76 net/bluetooth/bnep/core.c return kernel_sendmsg(sock, &s->msg, &iv, 1, len); iv 423 net/bluetooth/bnep/core.c struct kvec iv[3]; iv 434 net/bluetooth/bnep/core.c iv[il++] = (struct kvec) { &type, 1 }; iv 449 net/bluetooth/bnep/core.c iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN }; iv 454 net/bluetooth/bnep/core.c iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN }; iv 460 net/bluetooth/bnep/core.c iv[il++] = (struct kvec) { skb->data, skb->len }; iv 465 net/bluetooth/bnep/core.c len = kernel_sendmsg(sock, &s->msg, iv, il, len); iv 196 net/bluetooth/cmtp/core.c struct kvec iv = { data, len }; iv 206 net/bluetooth/cmtp/core.c return kernel_sendmsg(sock, &msg, &iv, 1, len); iv 617 net/bluetooth/hidp/core.c struct kvec iv = { data, len }; iv 627 net/bluetooth/hidp/core.c return kernel_sendmsg(sock, &msg, &iv, 1, len); iv 797 net/bluetooth/rfcomm/core.c struct kvec iv = { data, len }; iv 804 net/bluetooth/rfcomm/core.c return kernel_sendmsg(s->sock, &msg, &iv, 1, len); iv 1098 net/bluetooth/rfcomm/core.c struct kvec iv[3]; iv 1115 net/bluetooth/rfcomm/core.c iv[0].iov_base = hdr; iv 1116 net/bluetooth/rfcomm/core.c iv[0].iov_len = 5; iv 1117 net/bluetooth/rfcomm/core.c iv[1].iov_base = pattern; iv 1118 net/bluetooth/rfcomm/core.c iv[1].iov_len = len; iv 1119 net/bluetooth/rfcomm/core.c iv[2].iov_base = crc; iv 1120 net/bluetooth/rfcomm/core.c iv[2].iov_len = 1; iv 1124 net/bluetooth/rfcomm/core.c return kernel_sendmsg(sock, &msg, iv, 3, 6 + len); iv 603 net/bluetooth/smp.c struct kvec iv[2]; iv 611 net/bluetooth/smp.c iv[0].iov_base = &code; iv 612 net/bluetooth/smp.c iv[0].iov_len = 1; iv 614 net/bluetooth/smp.c iv[1].iov_base = data; iv 615 net/bluetooth/smp.c iv[1].iov_len = len; iv 619 net/bluetooth/smp.c iov_iter_kvec(&msg.msg_iter, WRITE, iv, 2, 1 + len); iv 224 net/ceph/crypto.c char iv[AES_BLOCK_SIZE] __aligned(8); iv 236 net/ceph/crypto.c memcpy(iv, aes_iv, AES_BLOCK_SIZE); iv 239 net/ceph/crypto.c skcipher_request_set_crypt(req, sgt.sgl, sgt.sgl, crypt_len, iv); iv 78 net/ipv4/esp4.c static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) iv 82 net/ipv4/esp4.c req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), iv 101 net/ipv4/esp4.c u8 *iv; iv 109 net/ipv4/esp4.c iv = esp_tmp_iv(aead, tmp, extralen); iv 110 net/ipv4/esp4.c req = esp_tmp_req(aead, iv); iv 367 net/ipv4/esp4.c u8 *iv; iv 398 net/ipv4/esp4.c iv = esp_tmp_iv(aead, tmp, extralen); iv 399 net/ipv4/esp4.c req = esp_tmp_req(aead, iv); iv 451 net/ipv4/esp4.c aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); iv 454 net/ipv4/esp4.c memset(iv, 0, ivlen); iv 455 net/ipv4/esp4.c memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), iv 708 net/ipv4/esp4.c u8 *iv; iv 753 net/ipv4/esp4.c iv = esp_tmp_iv(aead, tmp, seqhilen); iv 754 net/ipv4/esp4.c req = esp_tmp_req(aead, iv); iv 773 net/ipv4/esp4.c aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); iv 87 net/ipv6/esp6.c static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) iv 91 net/ipv6/esp6.c req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), iv 109 net/ipv6/esp6.c u8 *iv; iv 116 net/ipv6/esp6.c iv = esp_tmp_iv(aead, tmp, seqhilen); iv 117 net/ipv6/esp6.c req = esp_tmp_req(aead, iv); iv 309 net/ipv6/esp6.c u8 *iv; iv 340 net/ipv6/esp6.c iv = esp_tmp_iv(aead, tmp, seqhilen); iv 341 net/ipv6/esp6.c req = esp_tmp_req(aead, iv); iv 392 net/ipv6/esp6.c aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); iv 395 net/ipv6/esp6.c memset(iv, 0, ivlen); iv 396 net/ipv6/esp6.c memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), iv 604 net/ipv6/esp6.c u8 *iv; iv 652 net/ipv6/esp6.c iv = esp_tmp_iv(aead, tmp, seqhilen); iv 653 net/ipv6/esp6.c req = esp_tmp_req(aead, iv); iv 672 net/ipv6/esp6.c aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); iv 123 net/ipv6/mcast.c int iv; iv 126 net/ipv6/mcast.c iv = idev->cnf.mldv1_unsolicited_report_interval; iv 128 net/ipv6/mcast.c iv = idev->cnf.mldv2_unsolicited_report_interval; iv 130 net/ipv6/mcast.c return iv > 0 ? iv : 1; iv 21 net/mac80211/aes_gmac.c u8 *zero, *__aad, iv[AES_BLOCK_SIZE]; iv 42 net/mac80211/aes_gmac.c memcpy(iv, nonce, GMAC_NONCE_LEN); iv 43 net/mac80211/aes_gmac.c memset(iv + GMAC_NONCE_LEN, 0, sizeof(iv) - GMAC_NONCE_LEN); iv 44 net/mac80211/aes_gmac.c iv[AES_BLOCK_SIZE - 1] = 0x01; iv 47 net/mac80211/aes_gmac.c aead_request_set_crypt(aead_req, sg, sg, 0, iv); iv 155 net/mac80211/fils_aead.c u8 frame_iv[AES_BLOCK_SIZE], iv[AES_BLOCK_SIZE]; iv 164 net/mac80211/fils_aead.c memcpy(iv, iv_crypt, AES_BLOCK_SIZE); iv 170 net/mac80211/fils_aead.c iv[8] &= 0x7f; iv 171 net/mac80211/fils_aead.c iv[12] &= 0x7f; iv 193 net/mac80211/fils_aead.c skcipher_request_set_crypt(req, src, dst, crypt_len, iv); iv 33 net/mac80211/wep.c static inline bool ieee80211_wep_weak_iv(u32 iv, int keylen) iv 40 net/mac80211/wep.c if ((iv & 0xff00) == 0xff00) { iv 41 net/mac80211/wep.c u8 B = (iv >> 16) & 0xff; iv 50 net/mac80211/wep.c int keylen, int keyidx, u8 *iv) iv 56 net/mac80211/wep.c if (!iv) iv 59 net/mac80211/wep.c *iv++ = (local->wep_iv >> 16) & 0xff; iv 60 net/mac80211/wep.c *iv++ = (local->wep_iv >> 8) & 0xff; iv 61 net/mac80211/wep.c *iv++ = local->wep_iv & 0xff; iv 62 net/mac80211/wep.c *iv++ = keyidx << 6; iv 137 net/mac80211/wep.c u8 *iv; iv 144 net/mac80211/wep.c iv = ieee80211_wep_add_iv(local, skb, keylen, keyidx); iv 145 net/mac80211/wep.c if (!iv) iv 148 net/mac80211/wep.c len = skb->len - (iv + IEEE80211_WEP_IV_LEN - skb->data); iv 151 net/mac80211/wep.c memcpy(rc4key, iv, 3); iv 160 net/mac80211/wep.c iv + IEEE80211_WEP_IV_LEN, len); iv 596 net/mac802154/llsec.c static void llsec_geniv(u8 iv[16], __le64 addr, iv 602 net/mac802154/llsec.c iv[0] = 1; /* L' = L - 1 = 1 */ iv 603 net/mac802154/llsec.c memcpy(iv + 1, &addr_bytes, sizeof(addr_bytes)); iv 604 net/mac802154/llsec.c memcpy(iv + 9, &frame_counter, sizeof(frame_counter)); iv 605 net/mac802154/llsec.c iv[13] = sec->level; iv 606 net/mac802154/llsec.c iv[14] = 0; iv 607 net/mac802154/llsec.c iv[15] = 1; iv 615 net/mac802154/llsec.c u8 iv[16]; iv 621 net/mac802154/llsec.c llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); iv 629 net/mac802154/llsec.c skcipher_request_set_crypt(req, &src, &src, datalen, iv); iv 652 net/mac802154/llsec.c u8 iv[16]; iv 659 net/mac802154/llsec.c llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); iv 680 net/mac802154/llsec.c aead_request_set_crypt(req, &sg, &sg, datalen, iv); iv 831 net/mac802154/llsec.c u8 iv[16]; iv 838 net/mac802154/llsec.c llsec_geniv(iv, dev_addr, &hdr->sec); iv 846 net/mac802154/llsec.c skcipher_request_set_crypt(req, &src, &src, datalen, iv); iv 858 net/mac802154/llsec.c u8 iv[16]; iv 865 net/mac802154/llsec.c llsec_geniv(iv, dev_addr, &hdr->sec); iv 884 net/mac802154/llsec.c aead_request_set_crypt(req, &sg, &sg, datalen, iv); iv 106 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 126 net/rxrpc/rxkad.c memcpy(&iv, token->kad->session_key, sizeof(iv)); iv 136 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, &sg, &sg, tmpsize, iv.x); iv 186 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 199 net/rxrpc/rxkad.c memset(&iv, 0, sizeof(iv)); iv 204 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, &sg, &sg, 8, iv.x); iv 224 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 242 net/rxrpc/rxkad.c memcpy(&iv, token->kad->session_key, sizeof(iv)); iv 247 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, &sg[0], &sg[0], sizeof(rxkhdr), iv.x); iv 262 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, sg, sg, len, iv.x); iv 283 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 306 net/rxrpc/rxkad.c memcpy(&iv, call->conn->csum_iv.x, sizeof(iv)); iv 317 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, &sg, &sg, 8, iv.x); iv 357 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 381 net/rxrpc/rxkad.c memset(&iv, 0, sizeof(iv)); iv 385 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, sg, sg, 8, iv.x); iv 435 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 473 net/rxrpc/rxkad.c memcpy(&iv, token->kad->session_key, sizeof(iv)); iv 477 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, sg, sg, len, iv.x); iv 532 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 549 net/rxrpc/rxkad.c memcpy(&iv, call->conn->csum_iv.x, sizeof(iv)); iv 560 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, &sg, &sg, 8, iv.x); iv 785 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 793 net/rxrpc/rxkad.c memcpy(&iv, s2->session_key, sizeof(iv)); iv 799 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x); iv 903 net/rxrpc/rxkad.c struct rxrpc_crypt iv, key; iv 933 net/rxrpc/rxkad.c memcpy(&iv, &conn->server_key->payload.data[2], sizeof(iv)); iv 943 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, sg, sg, ticket_len, iv.x); iv 1058 net/rxrpc/rxkad.c struct rxrpc_crypt iv; iv 1068 net/rxrpc/rxkad.c memcpy(&iv, session_key, sizeof(iv)); iv 1074 net/rxrpc/rxkad.c skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x); iv 57 net/sunrpc/auth_gss/gss_krb5_crypto.c void * iv, iv 76 net/sunrpc/auth_gss/gss_krb5_crypto.c if (iv) iv 77 net/sunrpc/auth_gss/gss_krb5_crypto.c memcpy(local_iv, iv, crypto_sync_skcipher_ivsize(tfm)); iv 96 net/sunrpc/auth_gss/gss_krb5_crypto.c void * iv, iv 114 net/sunrpc/auth_gss/gss_krb5_crypto.c if (iv) iv 115 net/sunrpc/auth_gss/gss_krb5_crypto.c memcpy(local_iv, iv, crypto_sync_skcipher_ivsize(tfm)); iv 453 net/sunrpc/auth_gss/gss_krb5_crypto.c u8 iv[GSS_KRB5_MAX_BLOCKSIZE]; iv 506 net/sunrpc/auth_gss/gss_krb5_crypto.c thislen, desc->iv); iv 542 net/sunrpc/auth_gss/gss_krb5_crypto.c memset(desc.iv, 0, sizeof(desc.iv)); iv 559 net/sunrpc/auth_gss/gss_krb5_crypto.c u8 iv[GSS_KRB5_MAX_BLOCKSIZE]; iv 592 net/sunrpc/auth_gss/gss_krb5_crypto.c thislen, desc->iv); iv 626 net/sunrpc/auth_gss/gss_krb5_crypto.c memset(desc.iv, 0, sizeof(desc.iv)); iv 678 net/sunrpc/auth_gss/gss_krb5_crypto.c u32 offset, u8 *iv, struct page **pages, int encrypt) iv 713 net/sunrpc/auth_gss/gss_krb5_crypto.c skcipher_request_set_crypt(req, sg, sg, len, iv); iv 809 net/sunrpc/auth_gss/gss_krb5_crypto.c memset(desc.iv, 0, sizeof(desc.iv)); iv 837 net/sunrpc/auth_gss/gss_krb5_crypto.c desc.iv, pages, 1); iv 893 net/sunrpc/auth_gss/gss_krb5_crypto.c memset(desc.iv, 0, sizeof(desc.iv)); iv 914 net/sunrpc/auth_gss/gss_krb5_crypto.c ret = gss_krb5_cts_crypt(cipher, &subbuf, cbcbytes, desc.iv, NULL, 0); iv 58 net/tls/tls_device.c kfree(ctx->tx.iv); iv 913 net/tls/tls_device.c char *iv, *rec_seq; iv 945 net/tls/tls_device.c iv = ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->iv; iv 967 net/tls/tls_device.c ctx->tx.iv = kmalloc(iv_size + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv 969 net/tls/tls_device.c if (!ctx->tx.iv) { iv 974 net/tls/tls_device.c memcpy(ctx->tx.iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv, iv_size); iv 1067 net/tls/tls_device.c kfree(ctx->tx.iv); iv 50 net/tls/tls_device_fallback.c char *iv, __be64 rcd_sn, iv 79 net/tls/tls_device_fallback.c memcpy(iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, buf + TLS_HEADER_SIZE, iv 113 net/tls/tls_device_fallback.c aead_request_set_crypt(aead_req, sg_in, sg_out, len, iv); iv 142 net/tls/tls_device_fallback.c struct scatterlist *sg_out, char *aad, char *iv, iv 152 net/tls/tls_device_fallback.c rc = tls_enc_record(aead_req, aead, aad, iv, iv 316 net/tls/tls_device_fallback.c void *buf, *iv, *aad, *dummy_buf; iv 334 net/tls/tls_device_fallback.c iv = buf; iv 335 net/tls/tls_device_fallback.c memcpy(iv, tls_ctx->crypto_send.aes_gcm_128.salt, iv 350 net/tls/tls_device_fallback.c if (tls_enc_records(aead_req, ctx->aead_send, sg_in, sg_out, aad, iv, iv 279 net/tls/tls_main.c kfree(ctx->tx.iv); iv 375 net/tls/tls_main.c memcpy(crypto_info_aes_gcm_128->iv, iv 376 net/tls/tls_main.c ctx->tx.iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, iv 399 net/tls/tls_main.c memcpy(crypto_info_aes_gcm_256->iv, iv 400 net/tls/tls_main.c ctx->tx.iv + TLS_CIPHER_AES_GCM_256_SALT_SIZE, iv 502 net/tls/tls_sw.c memcpy(&rec->iv_data[iv_offset], tls_ctx->tx.iv, iv 1402 net/tls/tls_sw.c u8 *aad, *iv, *mem = NULL; iv 1448 net/tls/tls_sw.c iv = aad + prot->aad_size; iv 1452 net/tls/tls_sw.c iv[0] = 2; iv 1458 net/tls/tls_sw.c iv + iv_offset + prot->salt_size, iv 1465 net/tls/tls_sw.c memcpy(iv + iv_offset, tls_ctx->rx.iv, iv 1468 net/tls/tls_sw.c memcpy(iv + iv_offset, tls_ctx->rx.iv, prot->salt_size); iv 1470 net/tls/tls_sw.c xor_iv_with_seq(prot->version, iv, tls_ctx->rx.rec_seq); iv 1514 net/tls/tls_sw.c err = tls_do_decryption(sk, skb, sgin, sgout, iv, iv 2168 net/tls/tls_sw.c kfree(tls_ctx->rx.iv); iv 2273 net/tls/tls_sw.c char *iv, *rec_seq, *key, *salt, *cipher_name; iv 2331 net/tls/tls_sw.c iv = ((struct tls12_crypto_info_aes_gcm_128 *)crypto_info)->iv; iv 2348 net/tls/tls_sw.c iv = ((struct tls12_crypto_info_aes_gcm_256 *)crypto_info)->iv; iv 2365 net/tls/tls_sw.c iv = ((struct tls12_crypto_info_aes_ccm_128 *)crypto_info)->iv; iv 2407 net/tls/tls_sw.c cctx->iv = kmalloc(iv_size + salt_size, GFP_KERNEL); iv 2408 net/tls/tls_sw.c if (!cctx->iv) { iv 2414 net/tls/tls_sw.c memcpy(cctx->iv, salt, salt_size); iv 2415 net/tls/tls_sw.c memcpy(cctx->iv + salt_size, iv, iv_size); iv 2468 net/tls/tls_sw.c kfree(cctx->iv); iv 2469 net/tls/tls_sw.c cctx->iv = NULL; iv 95 net/wireless/lib80211_crypt_ccmp.c const u8 *pn, u8 *iv, u8 *aad) iv 122 net/wireless/lib80211_crypt_ccmp.c iv[0] = 0x1; iv 125 net/wireless/lib80211_crypt_ccmp.c iv[1] = qc; iv 126 net/wireless/lib80211_crypt_ccmp.c memcpy(iv + 2, hdr->addr2, ETH_ALEN); iv 127 net/wireless/lib80211_crypt_ccmp.c memcpy(iv + 8, pn, CCMP_PN_LEN); iv 197 net/wireless/lib80211_crypt_ccmp.c u8 iv[AES_BLOCK_LEN]; iv 214 net/wireless/lib80211_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); iv 225 net/wireless/lib80211_crypt_ccmp.c aead_request_set_crypt(req, sg, sg, data_len, iv); iv 262 net/wireless/lib80211_crypt_ccmp.c u8 iv[AES_BLOCK_LEN]; iv 317 net/wireless/lib80211_crypt_ccmp.c aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad); iv 325 net/wireless/lib80211_crypt_ccmp.c aead_request_set_crypt(req, sg, sg, data_len, iv); iv 30 net/wireless/lib80211_crypt_wep.c u32 iv; iv 52 net/wireless/lib80211_crypt_wep.c get_random_bytes(&priv->iv, 4); iv 79 net/wireless/lib80211_crypt_wep.c wep->iv++; iv 84 net/wireless/lib80211_crypt_wep.c if ((wep->iv & 0xff00) == 0xff00) { iv 85 net/wireless/lib80211_crypt_wep.c u8 B = (wep->iv >> 16) & 0xff; iv 87 net/wireless/lib80211_crypt_wep.c wep->iv += 0x0100; iv 91 net/wireless/lib80211_crypt_wep.c *pos++ = (wep->iv >> 16) & 0xff; iv 92 net/wireless/lib80211_crypt_wep.c *pos++ = (wep->iv >> 8) & 0xff; iv 93 net/wireless/lib80211_crypt_wep.c *pos++ = wep->iv & 0xff; iv 274 security/keys/encrypted-keys/encrypted.c u8 *iv = epayload->iv; iv 291 security/keys/encrypted-keys/encrypted.c bufp = hex_byte_pack(bufp, iv[i]); iv 467 security/keys/encrypted-keys/encrypted.c u8 iv[AES_BLOCK_SIZE]; iv 486 security/keys/encrypted-keys/encrypted.c memcpy(iv, epayload->iv, sizeof(iv)); iv 487 security/keys/encrypted-keys/encrypted.c skcipher_request_set_crypt(req, sg_in, sg_out, encrypted_datalen, iv); iv 569 security/keys/encrypted-keys/encrypted.c u8 iv[AES_BLOCK_SIZE]; iv 592 security/keys/encrypted-keys/encrypted.c memcpy(iv, epayload->iv, sizeof(iv)); iv 593 security/keys/encrypted-keys/encrypted.c skcipher_request_set_crypt(req, sg_in, sg_out, encrypted_datalen, iv); iv 686 security/keys/encrypted-keys/encrypted.c ret = hex2bin(epayload->iv, hex_encoded_iv, ivsize); iv 734 security/keys/encrypted-keys/encrypted.c epayload->iv = epayload->datalen + strlen(datalen) + 1; iv 735 security/keys/encrypted-keys/encrypted.c epayload->encrypted_data = epayload->iv + ivsize + 1; iv 776 security/keys/encrypted-keys/encrypted.c get_random_bytes(epayload->iv, ivsize); iv 893 security/keys/encrypted-keys/encrypted.c memcpy(new_epayload->iv, epayload->iv, ivsize); iv 82 sound/pci/ctxfi/ctamixer.c static int amixer_set_invalid_squash(struct amixer *amixer, unsigned int iv) iv 87 sound/pci/ctxfi/ctamixer.c hw->amixer_set_iv(amixer->rsc.ctrl_blk, iv); iv 63 sound/pci/ctxfi/ctamixer.h int (*set_invalid_squash)(struct amixer *amixer, unsigned int iv); iv 136 sound/pci/ctxfi/cthardware.h int (*amixer_set_iv)(void *blk, unsigned int iv); iv 609 sound/pci/ctxfi/cthw20k1.c static int amixer_set_iv(void *blk, unsigned int iv) iv 608 sound/pci/ctxfi/cthw20k2.c static int amixer_set_iv(void *blk, unsigned int iv) iv 612 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->amoplo, AMOPLO_IV, iv); iv 882 sound/soc/sh/rcar/core.c struct snd_interval *baseline, struct snd_interval *iv) iv 894 sound/soc/sh/rcar/core.c if (!snd_interval_test(iv, list[i])) iv 912 sound/soc/sh/rcar/core.c return snd_interval_refine(iv, &p); iv 72 tools/include/uapi/linux/tls.h unsigned char iv[TLS_CIPHER_AES_GCM_128_IV_SIZE];