Searched refs:md5_ctx (Results 1 – 9 of 9) 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/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 | 2322 struct md5_ctx *md5;
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 711 static void tcp_v6_md5_hash_headers(struct md5_ctx *ctx, in tcp_v6_md5_hash_headers() 735 struct md5_ctx ctx; in tcp_v6_md5_hash_hdr() 749 struct md5_ctx ctx; in tcp_v6_md5_hash_skb()
|
| /linux/include/net/ |
| H A D | tcp.h | 2115 struct md5_ctx; 2116 void tcp_md5_hash_skb_data(struct md5_ctx *ctx, const struct sk_buff *skb, 2118 void tcp_md5_hash_key(struct md5_ctx *ctx, const struct tcp_md5sig_key *key);
|
| /linux/net/ipv4/ |
| H A D | tcp_ipv4.c | 1542 static void tcp_v4_md5_hash_headers(struct md5_ctx *ctx, 1565 struct md5_ctx ctx; 1579 struct md5_ctx ctx;
|
| H A D | tcp.c | 4874 void tcp_md5_hash_skb_data(struct md5_ctx *ctx, const struct sk_buff *skb, in tcp_md5_hash_skb_data() 4903 void tcp_md5_hash_key(struct md5_ctx *ctx, in tcp_md5_hash_key()
|