Lines Matching defs:out
29 static int __crypto_sha256_export(const struct __sha256_ctx *ctx0, void *out)
33 u8 *p = out;
78 static int crypto_sha224_final(struct shash_desc *desc, u8 *out)
80 sha224_final(SHA224_CTX(desc), out);
85 const u8 *data, unsigned int len, u8 *out)
87 sha224(data, len, out);
91 static int crypto_sha224_export(struct shash_desc *desc, void *out)
93 return __crypto_sha256_export(&SHA224_CTX(desc)->ctx, out);
126 static int crypto_sha256_final(struct shash_desc *desc, u8 *out)
128 sha256_final(SHA256_CTX(desc), out);
133 const u8 *data, unsigned int len, u8 *out)
135 sha256(data, len, out);
139 static int crypto_sha256_export(struct shash_desc *desc, void *out)
141 return __crypto_sha256_export(&SHA256_CTX(desc)->ctx, out);
174 static int crypto_hmac_sha224_final(struct shash_desc *desc, u8 *out)
176 hmac_sha224_final(HMAC_SHA224_CTX(desc), out);
182 u8 *out)
184 hmac_sha224(HMAC_SHA224_KEY(desc->tfm), data, len, out);
188 static int crypto_hmac_sha224_export(struct shash_desc *desc, void *out)
190 return __crypto_sha256_export(&HMAC_SHA224_CTX(desc)->ctx.sha_ctx, out);
226 static int crypto_hmac_sha256_final(struct shash_desc *desc, u8 *out)
228 hmac_sha256_final(HMAC_SHA256_CTX(desc), out);
234 u8 *out)
236 hmac_sha256(HMAC_SHA256_KEY(desc->tfm), data, len, out);
240 static int crypto_hmac_sha256_export(struct shash_desc *desc, void *out)
242 return __crypto_sha256_export(&HMAC_SHA256_CTX(desc)->ctx.sha_ctx, out);