Home
last modified time | relevance | path

Searched refs:reqfd (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/crypto/
Daf_alg05.c29 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()
Daf_alg04.c20 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()
Daf_alg02.c27 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/
Dtst_af_alg.c144 int reqfd = tst_alg_accept(algfd); in tst_alg_setup_reqfd() local
147 return reqfd; in tst_alg_setup_reqfd()