Symbol: md5_ctx
crypto/md5.c
19
#define MD5_SHASH_STATE_SIZE (sizeof(struct md5_ctx) + 1)
crypto/md5.c
193
.descsize = sizeof(struct md5_ctx),
crypto/md5.c
20
static_assert(sizeof(struct md5_ctx) == sizeof(struct md5_state));
crypto/md5.c
21
static_assert(offsetof(struct md5_ctx, state) == offsetof(struct md5_state, hash));
crypto/md5.c
22
static_assert(offsetof(struct md5_ctx, bytecount) == offsetof(struct md5_state, byte_count));
crypto/md5.c
23
static_assert(offsetof(struct md5_ctx, buf) == offsetof(struct md5_state, block));
crypto/md5.c
25
static int __crypto_md5_export(const struct md5_ctx *ctx0, void *out)
crypto/md5.c
27
struct md5_ctx ctx = *ctx0;
crypto/md5.c
39
static int __crypto_md5_import(struct md5_ctx *ctx, const void *in)
crypto/md5.c
49
static int __crypto_md5_export_core(const struct md5_ctx *ctx, void *out)
crypto/md5.c
51
memcpy(out, ctx, offsetof(struct md5_ctx, buf));
crypto/md5.c
55
static int __crypto_md5_import_core(struct md5_ctx *ctx, const void *in)
crypto/md5.c
57
memcpy(ctx, in, offsetof(struct md5_ctx, buf));
crypto/md5.c
67
#define MD5_CTX(desc) ((struct md5_ctx *)shash_desc_ctx(desc))
drivers/md/dm-crypt.c
523
struct md5_ctx ctx;
fs/smb/client/cifsglob.h
2328
struct md5_ctx *md5;
fs/smb/client/smb1encrypt.c
29
struct md5_ctx ctx;
include/crypto/md5.h
107
struct md5_ctx hash_ctx;
include/crypto/md5.h
56
void md5_init(struct md5_ctx *ctx);
include/crypto/md5.h
68
void md5_update(struct md5_ctx *ctx, const u8 *data, size_t len);
include/crypto/md5.h
79
void md5_final(struct md5_ctx *ctx, u8 out[at_least MD5_DIGEST_SIZE]);
include/net/tcp.h
2092
struct md5_ctx;
include/net/tcp.h
2093
void tcp_md5_hash_skb_data(struct md5_ctx *ctx, const struct sk_buff *skb,
include/net/tcp.h
2095
void tcp_md5_hash_key(struct md5_ctx *ctx, const struct tcp_md5sig_key *key);
lib/crypto/md5.c
131
void md5_init(struct md5_ctx *ctx)
lib/crypto/md5.c
138
void md5_update(struct md5_ctx *ctx, const u8 *data, size_t len)
lib/crypto/md5.c
171
static void __md5_final(struct md5_ctx *ctx, u8 out[MD5_DIGEST_SIZE])
lib/crypto/md5.c
190
void md5_final(struct md5_ctx *ctx, u8 out[MD5_DIGEST_SIZE])
lib/crypto/md5.c
199
struct md5_ctx ctx;
lib/crypto/tests/md5_kunit.c
9
#define HASH_CTX md5_ctx
net/ipv4/tcp.c
4871
void tcp_md5_hash_skb_data(struct md5_ctx *ctx, const struct sk_buff *skb,
net/ipv4/tcp.c
4900
void tcp_md5_hash_key(struct md5_ctx *ctx,
net/ipv4/tcp_ipv4.c
1545
static void tcp_v4_md5_hash_headers(struct md5_ctx *ctx,
net/ipv4/tcp_ipv4.c
1568
struct md5_ctx ctx;
net/ipv4/tcp_ipv4.c
1582
struct md5_ctx ctx;
net/ipv6/tcp_ipv6.c
719
static void tcp_v6_md5_hash_headers(struct md5_ctx *ctx,
net/ipv6/tcp_ipv6.c
743
struct md5_ctx ctx;
net/ipv6/tcp_ipv6.c
757
struct md5_ctx ctx;