Home
last modified time | relevance | path

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

/crypto/
Dtcrypt.c113 static void sg_init_aead(struct scatterlist *sg, char *xbuf[XBUFSIZE], in sg_init_aead()
134 sg_set_buf(&sg[k + 1], xbuf[k], PAGE_SIZE); in sg_init_aead()
137 sg_set_buf(&sg[k + 1], xbuf[k], rem); in sg_init_aead()
152 char *xbuf[XBUFSIZE]; member
300 if (testmgr_alloc_buf(data[i].xbuf)) { in test_mb_aead_speed()
302 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
389 sg_init_aead(cur->sg, cur->xbuf, in test_mb_aead_speed()
452 testmgr_free_buf(data[i].xbuf); in test_mb_aead_speed()
541 char *xbuf[XBUFSIZE]; in test_aead_speed() local
562 if (testmgr_alloc_buf(xbuf)) in test_aead_speed()
[all …]
Dtestmgr.c2609 char *xbuf[XBUFSIZE]; in test_cipher() local
2612 if (testmgr_alloc_buf(xbuf)) in test_cipher()
2634 data = xbuf[0]; in test_cipher()
2681 testmgr_free_buf(xbuf); in test_cipher()
3918 char *xbuf[XBUFSIZE]; in test_akcipher_one() local
3931 if (testmgr_alloc_buf(xbuf)) in test_akcipher_one()
3987 memcpy(xbuf[0], m, m_size); in test_akcipher_one()
3990 sg_set_buf(&src_tab[0], xbuf[0], 8); in test_akcipher_one()
3991 sg_set_buf(&src_tab[1], xbuf[0] + 8, m_size - 8); in test_akcipher_one()
3995 memcpy(xbuf[1], c, c_size); in test_akcipher_one()
[all …]