Home
last modified time | relevance | path

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

/third_party/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.c22 int algfd, reqfd; in test_with_symm_enc_algs() local
41 reqfd = tst_alg_accept(algfd); in test_with_symm_enc_algs()
44 SAFE_WRITE(1, reqfd, buf, sizeof(buf)); in test_with_symm_enc_algs()
46 close(reqfd); in test_with_symm_enc_algs()
Daf_alg02.c37 int reqfd = tst_alg_setup_reqfd("skcipher", "salsa20", NULL, in verify_encrypt() local
41 tst_alg_sendmsg(reqfd, NULL, 0, &params); in verify_encrypt()
48 if (read(reqfd, buf, 16) == 0) in verify_encrypt()
/third_party/ltp/lib/
Dtst_af_alg.c184 int reqfd = tst_alg_accept(algfd); in tst_alg_setup_reqfd() local
187 return reqfd; in tst_alg_setup_reqfd()
190 void tst_alg_sendmsg(int reqfd, const void *data, size_t datalen, in tst_alg_sendmsg() argument
251 SAFE_SENDMSG(datalen, reqfd, &msg, 0); in tst_alg_sendmsg()
/third_party/ltp/include/
Dtst_af_alg.h177 void tst_alg_sendmsg(int reqfd, const void *data, size_t datalen,