Searched refs:alg_fd (Results 1 – 1 of 1) sorted by relevance
223 int alg_fd; in get_alg_fd() local225 alg_fd = socket(AF_ALG, SOCK_SEQPACKET, 0); in get_alg_fd()226 if (alg_fd < 0) in get_alg_fd()233 if (bind(alg_fd, (void *)&addr, sizeof(addr)) != 0) in get_alg_fd()236 return alg_fd; in get_alg_fd()239 static int get_req_fd(int alg_fd, const char *alg_name) in get_req_fd() argument241 int req_fd = accept(alg_fd, NULL, NULL); in get_req_fd()300 int alg_fd = get_alg_fd("rng", "jitterentropy_rng"); in cmd_dump_jitterentropy() local301 int req_fd = get_req_fd(alg_fd, "jitterentropy_rng"); in cmd_dump_jitterentropy()306 close(alg_fd); in cmd_dump_jitterentropy()[all …]