Lines Matching refs:out
29 static int __crypto_sha512_export(const struct __sha512_ctx *ctx0, void *out) in __crypto_sha512_export() argument
33 u8 *p = out; in __crypto_sha512_export()
80 static int crypto_sha384_final(struct shash_desc *desc, u8 *out) in crypto_sha384_final() argument
82 sha384_final(SHA384_CTX(desc), out); in crypto_sha384_final()
87 const u8 *data, unsigned int len, u8 *out) in crypto_sha384_digest() argument
89 sha384(data, len, out); in crypto_sha384_digest()
93 static int crypto_sha384_export(struct shash_desc *desc, void *out) in crypto_sha384_export() argument
95 return __crypto_sha512_export(&SHA384_CTX(desc)->ctx, out); in crypto_sha384_export()
132 static int crypto_sha512_final(struct shash_desc *desc, u8 *out) in crypto_sha512_final() argument
134 sha512_final(SHA512_CTX(desc), out); in crypto_sha512_final()
139 const u8 *data, unsigned int len, u8 *out) in crypto_sha512_digest() argument
141 sha512(data, len, out); in crypto_sha512_digest()
145 static int crypto_sha512_export(struct shash_desc *desc, void *out) in crypto_sha512_export() argument
147 return __crypto_sha512_export(&SHA512_CTX(desc)->ctx, out); in crypto_sha512_export()
180 static int crypto_hmac_sha384_final(struct shash_desc *desc, u8 *out) in crypto_hmac_sha384_final() argument
182 hmac_sha384_final(HMAC_SHA384_CTX(desc), out); in crypto_hmac_sha384_final()
188 u8 *out) in crypto_hmac_sha384_digest() argument
190 hmac_sha384(HMAC_SHA384_KEY(desc->tfm), data, len, out); in crypto_hmac_sha384_digest()
194 static int crypto_hmac_sha384_export(struct shash_desc *desc, void *out) in crypto_hmac_sha384_export() argument
196 return __crypto_sha512_export(&HMAC_SHA384_CTX(desc)->ctx.sha_ctx, out); in crypto_hmac_sha384_export()
232 static int crypto_hmac_sha512_final(struct shash_desc *desc, u8 *out) in crypto_hmac_sha512_final() argument
234 hmac_sha512_final(HMAC_SHA512_CTX(desc), out); in crypto_hmac_sha512_final()
240 u8 *out) in crypto_hmac_sha512_digest() argument
242 hmac_sha512(HMAC_SHA512_KEY(desc->tfm), data, len, out); in crypto_hmac_sha512_digest()
246 static int crypto_hmac_sha512_export(struct shash_desc *desc, void *out) in crypto_hmac_sha512_export() argument
248 return __crypto_sha512_export(&HMAC_SHA512_CTX(desc)->ctx.sha_ctx, out); in crypto_hmac_sha512_export()