Searched refs:md5_ctx (Results 1 – 11 of 11) sorted by relevance
| /linux/crypto/ |
| H A D | md5.c | 19 #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 D | md5.h | 42 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 D | md5.c | 137 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 D | md5_kunit.c | 9 #define HASH_CTX md5_ctx
|
| /linux/fs/smb/client/ |
| H A D | smb1encrypt.c | 29 struct md5_ctx ctx; in cifs_calc_signature()
|
| H A D | cifsglob.h | 2324 struct md5_ctx *md5;
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 694 static void tcp_v6_md5_hash_headers(struct md5_ctx *ctx, in tcp_v6_md5_hash_headers() 718 struct md5_ctx ctx; in tcp_v6_md5_hash_hdr() 732 struct md5_ctx ctx; in tcp_v6_md5_hash_skb()
|
| /linux/include/net/ |
| H A D | tcp.h | 2067 struct md5_ctx; 2068 void tcp_md5_hash_skb_data(struct md5_ctx *ctx, const struct sk_buff *skb, 2070 void tcp_md5_hash_key(struct md5_ctx *ctx, const struct tcp_md5sig_key *key);
|
| /linux/net/ipv4/ |
| H A D | tcp_ipv4.c | 1571 static void tcp_v4_md5_hash_headers(struct md5_ctx *ctx, 1594 struct md5_ctx ctx; 1608 struct md5_ctx ctx;
|
| H A D | tcp.c | 4902 void tcp_md5_hash_skb_data(struct md5_ctx *ctx, const struct sk_buff *skb, in tcp_md5_hash_skb_data() 4932 void tcp_md5_hash_key(struct md5_ctx *ctx, in tcp_md5_hash_key()
|
| /linux/drivers/md/ |
| H A D | dm-crypt.c | 524 struct md5_ctx ctx; in crypt_iv_lmk_one()
|