Lines Matching refs:out

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