Home
last modified time | relevance | path

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

/third_party/ltp/lib/
Dtst_af_alg.c52 const char *algtype, const char *algname) in init_sockaddr_alg() argument
58 strncpy((char *)addr->salg_type, algtype, sizeof(addr->salg_type)); in init_sockaddr_alg()
60 tst_brk(TBROK, "algorithm type too long: '%s'", algtype); in init_sockaddr_alg()
67 void tst_alg_bind(int algfd, const char *algtype, const char *algname) in tst_alg_bind() argument
71 init_sockaddr_alg(&addr, algtype, algname); in tst_alg_bind()
76 int tst_try_alg(const char *algtype, const char *algname) in tst_try_alg() argument
85 init_sockaddr_alg(&addr, algtype, algname); in tst_try_alg()
96 bool tst_have_alg(const char *algtype, const char *algname) in tst_have_alg() argument
100 ret = tst_try_alg(algtype, algname); in tst_have_alg()
107 algtype, algname); in tst_have_alg()
[all …]
/third_party/ltp/include/
Dtst_af_alg.h56 void tst_alg_bind(int algfd, const char *algtype, const char *algname);
66 int tst_try_alg(const char *algtype, const char *algname);
78 bool tst_have_alg(const char *algtype, const char *algname);
89 void tst_require_alg(const char *algtype, const char *algname);
134 int tst_alg_setup(const char *algtype, const char *algname,
145 int tst_alg_setup_reqfd(const char *algtype, const char *algname,