Lines Matching defs:cur
376 struct test_mb_aead_data *cur = &data[j];
378 assoc = cur->axbuf[0];
381 sg_init_aead(cur->sg, cur->xbuf,
385 sg_init_aead(cur->sgout, cur->xoutbuf,
389 aead_request_set_ad(cur->req, aad_size);
393 aead_request_set_crypt(cur->req,
394 cur->sgout,
395 cur->sg,
397 ret = crypto_aead_encrypt(cur->req);
398 ret = do_one_aead_op(cur->req, ret);
407 aead_request_set_crypt(cur->req, cur->sg,
408 cur->sgout, bs +
1159 struct test_mb_skcipher_data *cur = &data[j];
1164 sg_init_table(cur->sg, pages);
1167 sg_set_buf(cur->sg + p, cur->xbuf[p],
1169 memset(cur->xbuf[p], 0xff, PAGE_SIZE);
1174 sg_set_buf(cur->sg + p, cur->xbuf[p], k);
1175 memset(cur->xbuf[p], 0xff, k);
1177 skcipher_request_set_crypt(cur->req, cur->sg,
1178 cur->sg, bs, iv);