Lines Matching refs:alg
188 gnutls_digest_algorithm_t alg = GNUTLS_DIG_UNKNOWN; in cupsHashData() local
194 alg = GNUTLS_DIG_MD5; in cupsHashData()
196 alg = GNUTLS_DIG_SHA1; in cupsHashData()
198 alg = GNUTLS_DIG_SHA224; in cupsHashData()
200 alg = GNUTLS_DIG_SHA256; in cupsHashData()
202 alg = GNUTLS_DIG_SHA384; in cupsHashData()
204 alg = GNUTLS_DIG_SHA512; in cupsHashData()
207 alg = GNUTLS_DIG_SHA512; in cupsHashData()
212 alg = GNUTLS_DIG_SHA512; in cupsHashData()
216 if (alg != GNUTLS_DIG_UNKNOWN) in cupsHashData()
227 gnutls_hash_fast(alg, data, datalen, temp); in cupsHashData()
233 if (hashsize < gnutls_hash_get_len(alg)) in cupsHashData()
236 gnutls_hash_fast(alg, data, datalen, hash); in cupsHashData()
238 return (gnutls_hash_get_len(alg)); in cupsHashData()