Home
last modified time | relevance | path

Searched refs:md5_ctx (Results 1 – 9 of 9) sorted by relevance

/linux/crypto/
H A Dmd5.c19 #define MD5_SHASH_STATE_SIZE (sizeof(struct md5_ctx) + 1)
20 static_assert(sizeof(struct md5_ctx) == sizeof(struct md5_state));
21 static_assert(offsetof(struct md5_ctx, state) == offsetof(struct md5_state, hash));
22 static_assert(offsetof(struct md5_ctx, bytecount) == offsetof(struct md5_state, byte_count));
23 static_assert(offsetof(struct md5_ctx, buf) == offsetof(struct md5_state, block));
25 static int __crypto_md5_export(const struct md5_ctx *ctx0, void *out) in __crypto_md5_export()
27 struct md5_ctx ctx = *ctx0; in __crypto_md5_export()
39 static int __crypto_md5_import(struct md5_ctx *ctx, const void *in) in __crypto_md5_import()
49 static int __crypto_md5_export_core(const struct md5_ctx *ctx, void *out) in __crypto_md5_export_core()
51 memcpy(out, ctx, offsetof(struct md5_ctx, buf)); in __crypto_md5_export_core()
[all …]
/linux/include/crypto/
H A Dmd5.h42 struct md5_ctx { struct
56 void md5_init(struct md5_ctx *ctx); argument
68 void md5_update(struct md5_ctx *ctx, const u8 *data, size_t len);
79 void md5_final(struct md5_ctx *ctx, u8 out[at_least MD5_DIGEST_SIZE]);
107 struct md5_ctx hash_ctx;
/linux/lib/crypto/
H A Dmd5.c137 void md5_init(struct md5_ctx *ctx) in md5_init()
144 void md5_update(struct md5_ctx *ctx, const u8 *data, size_t len) in md5_update()
177 static void __md5_final(struct md5_ctx *ctx, u8 out[MD5_DIGEST_SIZE]) in __md5_final()
196 void md5_final(struct md5_ctx *ctx, u8 out[MD5_DIGEST_SIZE]) in md5_final()
205 struct md5_ctx ctx; in md5()
/linux/lib/crypto/tests/
H A Dmd5_kunit.c9 #define HASH_CTX md5_ctx
/linux/fs/smb/client/
H A Dcifsencrypt.c
H A Dcifsglob.h2290 struct md5_ctx *md5;
/linux/include/net/
H A Dtcp.h2006 struct md5_ctx;
2007 void tcp_md5_hash_skb_data(struct md5_ctx *ctx, const struct sk_buff *skb,
2009 void tcp_md5_hash_key(struct md5_ctx *ctx, const struct tcp_md5sig_key *key);
/linux/net/ipv4/
H A Dtcp.c4840 void tcp_md5_hash_skb_data(struct md5_ctx *ctx, const struct sk_buff *skb, in tcp_md5_hash_skb_data()
4870 void tcp_md5_hash_key(struct md5_ctx *ctx, in tcp_md5_hash_key()
/linux/drivers/md/
H A Ddm-crypt.c523 struct md5_ctx ctx; in crypt_iv_lmk_one()