Home
last modified time | relevance | path

Searched refs:xbuf (Results 1 – 2 of 2) sorted by relevance

/crypto/
Dtcrypt.c112 static void sg_init_aead(struct scatterlist *sg, char *xbuf[XBUFSIZE], in sg_init_aead()
133 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); in sg_init_aead()
136 sg_set_buf(&sg[k + 1], xbuf[k], rem); in sg_init_aead()
151 char *xbuf[XBUFSIZE]; member
294 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_aead_speed()
296 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
381 sg_init_aead(cur->sg, cur->xbuf, in test_mb_aead_speed()
444 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
533 char *xbuf[XBUFSIZE]; in test_aead_speed() local
554 if (testmgr_alloc_buf(xbuf)) in test_aead_speed()
[all …]
Dtestmgr.c2360 char *xbuf[XBUFSIZE]; in test_cipher() local
2363 if (testmgr_alloc_buf(xbuf)) in test_cipher()
2385 data = xbuf[0]; in test_cipher()
2432 testmgr_free_buf(xbuf); in test_cipher()
3660 char *xbuf[XBUFSIZE]; in test_akcipher_one() local
3673 if (testmgr_alloc_buf(xbuf)) in test_akcipher_one()
3728 memcpy(xbuf[0], m, m_size); in test_akcipher_one()
3731 sg_set_buf(&src_tab[0], xbuf[0], 8); in test_akcipher_one()
3732 sg_set_buf(&src_tab[1], xbuf[0] + 8, m_size - 8); in test_akcipher_one()
3736 memcpy(xbuf[1], c, c_size); in test_akcipher_one()
[all …]