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