• Home
  • Raw
  • Download

Lines Matching full:algorithm

21  * Create an AF_ALG algorithm socket.
23 * This creates an AF_ALG algorithm socket that is initially not bound to any
24 * particular algorithm. On failure, tst_brk() is called with TCONF if the
27 * @return a new AF_ALG algorithm socket
32 * Bind an AF_ALG algorithm socket to an algorithm.
34 * @param algfd An AF_ALG algorithm socket
35 * @param addr A structure which specifies the algorithm to use
38 * specified algorithm, otherwise TBROK.
43 * Bind an AF_ALG algorithm socket to an algorithm.
45 * @param algfd An AF_ALG algorithm socket
46 * @param algtype The type of algorithm, such as "hash" or "skcipher"
47 * @param algname The name of the algorithm, such as "sha256" or "xts(aes)"
49 * Like tst_alg_bind_addr(), except this just takes in the algorithm type and
53 * specified algorithm, otherwise TBROK.
58 * Check for the availability of an algorithm.
60 * @param algtype The type of algorithm, such as "hash" or "skcipher"
61 * @param algname The name of the algorithm, such as "sha256" or "xts(aes)"
63 * Return true if the algorithm is available, or false if unavailable.
69 * Require the availability of an algorithm.
71 * @param algtype The type of algorithm, such as "hash" or "skcipher"
72 * @param algname The name of the algorithm, such as "sha256" or "xts(aes)"
74 * If the algorithm is unavailable, tst_brk() is called with TCONF.
80 * Assign a cryptographic key to an AF_ALG algorithm socket.
82 * @param algfd An AF_ALG algorithm socket
91 * Create an AF_ALG request socket for the given algorithm socket.
93 * @param algfd An AF_ALG algorithm socket
95 * This creates a request socket for the given algorithm socket, which must be
96 * bound to an algorithm. The same algorithm socket can have many request
99 * assigned to the algorithm is shared by all request sockets.
108 * Set up an AF_ALG algorithm socket for the given algorithm w/ given key.
110 * @param algtype The type of algorithm, such as "hash" or "skcipher"
111 * @param algname The name of the algorithm, such as "sha256" or "xts(aes)"
115 * This is a helper function which creates an AF_ALG algorithm socket, binds it
116 * to the specified algorithm, and optionally sets a key. If keylen is 0 then
120 * @return the AF_ALG algorithm socket that was set up
126 * Set up an AF_ALG request socket for the given algorithm w/ given key.