Lines Matching refs:walk
70 struct skcipher_walk *walk) in p8_aes_ctr_final() argument
72 u8 *ctrblk = walk->iv; in p8_aes_ctr_final()
74 u8 *src = walk->src.virt.addr; in p8_aes_ctr_final()
75 u8 *dst = walk->dst.virt.addr; in p8_aes_ctr_final()
76 unsigned int nbytes = walk->nbytes; in p8_aes_ctr_final()
94 struct skcipher_walk walk; in p8_aes_ctr_crypt() local
106 ret = skcipher_walk_virt(&walk, req, false); in p8_aes_ctr_crypt()
107 while ((nbytes = walk.nbytes) >= AES_BLOCK_SIZE) { in p8_aes_ctr_crypt()
111 aes_p8_ctr32_encrypt_blocks(walk.src.virt.addr, in p8_aes_ctr_crypt()
112 walk.dst.virt.addr, in p8_aes_ctr_crypt()
114 &ctx->enc_key, walk.iv); in p8_aes_ctr_crypt()
120 crypto_inc(walk.iv, AES_BLOCK_SIZE); in p8_aes_ctr_crypt()
123 ret = skcipher_walk_done(&walk, nbytes); in p8_aes_ctr_crypt()
126 p8_aes_ctr_final(ctx, &walk); in p8_aes_ctr_crypt()
127 ret = skcipher_walk_done(&walk, 0); in p8_aes_ctr_crypt()