Lines Matching refs:algname
52 const char *algtype, const char *algname)
62 strncpy((char *)addr->salg_name, algname, sizeof(addr->salg_name));
64 tst_brk(TBROK, "algorithm name too long: '%s'", algname);
67 void tst_alg_bind(int algfd, const char *algtype, const char *algname)
71 init_sockaddr_alg(&addr, algtype, algname);
76 int tst_try_alg(const char *algtype, const char *algname)
85 init_sockaddr_alg(&addr, algtype, algname);
96 bool tst_have_alg(const char *algtype, const char *algname)
100 ret = tst_try_alg(algtype, algname);
107 algtype, algname);
113 algtype, algname);
121 algtype, algname);
126 void tst_require_alg(const char *algtype, const char *algname)
130 tst_alg_bind(algfd, algtype, algname);
167 int tst_alg_setup(const char *algtype, const char *algname,
172 tst_alg_bind(algfd, algtype, algname);
180 int tst_alg_setup_reqfd(const char *algtype, const char *algname,
183 int algfd = tst_alg_setup(algtype, algname, key, keylen);