Home
last modified time | relevance | path

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

/third_party/ltp/lib/
H A Dtst_af_alg.c52 const char *algtype, const char *algname) in init_sockaddr_alg()
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, algnam in tst_have_alg()
51 init_sockaddr_alg(struct sockaddr_alg *addr, const char *algtype, const char *algname) init_sockaddr_alg() argument
126 tst_require_alg(const char *algtype, const char *algname) tst_require_alg() argument
167 tst_alg_setup(const char *algtype, const char *algname, const uint8_t *key, unsigned int keylen) tst_alg_setup() argument
180 tst_alg_setup_reqfd(const char *algtype, const char *algname, const uint8_t *key, unsigned int keylen) tst_alg_setup_reqfd() argument
[all...]
/third_party/ltp/include/
H A Dtst_af_alg.h47 * @param algtype The type of algorithm, such as "hash" or "skcipher"
56 void tst_alg_bind(int algfd, const char *algtype, const char *algname);
61 * @param algtype The type of algorithm, such as "hash" or "skcipher"
66 int tst_try_alg(const char *algtype, const char *algname);
71 * @param algtype The type of algorithm, such as "hash" or "skcipher"
78 bool tst_have_alg(const char *algtype, const char *algname);
83 * @param algtype The type of algorithm, such as "hash" or "skcipher"
89 void tst_require_alg(const char *algtype, const char *algname);
122 * @param algtype The type of algorithm, such as "hash" or "skcipher"
134 int tst_alg_setup(const char *algtype, cons
[all...]

Completed in 2 milliseconds