diff options
| author | Ted Zlatanov | 2017-07-14 11:04:19 -0400 |
|---|---|---|
| committer | Ted Zlatanov | 2017-07-14 11:06:16 -0400 |
| commit | 583995c62dd424775dda33d5134ce04bee2ae685 (patch) | |
| tree | 732251c7c468b20a70d20578b778946cf49f77fe /etc | |
| parent | 0f3cc0b8245dfd7a9f6fcc95ec148be03fde8931 (diff) | |
| download | emacs-583995c62dd424775dda33d5134ce04bee2ae685.tar.gz emacs-583995c62dd424775dda33d5134ce04bee2ae685.zip | |
GnuTLS HMAC and symmetric cipher support
* etc/NEWS: Add news for new feature.
* doc/lispref/text.texi (GnuTLS Cryptography): Add
documentation.
* configure.ac: Add macros HAVE_GNUTLS3_DIGEST,
HAVE_GNUTLS3_CIPHER, HAVE_GNUTLS3_AEAD, HAVE_GNUTLS3_HMAC.
* src/fns.c (Fsecure_hash_algorithms): Add function to list
supported `secure-hash' algorithms.
(extract_data_from_object): Add data extraction function that
can operate on buffers and strings.
(secure_hash): Use it.
(Fsecure_hash): Mention `secure-hash-algorithms'.
* src/gnutls.h: Include gnutls/crypto.h.
* src/gnutls.c (Fgnutls_ciphers, gnutls_symmetric_aead)
(gnutls_symmetric, Fgnutls_symmetric_encrypt, Fgnutls_symmetric_decrypt)
(Fgnutls_macs, Fgnutls_digests, Fgnutls_hash_mac, Fgnutls_hash_digest)
(Fgnutls_available_p): Implement GnuTLS cryptographic integration.
* test/lisp/net/gnutls-tests.el: Add tests.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -1114,6 +1114,20 @@ break. | |||
| 1114 | ** New function 'seq-set-equal-p' to check if SEQUENCE1 and SEQUENCE2 | 1114 | ** New function 'seq-set-equal-p' to check if SEQUENCE1 and SEQUENCE2 |
| 1115 | contain the same elements, regardless of the order. | 1115 | contain the same elements, regardless of the order. |
| 1116 | 1116 | ||
| 1117 | ** Checksum/Hash | ||
| 1118 | |||
| 1119 | +++ | ||
| 1120 | ** New function 'secure-hash-algorithms' to list the algorithms that | ||
| 1121 | 'secure-hash' supports. | ||
| 1122 | See the node "(elisp) Checksum/Hash" in the ELisp manual for details. | ||
| 1123 | |||
| 1124 | +++ | ||
| 1125 | ** Emacs now exposes the GnuTLS cryptographic API with the functions | ||
| 1126 | 'gnutls-macs' and 'gnutls-hash-mac'; 'gnutls-digests' and | ||
| 1127 | 'gnutls-hash-digest'; 'gnutls-ciphers' and 'gnutls-symmetric-encrypt' | ||
| 1128 | and 'gnutls-symmetric-decrypt'. | ||
| 1129 | See the node "(elisp) GnuTLS Cryptography" in the ELisp manual for details. | ||
| 1130 | |||
| 1117 | +++ | 1131 | +++ |
| 1118 | ** Emacs now supports records for user-defined types, via the new | 1132 | ** Emacs now supports records for user-defined types, via the new |
| 1119 | functions 'make-record', 'record', and 'recordp'. Records are now | 1133 | functions 'make-record', 'record', and 'recordp'. Records are now |