Searched refs:reqfd (Results 1 – 5 of 5) sorted by relevance
/third_party/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 | 22 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()
|
D | af_alg02.c | 37 int reqfd = tst_alg_setup_reqfd("skcipher", "salsa20", NULL, in verify_encrypt() local 41 tst_alg_sendmsg(reqfd, NULL, 0, ¶ms); in verify_encrypt() 48 if (read(reqfd, buf, 16) == 0) in verify_encrypt()
|
/third_party/ltp/lib/ |
D | tst_af_alg.c | 184 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/ |
D | tst_af_alg.h | 177 void tst_alg_sendmsg(int reqfd, const void *data, size_t datalen,
|