Lines Matching refs:ivsize
202 u32 ivsize, block, conf_reg = 0; in rk_ablk_hw_init() local
205 ivsize = crypto_ablkcipher_ivsize(cipher); in rk_ablk_hw_init()
212 memcpy_toio(dev->reg + RK_CRYPTO_TDES_IV_0, req->info, ivsize); in rk_ablk_hw_init()
224 memcpy_toio(dev->reg + RK_CRYPTO_AES_IV_0, req->info, ivsize); in rk_ablk_hw_init()
279 u32 ivsize = crypto_ablkcipher_ivsize(tfm); in rk_iv_copyback() local
281 if (ivsize == DES_BLOCK_SIZE) in rk_iv_copyback()
283 ivsize); in rk_iv_copyback()
284 else if (ivsize == AES_BLOCK_SIZE) in rk_iv_copyback()
285 memcpy_fromio(req->info, dev->reg + RK_CRYPTO_AES_IV_0, ivsize); in rk_iv_copyback()
399 .ivsize = AES_BLOCK_SIZE,
450 .ivsize = DES_BLOCK_SIZE,
476 .ivsize = DES_BLOCK_SIZE,
502 .ivsize = DES_BLOCK_SIZE,