Lines Matching refs:out
28 static int __crypto_sha1_export(const struct sha1_ctx *ctx0, void *out) in __crypto_sha1_export() argument
32 u8 *p = out; in __crypto_sha1_export()
74 static int crypto_sha1_final(struct shash_desc *desc, u8 *out) in crypto_sha1_final() argument
76 sha1_final(SHA1_CTX(desc), out); in crypto_sha1_final()
81 const u8 *data, unsigned int len, u8 *out) in crypto_sha1_digest() argument
83 sha1(data, len, out); in crypto_sha1_digest()
87 static int crypto_sha1_export(struct shash_desc *desc, void *out) in crypto_sha1_export() argument
89 return __crypto_sha1_export(SHA1_CTX(desc), out); in crypto_sha1_export()
120 static int crypto_hmac_sha1_final(struct shash_desc *desc, u8 *out) in crypto_hmac_sha1_final() argument
122 hmac_sha1_final(HMAC_SHA1_CTX(desc), out); in crypto_hmac_sha1_final()
127 const u8 *data, unsigned int len, u8 *out) in crypto_hmac_sha1_digest() argument
129 hmac_sha1(HMAC_SHA1_KEY(desc->tfm), data, len, out); in crypto_hmac_sha1_digest()
133 static int crypto_hmac_sha1_export(struct shash_desc *desc, void *out) in crypto_hmac_sha1_export() argument
135 return __crypto_sha1_export(&HMAC_SHA1_CTX(desc)->sha_ctx, out); in crypto_hmac_sha1_export()