• Home
  • Raw
  • Download

Lines Matching full:algorithm

22  * Create an AF_ALG algorithm socket.
24 * This creates an AF_ALG algorithm socket that is initially not bound to any
25 * particular algorithm. On failure, tst_brk() is called with TCONF if the
28 * @return a new AF_ALG algorithm socket
33 * Bind an AF_ALG algorithm socket to an algorithm.
35 * @param algfd An AF_ALG algorithm socket
36 * @param addr A structure which specifies the algorithm to use
39 * specified algorithm, otherwise TBROK.
44 * Bind an AF_ALG algorithm socket to an algorithm.
46 * @param algfd An AF_ALG algorithm socket
47 * @param algtype The type of algorithm, such as "hash" or "skcipher"
48 * @param algname The name of the algorithm, such as "sha256" or "xts(aes)"
50 * Like tst_alg_bind_addr(), except this just takes in the algorithm type and
54 * specified algorithm, otherwise TBROK.
59 * Check for the availability of an algorithm.
61 * @param algtype The type of algorithm, such as "hash" or "skcipher"
62 * @param algname The name of the algorithm, such as "sha256" or "xts(aes)"
64 * Return 0 if the algorithm is available, or errno if unavailable.
69 * Check for 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 * Return true if the algorithm is available, or false if unavailable
76 * with TBROK unless algorithm is disabled due FIPS mode (errno ELIBBAD).
81 * Require the availability of an algorithm.
83 * @param algtype The type of algorithm, such as "hash" or "skcipher"
84 * @param algname The name of the algorithm, such as "sha256" or "xts(aes)"
86 * If the algorithm is unavailable, tst_brk() is called with TCONF.
92 * Assign a cryptographic key to an AF_ALG algorithm socket.
94 * @param algfd An AF_ALG algorithm socket
103 * Create an AF_ALG request socket for the given algorithm socket.
105 * @param algfd An AF_ALG algorithm socket
107 * This creates a request socket for the given algorithm socket, which must be
108 * bound to an algorithm. The same algorithm socket can have many request
111 * assigned to the algorithm is shared by all request sockets.
120 * Set up an AF_ALG algorithm socket for the given algorithm w/ given key.
122 * @param algtype The type of algorithm, such as "hash" or "skcipher"
123 * @param algname The name of the algorithm, such as "sha256" or "xts(aes)"
127 * This is a helper function which creates an AF_ALG algorithm socket, binds it
128 * to the specified algorithm, and optionally sets a key. If keylen is 0 then
132 * @return the AF_ALG algorithm socket that was set up
138 * Set up an AF_ALG request socket for the given algorithm w/ given key.