Lines Matching refs:ivsize
306 int ivsize = crypto_skcipher_ivsize(tfm);
324 ivsize = crypto_skcipher_ivsize(tfm);
327 offset = areq->cryptlen - ivsize;
329 offset, ivsize, 0);
344 offset = sgs->length - ivsize;
345 scatterwalk_map_and_copy(biv, sgs, offset, ivsize, 0);
367 if (ivsize) {
368 if (ivsize == DES_BLOCK_SIZE)
369 memcpy_toio(rkc->reg + RK_CRYPTO_TDES_IV_0, ivtouse, ivsize);
371 memcpy_toio(rkc->reg + RK_CRYPTO_AES_IV_0, ivtouse, ivsize);
393 memcpy(iv, biv, ivsize);
396 offset = sgd->length - ivsize;
397 scatterwalk_map_and_copy(iv, sgd, offset, ivsize, 0);
404 if (areq->iv && ivsize > 0) {
405 offset = areq->cryptlen - ivsize;
407 memcpy(areq->iv, rctx->backup_iv, ivsize);
408 memzero_explicit(rctx->backup_iv, ivsize);
411 ivsize, 0);
503 .ivsize = AES_BLOCK_SIZE,
554 .ivsize = DES_BLOCK_SIZE,
605 .ivsize = DES_BLOCK_SIZE,