Lines Matching refs:ivsize
658 unsigned int ivsize; member
1126 u8 *key, int keylen, u8 *iv, int ivsize, u16 mode) in hifn_setup_crypto_command() argument
1155 if (ivsize) { in hifn_setup_crypto_command()
1156 memcpy(buf_pos, iv, ivsize); in hifn_setup_crypto_command()
1157 buf_pos += ivsize; in hifn_setup_crypto_command()
1255 rctx->iv, rctx->ivsize, md); in hifn_setup_cmd_desc()
1585 if (rctx->iv && !rctx->ivsize && rctx->mode != ACRYPTO_MODE_ECB) in hifn_setup_session()
1637 dev->name, rctx->iv, rctx->ivsize, in hifn_setup_session()
1663 rctx.ivsize = 0; in hifn_test()
2102 unsigned ivsize; in hifn_setup_crypto_req() local
2104 ivsize = crypto_ablkcipher_ivsize(crypto_ablkcipher_reqtfm(req)); in hifn_setup_crypto_req()
2108 ivsize = HIFN_AES_IV_LENGTH; in hifn_setup_crypto_req()
2110 ivsize = HIFN_DES_KEY_LENGTH; in hifn_setup_crypto_req()
2112 ivsize = HIFN_3DES_KEY_LENGTH; in hifn_setup_crypto_req()
2126 rctx->ivsize = ivsize; in hifn_setup_crypto_req()
2362 .ivsize = HIFN_IV_LENGTH,
2407 .ivsize = HIFN_IV_LENGTH,
2442 .ivsize = HIFN_AES_IV_LENGTH,