Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement md5 and secure-hash functions in Rust #260

Merged
merged 28 commits into from Jul 25, 2017
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
83d0047
Replace Emacs' MD5 implementation with the md5 crate
db48x Jul 17, 2017
3f4e19d
Merge remote-tracking branch 'origin/master'
db48x Jul 17, 2017
9afdf78
move md5 and secure-hash functions entirely into lisp
db48x Jul 18, 2017
4c3d6e8
hash slices rather than strs; saves the trouble of converting to the …
db48x Jul 19, 2017
1a9fce5
avoid double-allocating the output string
db48x Jul 19, 2017
a8daee4
WIP: start implementing get_input_from_buffer
db48x Jul 19, 2017
7039504
rearrange the code so that the lifetimes work out correctly in the mu…
db48x Jul 19, 2017
0b63465
Defining a thread_state type
Wilfred Jul 19, 2017
d9eaf3d
Merge remote-tracking branch 'upstream/current_buffer' into secure-hash
db48x Jul 20, 2017
23dbe83
catch up to changes from the merge
db48x Jul 20, 2017
b6a689f
implement secure-hash for buffers (still need to get the correct codi…
db48x Jul 20, 2017
dc99da5
set the current buffer correctly
db48x Jul 20, 2017
3f47ebd
Defining a thread_state type
Wilfred Jul 19, 2017
87146f1
Define current-buffer in Rust
Wilfred Jul 20, 2017
44e2a0e
Merge remote-tracking branch 'upstream/current_buffer' into secure-hash
db48x Jul 21, 2017
972f660
get the correct coding system for the buffer; also some factoring
db48x Jul 21, 2017
c167a47
clean up some unused variables
db48x Jul 21, 2017
79d0e89
remove C implementation of md5 and secure-hash
db48x Jul 21, 2017
69d6e5a
Merge branch 'master' into secure-hash
db48x Jul 21, 2017
3f654ba
run rustfmt
db48x Jul 21, 2017
6e7a7ec
address review comments
db48x Jul 22, 2017
15ed8e2
placate the automatic build
db48x Jul 22, 2017
7111534
actually change m_specpdl_ptr
db48x Jul 22, 2017
1d4fa9a
yea, these don't actually have to be unsafe
db48x Jul 23, 2017
4434e68
Merge remote-tracking branch 'upstream/master' into secure-hash
db48x Jul 23, 2017
a9c1ff8
Merge branch 'master' of github.com:Wilfred/remacs into secure-hash
db48x Jul 24, 2017
c207e4d
forgot to run rustfmt
db48x Jul 24, 2017
5bf7a3f
don't forget to check that the args are actually in range
db48x Jul 24, 2017
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -1088,22 +1088,6 @@ EXTRA_DIST += close-stream.h
endif
## end gnulib module close-stream

## begin gnulib module crypto/md5
ifeq (,$(OMIT_GNULIB_MODULE_crypto/md5))

libgnu_a_SOURCES += md5.c

EXTRA_DIST += gl_openssl.h md5.h

endif
## end gnulib module crypto/md5

## begin crypto in rust

EXTRA_DIST += sha1.h gl_openssl.h sha256.h

## end crypto in rust

## begin gnulib module diffseq
ifeq (,$(OMIT_GNULIB_MODULE_diffseq))

ProTip! Use n and p to navigate between commits in a pull request.