Lines Matching full:algorithm
21 const char *name; /* Name of algorithm */
31 * @output: Checksum result (length depends on algorithm)
77 * hash_command: Process a hash command for a particular algorithm
81 * @algo_name: Hash algorithm being used (lower case!)
92 * hash_block() - Hash a block according to the requested algorithm
94 * The caller probably knows the hash length for the chosen algorithm, but
98 * @algo_name: Hash algorithm to use
106 * since the caller is selecting the algorithm.
107 * @return 0 if ok, -ve on error: -EPROTONOSUPPORT for an unknown algorithm,
116 * hash_lookup_algo() - Look up the hash_algo struct for an algorithm
119 * algorithm is not available.
121 * @algo_name: Hash algorithm to look up
124 * @return 0 if ok, -EPROTONOSUPPORT for an unknown algorithm.
132 * algorithm is not available with progressive hash support.
134 * @algo_name: Hash algorithm to look up
137 * @return 0 if ok, -EPROTONOSUPPORT for an unknown algorithm.
148 * @algo_name: Hash algorithm to look up
152 * @return 0 if ok, -EPROTONOSUPPORT for an unknown algorithm.