Lines Matching refs:walk
309 struct blkcipher_walk walk; in geode_cbc_decrypt() local
315 blkcipher_walk_init(&walk, dst, src, nbytes); in geode_cbc_decrypt()
316 err = blkcipher_walk_virt(desc, &walk); in geode_cbc_decrypt()
317 op->iv = walk.iv; in geode_cbc_decrypt()
319 while ((nbytes = walk.nbytes)) { in geode_cbc_decrypt()
320 op->src = walk.src.virt.addr, in geode_cbc_decrypt()
321 op->dst = walk.dst.virt.addr; in geode_cbc_decrypt()
329 err = blkcipher_walk_done(desc, &walk, nbytes); in geode_cbc_decrypt()
341 struct blkcipher_walk walk; in geode_cbc_encrypt() local
347 blkcipher_walk_init(&walk, dst, src, nbytes); in geode_cbc_encrypt()
348 err = blkcipher_walk_virt(desc, &walk); in geode_cbc_encrypt()
349 op->iv = walk.iv; in geode_cbc_encrypt()
351 while ((nbytes = walk.nbytes)) { in geode_cbc_encrypt()
352 op->src = walk.src.virt.addr, in geode_cbc_encrypt()
353 op->dst = walk.dst.virt.addr; in geode_cbc_encrypt()
360 err = blkcipher_walk_done(desc, &walk, nbytes); in geode_cbc_encrypt()
422 struct blkcipher_walk walk; in geode_ecb_decrypt() local
428 blkcipher_walk_init(&walk, dst, src, nbytes); in geode_ecb_decrypt()
429 err = blkcipher_walk_virt(desc, &walk); in geode_ecb_decrypt()
431 while ((nbytes = walk.nbytes)) { in geode_ecb_decrypt()
432 op->src = walk.src.virt.addr, in geode_ecb_decrypt()
433 op->dst = walk.dst.virt.addr; in geode_ecb_decrypt()
440 err = blkcipher_walk_done(desc, &walk, nbytes); in geode_ecb_decrypt()
452 struct blkcipher_walk walk; in geode_ecb_encrypt() local
458 blkcipher_walk_init(&walk, dst, src, nbytes); in geode_ecb_encrypt()
459 err = blkcipher_walk_virt(desc, &walk); in geode_ecb_encrypt()
461 while ((nbytes = walk.nbytes)) { in geode_ecb_encrypt()
462 op->src = walk.src.virt.addr, in geode_ecb_encrypt()
463 op->dst = walk.dst.virt.addr; in geode_ecb_encrypt()
470 ret = blkcipher_walk_done(desc, &walk, nbytes); in geode_ecb_encrypt()