History log of /dovecot/src/lib/sha3.c
Revision Date Author Comments Expand
211c638d81d382517d196ad47565e0d85012c927 19-Feb-2017 klemens <ka7@github.com>

spelling fixes

/dovecot/NEWS /dovecot/doc/example-config/conf.d/auth-system.conf.ext /dovecot/doc/example-config/dovecot-sql.conf.ext /dovecot/doc/man/doveadm-exec.1.in /dovecot/doc/securecoding.txt /dovecot/m4/dovecot.m4 /dovecot/m4/endian.m4 /dovecot/src/auth/password-scheme.h /dovecot/src/config/config-filter.c /dovecot/src/doveadm/client-connection-http.c /dovecot/src/imap-urlauth/imap-urlauth.c /dovecot/src/imap/cmd-append.c /dovecot/src/imap/cmd-thread.c /dovecot/src/imap/main.c /dovecot/src/lib-dcrypt/ostream-encrypt.c /dovecot/src/lib-fts/fts-tokenizer-generic.c /dovecot/src/lib-fts/fts-tokenizer.h /dovecot/src/lib-http/http-client-queue.c /dovecot/src/lib-imap/imap-base-subject.c /dovecot/src/lib-index/mail-cache.c /dovecot/src/lib-mail/message-part-data.h /dovecot/src/lib-program-client/program-client-remote.c /dovecot/src/lib-sasl/dsasl-client.h /dovecot/src/lib-ssl-iostream/istream-openssl.c /dovecot/src/lib-storage/index/index-sort-string.c /dovecot/src/lib-storage/index/maildir/maildir-storage.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/list/mailbox-list-fs-iter.c /dovecot/src/lib-storage/mailbox-attribute.h fdatasync-path.c sha1.h sha3.c test-data-stack.c /dovecot/src/log/log-connection.c
efe78d3ba24fc866af1c79b9223dc0809ba26cad 24-Dec-2016 Stephan Bosch <stephan.bosch@dovecot.fi>

global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro. Used the following script: C_FILES=`git ls-files *.c` H_FILES=`git ls-files *.h` for F in "$C_FILES $H_FILES"; do echo "$F" perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F done

/dovecot/src/auth/auth-request-var-expand.c /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-settings.c /dovecot/src/auth/db-dict.c /dovecot/src/auth/db-ldap.c /dovecot/src/auth/main.c /dovecot/src/auth/passdb-pam.c /dovecot/src/config/config-connection.c /dovecot/src/config/config-filter.c /dovecot/src/config/config-parser.c /dovecot/src/config/doveconf.c /dovecot/src/config/old-set-parser.c /dovecot/src/dict/dict-connection.c /dovecot/src/dict/main.c /dovecot/src/director/login-connection.c /dovecot/src/doveadm/client-connection-http.c /dovecot/src/doveadm/client-connection.c /dovecot/src/doveadm/doveadm-auth-server.c /dovecot/src/doveadm/doveadm-auth.c /dovecot/src/doveadm/doveadm-cmd.c /dovecot/src/doveadm/doveadm-dict.c /dovecot/src/doveadm/doveadm-dsync.c /dovecot/src/doveadm/doveadm-fs.c /dovecot/src/doveadm/doveadm-kick.c /dovecot/src/doveadm/doveadm-log.c /dovecot/src/doveadm/doveadm-mail-batch.c /dovecot/src/doveadm/doveadm-mail-fetch.c /dovecot/src/doveadm/doveadm-mail-import.c /dovecot/src/doveadm/doveadm-mail-mailbox-status.c /dovecot/src/doveadm/doveadm-mail-server.c /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/doveadm/doveadm-penalty.c /dovecot/src/doveadm/doveadm-print-formatted.c /dovecot/src/doveadm/doveadm-print-json.c /dovecot/src/doveadm/doveadm-print.c /dovecot/src/doveadm/doveadm-pw.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/doveadm-util.c /dovecot/src/doveadm/doveadm-who.c /dovecot/src/doveadm/doveadm-zlib.c /dovecot/src/doveadm/doveadm.c /dovecot/src/doveadm/dsync/dsync-brain-mailbox-tree-sync.c /dovecot/src/doveadm/dsync/dsync-brain-mailbox.c /dovecot/src/doveadm/dsync/dsync-brain-mails.c /dovecot/src/doveadm/dsync/dsync-brain.c /dovecot/src/doveadm/dsync/dsync-ibc-stream.c /dovecot/src/doveadm/dsync/dsync-mail.c /dovecot/src/doveadm/dsync/dsync-mailbox-export.c /dovecot/src/doveadm/dsync/dsync-mailbox-import.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree-fill.c /dovecot/src/doveadm/dsync/dsync-transaction-log-scan.c /dovecot/src/doveadm/main.c /dovecot/src/doveadm/server-connection.c /dovecot/src/imap-hibernate/imap-hibernate-client.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap-urlauth/imap-urlauth.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-notify.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-setmetadata.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-commands-util.c /dovecot/src/imap/imap-commands.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-master-client.c /dovecot/src/imap/imap-notify.c /dovecot/src/imap/imap-state.c /dovecot/src/imap/imap-status.c /dovecot/src/imap/main.c /dovecot/src/indexer/indexer-worker.c /dovecot/src/indexer/master-connection.c /dovecot/src/lda/main.c /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-dcrypt/dcrypt-gnutls.c /dovecot/src/lib-dcrypt/dcrypt-openssl.c /dovecot/src/lib-dcrypt/dcrypt.c /dovecot/src/lib-dcrypt/test-crypto.c /dovecot/src/lib-dict-extra/dict-fs.c /dovecot/src/lib-dict/dict-cdb.c /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dict/dict-db.c /dovecot/src/lib-dict/dict-file.c /dovecot/src/lib-dict/dict-memcached-ascii.c /dovecot/src/lib-dict/dict-memcached.c /dovecot/src/lib-dict/dict-sql-settings.c /dovecot/src/lib-dict/dict-sql.c /dovecot/src/lib-dict/dict.c /dovecot/src/lib-dict/test-dict-client.c /dovecot/src/lib-dns/dns-lookup.c /dovecot/src/lib-fs/fs-api.c /dovecot/src/lib-fs/fs-dict.c /dovecot/src/lib-fs/fs-posix.c /dovecot/src/lib-fs/fs-test-async.c /dovecot/src/lib-fs/fs-test.c /dovecot/src/lib-fts/fts-icu.c /dovecot/src/lib-http/http-auth.c /dovecot/src/lib-http/http-client-connection.c /dovecot/src/lib-http/http-client-host.c /dovecot/src/lib-http/http-client-request.c /dovecot/src/lib-http/http-date.c /dovecot/src/lib-http/http-message-parser.c /dovecot/src/lib-http/http-parser.c /dovecot/src/lib-http/http-request-parser.c /dovecot/src/lib-http/http-response-parser.c /dovecot/src/lib-http/http-response.c /dovecot/src/lib-http/http-server-connection.c /dovecot/src/lib-http/http-server-response.c /dovecot/src/lib-http/http-url.c /dovecot/src/lib-http/test-http-auth.c /dovecot/src/lib-http/test-http-client-errors.c /dovecot/src/lib-http/test-http-client.c /dovecot/src/lib-http/test-http-payload.c /dovecot/src/lib-http/test-http-response-parser.c /dovecot/src/lib-http/test-http-server-errors.c /dovecot/src/lib-http/test-http-server.c /dovecot/src/lib-imap-client/imapc-client.c /dovecot/src/lib-imap-client/imapc-connection.c /dovecot/src/lib-imap-storage/imap-metadata.c /dovecot/src/lib-imap-storage/imap-msgpart-url.c /dovecot/src/lib-imap-storage/imap-msgpart.c /dovecot/src/lib-imap-urlauth/imap-urlauth-backend.c /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.c /dovecot/src/lib-imap-urlauth/imap-urlauth-fetch.c /dovecot/src/lib-imap/imap-bodystructure.c /dovecot/src/lib-imap/imap-date.c /dovecot/src/lib-imap/imap-id.c /dovecot/src/lib-imap/imap-url.c /dovecot/src/lib-index/mail-cache-compress.c /dovecot/src/lib-index/mail-cache-fields.c /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-cache-transaction.c /dovecot/src/lib-index/mail-index-alloc-cache.c /dovecot/src/lib-index/mail-index-fsck.c /dovecot/src/lib-index/mail-index-map-read.c /dovecot/src/lib-index/mail-index-map.c /dovecot/src/lib-index/mail-index-modseq.c /dovecot/src/lib-index/mail-index-strmap.c /dovecot/src/lib-index/mail-index-sync-ext.c /dovecot/src/lib-index/mail-index-sync-keywords.c /dovecot/src/lib-index/mail-index-sync-update.c /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-export.c /dovecot/src/lib-index/mail-index-transaction-update.c /dovecot/src/lib-index/mail-index-transaction-view.c /dovecot/src/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/mail-index-view.c /dovecot/src/lib-index/mail-index.c /dovecot/src/lib-index/mail-transaction-log-append.c /dovecot/src/lib-index/mail-transaction-log-file.c /dovecot/src/lib-index/mail-transaction-log.c /dovecot/src/lib-index/test-mail-index-map.c /dovecot/src/lib-index/test-mail-index-sync-ext.c /dovecot/src/lib-index/test-mail-index-transaction-finish.c /dovecot/src/lib-index/test-mail-transaction-log-view.c /dovecot/src/lib-lda/duplicate.c /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-lda/mail-deliver.c /dovecot/src/lib-lda/smtp-client.c /dovecot/src/lib-ldap/ldap-compare.c /dovecot/src/lib-ldap/ldap-connection.c /dovecot/src/lib-mail/istream-attachment-extractor.c /dovecot/src/lib-mail/mbox-from.c /dovecot/src/lib-mail/message-address.c /dovecot/src/lib-mail/message-date.c /dovecot/src/lib-mail/message-header-decode.c /dovecot/src/lib-mail/message-header-parser.c /dovecot/src/lib-mail/message-parser.c /dovecot/src/lib-mail/message-part-serialize.c /dovecot/src/lib-mail/message-search.c /dovecot/src/lib-mail/message-snippet.c /dovecot/src/lib-mail/rfc2231-parser.c /dovecot/src/lib-mail/rfc822-parser.c /dovecot/src/lib-mail/test-istream-attachment.c /dovecot/src/lib-mail/test-message-decoder.c /dovecot/src/lib-mail/test-message-header-hash.c /dovecot/src/lib-mail/test-message-search.c /dovecot/src/lib-master/master-auth.c /dovecot/src/lib-master/master-login.c /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/master-service-ssl.c /dovecot/src/lib-master/master-service.c /dovecot/src/lib-master/test-master-service-settings-cache.c /dovecot/src/lib-ntlm/ntlm-message.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings.c /dovecot/src/lib-sql/driver-cassandra.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/driver-sqlite.c /dovecot/src/lib-ssl-iostream/iostream-ssl.c /dovecot/src/lib-storage/index/dbox-common/dbox-save.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-deleted-storage.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-save.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage.c /dovecot/src/lib-storage/index/dbox-single/sdbox-storage.c /dovecot/src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c /dovecot/src/lib-storage/index/imapc/imapc-list.c /dovecot/src/lib-storage/index/imapc/imapc-storage.c /dovecot/src/lib-storage/index/index-attachment.c /dovecot/src/lib-storage/index/index-attribute.c /dovecot/src/lib-storage/index/index-mail-binary.c /dovecot/src/lib-storage/index/index-mail-headers.c /dovecot/src/lib-storage/index/index-mail.c /dovecot/src/lib-storage/index/index-mailbox-size.c /dovecot/src/lib-storage/index/index-pop3-uidl.c /dovecot/src/lib-storage/index/index-rebuild.c /dovecot/src/lib-storage/index/index-search-result.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-sort-string.c /dovecot/src/lib-storage/index/index-sort.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-sync-changes.c /dovecot/src/lib-storage/index/index-sync.c /dovecot/src/lib-storage/index/index-thread-finish.c /dovecot/src/lib-storage/index/index-thread.c /dovecot/src/lib-storage/index/index-transaction.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-mail.c /dovecot/src/lib-storage/index/maildir/maildir-sync-index.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-sync-list-index.c /dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c /dovecot/src/lib-storage/index/mbox/mbox-sync-rewrite.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/index/pop3c/pop3c-client.c /dovecot/src/lib-storage/index/pop3c/pop3c-storage.c /dovecot/src/lib-storage/index/pop3c/pop3c-sync.c /dovecot/src/lib-storage/list/mailbox-list-index-backend.c /dovecot/src/lib-storage/list/mailbox-list-index-notify.c /dovecot/src/lib-storage/list/mailbox-list-index-status.c /dovecot/src/lib-storage/list/mailbox-list-index-sync.c /dovecot/src/lib-storage/list/mailbox-list-iter.c /dovecot/src/lib-storage/list/mailbox-list-notify-tree.c /dovecot/src/lib-storage/list/mailbox-list-subscriptions.c /dovecot/src/lib-storage/list/subscription-file.c /dovecot/src/lib-storage/mail-search-args-simplify.c /dovecot/src/lib-storage/mail-search-build.c /dovecot/src/lib-storage/mail-storage-hooks.c /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-user.c /dovecot/src/lib-storage/mailbox-attribute.c /dovecot/src/lib-storage/mailbox-list.c buffer.c connection.c failures.c fd-close-on-exec.c file-dotlock.c file-lock.c file-set-size.c ioloop-epoll.c ioloop.c iso8601-date.c istream-sized.c istream.c lib-signals.c md4.c md5.c mempool-alloconly.c mountpoint.c net.c ostream.c restrict-access.c sendfile-util.c seq-range-array.c sha3.c test-ioloop.c test-utc-mktime.c timing.c uri-util.c var-expand.c /dovecot/src/lmtp/client.c /dovecot/src/lmtp/commands.c /dovecot/src/lmtp/lmtp-proxy.c /dovecot/src/lmtp/main.c /dovecot/src/log/log-connection.c /dovecot/src/login-common/client-common-auth.c /dovecot/src/login-common/login-proxy-state.c /dovecot/src/login-common/login-settings.c /dovecot/src/login-common/main.c /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/ssl-proxy-openssl.c /dovecot/src/master/main.c /dovecot/src/master/sd-daemon.c /dovecot/src/master/service-listen.c /dovecot/src/master/service-log.c /dovecot/src/master/service-monitor.c /dovecot/src/plugins/acl/acl-api.c /dovecot/src/plugins/acl/acl-attributes.c /dovecot/src/plugins/acl/acl-backend-vfile-update.c /dovecot/src/plugins/acl/acl-backend-vfile.c /dovecot/src/plugins/acl/acl-global-file.c /dovecot/src/plugins/acl/acl-lookup-dict.c /dovecot/src/plugins/acl/acl-mailbox-list.c /dovecot/src/plugins/acl/acl-mailbox.c /dovecot/src/plugins/acl/doveadm-acl.c /dovecot/src/plugins/dict-ldap/dict-ldap-settings.c /dovecot/src/plugins/dict-ldap/dict-ldap.c /dovecot/src/plugins/expire/doveadm-expire.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/fts-lucene/doveadm-fts-lucene.c /dovecot/src/plugins/fts-solr/fts-backend-solr.c /dovecot/src/plugins/fts-solr/solr-connection.c /dovecot/src/plugins/fts-squat/squat-trie.c /dovecot/src/plugins/fts-squat/squat-uidlist.c /dovecot/src/plugins/fts/doveadm-fts.c /dovecot/src/plugins/fts/fts-api.c /dovecot/src/plugins/fts/fts-build-mail.c /dovecot/src/plugins/fts/fts-parser-tika.c /dovecot/src/plugins/fts/fts-search.c /dovecot/src/plugins/fts/xml2text.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/last-login/last-login-plugin.c /dovecot/src/plugins/mail-crypt/doveadm-mail-crypt.c /dovecot/src/plugins/mail-crypt/mail-crypt-acl-plugin.c /dovecot/src/plugins/mail-crypt/mail-crypt-global-key.c /dovecot/src/plugins/mail-crypt/mail-crypt-plugin.c /dovecot/src/plugins/mail-crypt/mail-crypt-pluginenv.c /dovecot/src/plugins/mail-crypt/test-mail-global-key.c /dovecot/src/plugins/mail-crypt/test-mail-key.c /dovecot/src/plugins/pop3-migration/pop3-migration-plugin.c /dovecot/src/plugins/push-notification/push-notification-driver-ox.c /dovecot/src/plugins/push-notification/push-notification-event-flagsclear.c /dovecot/src/plugins/push-notification/push-notification-event-flagsset.c /dovecot/src/plugins/push-notification/push-notification-event-messageappend.c /dovecot/src/plugins/push-notification/push-notification-event-messagenew.c /dovecot/src/plugins/quota-clone/quota-clone-plugin.c /dovecot/src/plugins/quota/doveadm-quota.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-dict.c /dovecot/src/plugins/quota/quota-status.c /dovecot/src/plugins/quota/quota-util.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/quota/test-quota-util.c /dovecot/src/plugins/stats/mail-stats-fill.c /dovecot/src/plugins/virtual/virtual-config.c /dovecot/src/plugins/virtual/virtual-mail.c /dovecot/src/plugins/virtual/virtual-search.c /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3-login/pop3-proxy.c /dovecot/src/pop3/main.c /dovecot/src/replication/replicator/replicator-queue-auth.c /dovecot/src/replication/replicator/replicator-queue.c /dovecot/src/stats/client-export.c /dovecot/src/stats/client-reset.c /dovecot/src/stats/main.c /dovecot/src/util/script-login.c
182093c9a4e02a1c6672597da45767625c6b970e 14-Dec-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

sha3: Fix typo in ifdef The code was supposed to be used with big endian machines. Reported by than@redhat.com

a05819736f348d0c5ac8b4966ac6b04c21e1a391 24-Nov-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

global: Avoid loops unnecessarily decreasing below zero. Avoids complains from clang -fsanitize=integer

34742a4b92c16c300e3d75731685b678712340b2 15-Nov-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

Fix -Wstrict-bool compiler warnings.

70ee483d320a270993b56c713e350b736edd753f 08-Nov-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

lib: Add SHA3 hashing methods for 256 and 512 bits