History log of /openbsd-current/usr.bin/rsync/hash.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.5 27-Feb-2024 claudio

Split hash_file into three steps, setup, add buf and final.

Setup inits the context and adds the seed. The buf function simply adds
a block from the file to the hash. The final function calls MD4_Final()
to close the context and generate the hash.

This will help to remove the mmap in the sender and should result in a
more atomic view of the file since hash_file() is now called together
with the other hash_functions.

OK deraadt@ tb@


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.4 30-Jun-2021 claudio

Replace Id: tags with OpenBSD: tags
OK deraadt@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.3 13-Feb-2019 tb

Use md4 from libcrypto instead of using a compatible re-implementation.

ok benno, deraadt


# 1.2 10-Feb-2019 benno

fix whitespace


# 1.1 10-Feb-2019 benno

Import Kristaps' openrsync into the tree.
OK deraadt@


# 1.4 30-Jun-2021 claudio

Replace Id: tags with OpenBSD: tags
OK deraadt@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.3 13-Feb-2019 tb

Use md4 from libcrypto instead of using a compatible re-implementation.

ok benno, deraadt


# 1.2 10-Feb-2019 benno

fix whitespace


# 1.1 10-Feb-2019 benno

Import Kristaps' openrsync into the tree.
OK deraadt@


Revision tags: OPENBSD_6_5_BASE
# 1.3 13-Feb-2019 tb

Use md4 from libcrypto instead of using a compatible re-implementation.

ok benno, deraadt


# 1.2 10-Feb-2019 benno

fix whitespace


# 1.1 10-Feb-2019 benno

Import Kristaps' openrsync into the tree.
OK deraadt@