Lines Matching refs:out

140 static int shash_final_unaligned(struct shash_desc *desc, u8 *out)  in shash_final_unaligned()  argument
159 goto out; in shash_final_unaligned()
161 memcpy(out, buf, ds); in shash_final_unaligned()
163 out: in shash_final_unaligned()
168 int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final() argument
178 if ((unsigned long)out & alignmask) in crypto_shash_final()
179 err = shash_final_unaligned(desc, out); in crypto_shash_final()
181 err = shash->final(desc, out); in crypto_shash_final()
188 unsigned int len, u8 *out) in shash_finup_unaligned() argument
191 shash_final_unaligned(desc, out); in shash_finup_unaligned()
195 unsigned int len, u8 *out) in crypto_shash_finup() argument
209 if (((unsigned long)data | (unsigned long)out) & alignmask) in crypto_shash_finup()
210 err = shash_finup_unaligned(desc, data, len, out); in crypto_shash_finup()
212 err = shash->finup(desc, data, len, out); in crypto_shash_finup()
220 unsigned int len, u8 *out) in shash_digest_unaligned() argument
224 shash_final_unaligned(desc, out); in shash_digest_unaligned()
228 unsigned int len, u8 *out) in crypto_shash_digest() argument
244 else if (((unsigned long)data | (unsigned long)out) & alignmask) in crypto_shash_digest()
245 err = shash_digest_unaligned(desc, data, len, out); in crypto_shash_digest()
247 err = shash->digest(desc, data, len, out); in crypto_shash_digest()
254 unsigned int len, u8 *out) in crypto_shash_tfm_digest() argument
261 err = crypto_shash_digest(desc, data, len, out); in crypto_shash_tfm_digest()
269 static int shash_default_export(struct shash_desc *desc, void *out) in shash_default_export() argument
271 memcpy(out, shash_desc_ctx(desc), crypto_shash_descsize(desc->tfm)); in shash_default_export()
387 static int shash_async_export(struct ahash_request *req, void *out) in shash_async_export() argument
389 return crypto_shash_export(ahash_request_ctx(req), out); in shash_async_export()