Searched refs:reqfd (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/crypto/ |
D | af_alg05.c | 29 int reqfd; in run() local 31 reqfd = tst_alg_setup_reqfd("skcipher", "cbc(aes-generic)", NULL, 16); in run() 33 SAFE_WRITE(1, reqfd, buffer, 15); in run() 35 TEST(read(reqfd, buffer, 15)); in run() 44 close(reqfd); in run()
|
D | af_alg04.c | 20 int algfd, reqfd; in run() local 35 reqfd = tst_alg_accept(algfd); in run() 38 SAFE_WRITE(1, reqfd, buf, sizeof(buf)); in run() 40 close(reqfd); in run()
|
D | af_alg02.c | 27 int reqfd = tst_alg_setup_reqfd("skcipher", "salsa20", NULL, 16); in verify_encrypt() local 32 if (read(reqfd, buf, 16) == 0) in verify_encrypt()
|
/external/ltp/lib/ |
D | tst_af_alg.c | 144 int reqfd = tst_alg_accept(algfd); in tst_alg_setup_reqfd() local 147 return reqfd; in tst_alg_setup_reqfd()
|