Lines Matching refs:alg
169 gnutls_digest_algorithm_t alg = GNUTLS_DIG_UNKNOWN; in cupsHashData() local
175 alg = GNUTLS_DIG_SHA1; in cupsHashData()
177 alg = GNUTLS_DIG_SHA224; in cupsHashData()
179 alg = GNUTLS_DIG_SHA256; in cupsHashData()
181 alg = GNUTLS_DIG_SHA384; in cupsHashData()
183 alg = GNUTLS_DIG_SHA512; in cupsHashData()
186 alg = GNUTLS_DIG_SHA512; in cupsHashData()
191 alg = GNUTLS_DIG_SHA512; in cupsHashData()
195 if (alg != GNUTLS_DIG_UNKNOWN) in cupsHashData()
206 gnutls_hash_fast(alg, data, datalen, temp); in cupsHashData()
212 if (hashsize < gnutls_hash_get_len(alg)) in cupsHashData()
215 gnutls_hash_fast(alg, data, datalen, hash); in cupsHashData()
217 return (gnutls_hash_get_len(alg)); in cupsHashData()