Lines Matching refs:algorithm
64 /* Hash algorithm independent digest context; includes all of the above. */
79 /* Current hash algorithm */
125 * @param algorithm Crypto algorithm (vb2_crypto_algorithm)
127 * @return The hash algorithm for that crypto algorithm, or VB2_HASH_INVALID if
128 * the crypto algorithm or its corresponding hash algorithm is invalid or not
131 enum vb2_hash_algorithm vb2_crypto_to_hash(uint32_t algorithm);
134 * Return the size of the digest for a hash algorithm.
136 * @param hash_alg Hash algorithm
145 * @param hash_alg Hash algorithm
166 * The destination digest should be at least vb2_digest_size(algorithm).