Lines Matching refs:cur
376 struct test_mb_aead_data *cur = &data[j]; in test_mb_aead_speed() local
378 assoc = cur->axbuf[0]; in test_mb_aead_speed()
381 sg_init_aead(cur->sg, cur->xbuf, in test_mb_aead_speed()
385 sg_init_aead(cur->sgout, cur->xoutbuf, in test_mb_aead_speed()
389 aead_request_set_ad(cur->req, aad_size); in test_mb_aead_speed()
393 aead_request_set_crypt(cur->req, in test_mb_aead_speed()
394 cur->sgout, in test_mb_aead_speed()
395 cur->sg, in test_mb_aead_speed()
397 ret = crypto_aead_encrypt(cur->req); in test_mb_aead_speed()
398 ret = do_one_aead_op(cur->req, ret); in test_mb_aead_speed()
407 aead_request_set_crypt(cur->req, cur->sg, in test_mb_aead_speed()
408 cur->sgout, *b_size + in test_mb_aead_speed()
1354 struct test_mb_skcipher_data *cur = &data[j]; in test_mb_skcipher_speed() local
1359 sg_init_table(cur->sg, pages); in test_mb_skcipher_speed()
1362 sg_set_buf(cur->sg + p, cur->xbuf[p], in test_mb_skcipher_speed()
1364 memset(cur->xbuf[p], 0xff, PAGE_SIZE); in test_mb_skcipher_speed()
1369 sg_set_buf(cur->sg + p, cur->xbuf[p], k); in test_mb_skcipher_speed()
1370 memset(cur->xbuf[p], 0xff, k); in test_mb_skcipher_speed()
1372 skcipher_request_set_crypt(cur->req, cur->sg, in test_mb_skcipher_speed()
1373 cur->sg, *b_size, in test_mb_skcipher_speed()