Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | maint: run 'make update-copyright' | Simon Josefsson | 2023-01-01 | 1 | -1/+1 |
| | |||||
* | maint: run 'make update-copyright' | Paul Eggert | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Put LGPLv2+ notices in source files where appropriate. | Bruno Haible | 2021-06-04 | 1 | -10/+10 |
| | | | | | * lib/**.{h,c,gperf}: Use LGPLv2+ notice whenever the module description says so. | ||||
* | maint: run 'make update-copyright' | Paul Eggert | 2020-12-31 | 1 | -1/+1 |
| | |||||
* | maint: Run 'make update-copyright' | Paul Eggert | 2019-12-31 | 1 | -1/+1 |
| | |||||
* | crypto/gc-sha256, crypto/gc-sha512: New modules. | Bruno Haible | 2019-08-24 | 1 | -0/+64 |
| | | | | | | | | | | | | * lib/gc.h (gc_sha256, gc_sha512): New declarations. * lib/gc-gnulib.c: Include sha256.h, sha512.h. (MAX_DIGEST_SIZE): Set to 64. (_gc_hash_ctx, gc_hash_open, gc_hash_digest_length, gc_hash_write, gc_hash_read, gc_hash_buffer): Add support for sha256 and sha512. (gc_sha256, gc_sha512): New functions. * lib/gc-libgcrypt.c (gc_sha256, gc_sha512): New functions. * modules/crypto/gc-sha256: New file, based on modules/crypto/gc-sha1. * modules/crypto/gc-sha512: New file, based on modules/crypto/gc-sha1. | ||||
* | crypto/gc-sm3: Fix compilation error with --with-libgcrypt. | Bruno Haible | 2019-08-24 | 1 | -4/+48 |
| | | | | | | | | | * m4/gc-sm3.m4 (gl_GC_SM3): Test whether libgcrypt supports SM3. Define LIBGCRYPT_HAS_MD_SM3. * lib/gc-libgcrypt.c: Include sm3.h. (_gc_hash_ctx, gc_hash_open, gc_hash_hmac_setkey, gc_hash_write, gc_hash_read, gc_hash_close, gc_hash_buffer, gc_sm3): Use the gnulib implementation if libgcrypt does not support SM3. | ||||
* | crypto/gc-md2: Optimize and clarify code. | Bruno Haible | 2019-08-24 | 1 | -0/+4 |
| | | | | | | * lib/gc-gnulib.c (gc_hash_open): Comment out md2_init_ctx invocation. * lib/gc-libgcrypt.c (gc_hash_open): Clarify why md2_init_ctx invocation is not needed. | ||||
* | crypto/gc-md2: Add comment. | Bruno Haible | 2019-08-24 | 1 | -0/+2 |
| | | | | * lib/gc-libgcrypt.c: Add comment. | ||||
* | crypto/gc: Access the module indicators correctly. | Bruno Haible | 2019-08-24 | 1 | -27/+27 |
| | | | | | * lib/gc-gnulib.c: Use '#if GNULIB_GC_*', not '#ifdef GNULIB_GC_*'. * lib/gc-libgcrypt.c: Likewise. | ||||
* | crypto/gc: Cope with libgcrypt without SM3. | Simon Josefsson | 2019-07-24 | 1 | -0/+2 |
| | | | | * lib/gc-libgcrypt.c (gc_hash_open): Guard SM3 usage. | ||||
* | maint: Run 'make update-copyright' | Paul Eggert | 2019-01-01 | 1 | -1/+1 |
| | |||||
* | maint: Run 'make update-copyright' | Paul Eggert | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | New module: crypto/gc-sm3 | Jia Zhang | 2017-10-29 | 1 | -0/+46 |
| | | | | | | | | | | | * lib/gc.h: Declare SM3-related stuffs. * lib/gc-gnulib.c: Support sm3 in internal functions. * lib/gc-libgcrypt.c: Support sm3 with libgcrypt. * m4/gc-sm3.m4: m4 file for gc-sm3 module. * modules/crypto/gc-sm3: Define gc-sm3 module. * tests/test-gc-sm3.c: Implement SM3 test case with libgcrypt. * modules/crypto/gc-sm3-tests: Define gc-sm3 test module. * MODULES.html.sh: List gc-sm3 module. | ||||
* | gc-libgcrypt: fix undefined enum type in switch statement | Jia Zhang | 2017-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Resolve the following build failure: lib/gc-libgcrypt.c: In function 'gc_hash_open': lib/gc-libgcrypt.c:317:5: error: case value '0' not in enumerated type 'Gc_hash_mode {aka enum Gc_hash_mode}' [-Werror=switch] case 0: ^~~~ * lib/gc.h (enum Gc_hash_mode): Add value GC_NULL. * lib/gc-libgcrypt.c (gc_hash_open): Use this enum value instead of 0. Signed-off-by: Jia Zhang <qianyue.zj@alibaba-inc.com> | ||||
* | gc-libgcrypt: fix assignment error due to -Werror=pointer-sign | Jia Zhang | 2017-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | Resolve the following build failure: lib/gc-libgcrypt.c: In function 'gc_hash_read': lib/gc-libgcrypt.c:460:14: error: pointer targets in assignment differ in signedness [-Werror=pointer-sign] digest = gcry_md_read (ctx->gch, 0); ^ * lib/gc-libgcrypt.c (gc_hash_read): Cast result of gcry_md_read. Signed-off-by: Jia Zhang <qianyue.zj@alibaba-inc.com> | ||||
* | all: prefer https: URLs | Paul Eggert | 2017-09-13 | 1 | -1/+1 |
| | |||||
* | version-etc: new year | Paul Eggert | 2017-01-01 | 1 | -1/+1 |
| | | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'. | ||||
* | version-etc: new year | Paul Eggert | 2016-01-01 | 1 | -1/+1 |
| | | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'. | ||||
* | version-etc: new year | Paul Eggert | 2014-12-31 | 1 | -1/+1 |
| | | | | | | * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'. | ||||
* | maint: update copyright | Eric Blake | 2014-01-01 | 1 | -1/+1 |
| | | | | | | I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com> | ||||
* | gc: support HMAC-SHA256 and HMAC-SHA512. | Simon Josefsson | 2013-08-26 | 1 | -1/+81 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/gc.h: Add gc_hmac_sha256 and gc_hmac_sha512. * lib/gc-libgcrypt.c (gc_hmac_sha256, gc_hmac_sha512): New functions. (gc_hmac_md5): Use symbolic constant. * lib/gc-gnulib.c: Include hmac.h for HMAC-SHA256/512 too. (gc_hmac_sha256, gc_hmac_sha512): New functions. * lib/hmac.h: Add hmac_sha256 and hmac_sha512 prototypes. * m4/sha256.m4: Protect against empty expansion. * m4/sha512.m4: Likewise. * lib/hmac-sha256.c: New file. * lib/hmac-sha512.c: Likewise. * m4/gc-hmac-sha256.m4: Likewise. * m4/gc-hmac-sha512.m4: Likewise. * m4/gc-sha256.m4: Likewise. * m4/gc-sha512.m4: Likewise. * modules/crypto/gc-hmac-sha256: Likewise. * modules/crypto/gc-hmac-sha256-tests: Likewise. * modules/crypto/gc-hmac-sha512: Likewise. * modules/crypto/gc-hmac-sha512-tests: Likewise. * modules/crypto/hmac-sha256: Likewise. * modules/crypto/hmac-sha256-tests: Likewise. * modules/crypto/hmac-sha512: Likewise. * modules/crypto/hmac-sha512-tests: Likewise. * tests/test-gc-hmac-sha256.c: Likewise. * tests/test-gc-hmac-sha512.c: Likewise * tests/test-hmac-sha256.c: Likewise. * tests/test-hmac-sha512.c: Likewise | ||||
* | maint: update all copyright year number ranges | Eric Blake | 2013-01-01 | 1 | -1/+1 |
| | | | | | | Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com> | ||||
* | maint: replace FSF snail-mail addresses with URLs | Paul Eggert | 2012-02-09 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/argz.mk, lib/accept4.c, lib/alignof.h, lib/alloca.in.h: * lib/alphasort.c, lib/arcfour.c, lib/arcfour.h, lib/arctwo.c: * lib/arctwo.h, lib/argz.c, lib/arpa_inet.in.h, lib/asnprintf.c: * lib/asprintf.c, lib/assert.in.h, lib/base32.c, lib/base32.h: * lib/base64.c, lib/base64.h, lib/c-ctype.c, lib/c-ctype.h: * lib/c-strcase.h, lib/c-strcasecmp.c, lib/c-strncasecmp.c: * lib/check-version.c, lib/check-version.h, lib/config.charset: * lib/ctype.in.h, lib/des.c, lib/des.h, lib/dup3.c, lib/errno.in.h: * lib/float+.h, lib/fnmatch.c, lib/fnmatch.in.h, lib/fnmatch_loop.c: * lib/fseeko.c, lib/gai_strerror.c, lib/gc-gnulib.c: * lib/gc-libgcrypt.c, lib/gc-pbkdf2-sha1.c, lib/gc.h: * lib/getaddrinfo.c, lib/getdelim.c, lib/getfilecon.c, lib/getline.c: * lib/getlogin_r.c, lib/getpass.c, lib/getpass.h, lib/gettext.h: * lib/gettimeofday.c, lib/glob.in.h, lib/glthread/cond.c: * lib/glthread/cond.h, lib/glthread/lock.c, lib/glthread/lock.h: * lib/glthread/thread.c, lib/glthread/thread.h: * lib/glthread/threadlib.c, lib/glthread/yield.h, lib/hmac-md5.c: * lib/hmac-sha1.c, lib/hmac.h, lib/iconv.c, lib/iconv.in.h: * lib/iconv_close.c, lib/iconv_open.c, lib/inet_ntop.c, lib/isfinite.c: * lib/isinf.c, lib/iswblank.c, lib/langinfo.in.h, lib/link.c: * lib/localcharset.c, lib/localcharset.h, lib/lseek.c, lib/malloc.c: * lib/malloca.c, lib/malloca.h, lib/md2.c, lib/md2.h, lib/md4.c: * lib/md4.h, lib/md5.c, lib/md5.h, lib/memmem.c, lib/mempcpy.c: * lib/memset.c, lib/memxor.c, lib/memxor.h, lib/minmax.h, lib/mktime.c: * lib/msvc-inval.c, lib/msvc-inval.h, lib/msvc-nothrow.c: * lib/msvc-nothrow.h, lib/netdb.in.h, lib/netinet_in.in.h, lib/nproc.c: * lib/nproc.h, lib/obstack_printf.c, lib/pathmax.h, lib/pipe.c: * lib/pipe2.c, lib/poll.c, lib/poll.in.h, lib/printf-args.c: * lib/printf-args.h, lib/printf-parse.c, lib/printf-parse.h: * lib/pselect.c, lib/pthread.in.h, lib/pty-private.h, lib/pty.in.h: * lib/read-file.c, lib/read-file.h, lib/ref-add.sin, lib/ref-del.sin: * lib/regcomp.c, lib/regex.c, lib/regex.h, lib/regex_internal.c: * lib/regex_internal.h, lib/regexec.c, lib/rijndael-alg-fst.c: * lib/rijndael-alg-fst.h, lib/rijndael-api-fst.c: * lib/rijndael-api-fst.h, lib/rint.c, lib/rintf.c, lib/rintl.c: * lib/round.c, lib/roundf.c, lib/roundl.c, lib/scandir.c, lib/select.c: * lib/sha1.c, lib/sha1.h, lib/size_max.h, lib/snprintf.c: * lib/stdalign.in.h, lib/stdarg.in.h, lib/stdbool.in.h: * lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/str-kmp.h: * lib/str-two-way.h, lib/strcasecmp.c, lib/strcasestr.c, lib/strdup.c: * lib/striconv.c, lib/striconv.h, lib/string.in.h, lib/strings.in.h: * lib/strncasecmp.c, lib/strndup.c, lib/strnlen.c, lib/strpbrk.c: * lib/strptime.c, lib/strsep.c, lib/strstr.c, lib/strverscmp.c: * lib/sys_file.in.h, lib/sys_ioctl.in.h, lib/sys_select.in.h: * lib/sys_socket.in.h, lib/sys_stat.in.h, lib/sys_time.in.h: * lib/sys_times.in.h, lib/sys_types.in.h, lib/sys_uio.in.h: * lib/sys_utsname.in.h, lib/sys_wait.in.h, lib/tcgetsid.c: * lib/termios.in.h, lib/time.in.h, lib/time_r.c, lib/timegm.c: * lib/times.c, lib/unictype/3level.h, lib/unictype/3levelbit.h: * lib/unistd.in.h, lib/vasnprintf.c, lib/vasnprintf.h, lib/vasprintf.c: * lib/vsnprintf.c, lib/waitpid.c, lib/wchar.in.h, lib/wctype.in.h: * lib/xsize.h, tests/test-closein.c, tests/test-des.c: * tests/test-fclose.c, tests/test-fgetc.c, tests/test-filevercmp.c: * tests/test-fputc.c, tests/test-fread.c, tests/test-fwrite.c: * tests/test-gc-arcfour.c, tests/test-gc-arctwo.c, tests/test-gc-des.c: * tests/test-gc-hmac-md5.c, tests/test-gc-hmac-sha1.c: * tests/test-gc-md2.c, tests/test-gc-md4.c, tests/test-gc-md5.c: * tests/test-gc-pbkdf2-sha1.c, tests/test-gc-rijndael.c: * tests/test-gc-sha1.c, tests/test-gc.c, tests/test-getdelim.c: * tests/test-getline.c, tests/test-getndelim2.c, tests/test-md2.c: * tests/test-md4.c, tests/test-parse-datetime.c, tests/test-perror.c: * tests/test-perror2.c, tests/test-pipe.c, tests/test-pipe2.c: * tests/test-poll.c, tests/test-quotearg-simple.c: * tests/test-quotearg.c, tests/test-quotearg.h: * tests/test-round-ieee.c, tests/test-round1.c: * tests/test-roundf-ieee.c, tests/test-roundf1.c: * tests/test-roundl-ieee.c, tests/test-roundl.c: * tests/test-safe-alloc.c, tests/test-sigpipe.c: * tests/test-spawn-pipe-child.c, tests/test-spawn-pipe-main.c: * tests/test-strerror.c, tests/test-strerror_r.c: * tests/test-strsignal.c, tests/test-strverscmp.c: * tests/test-xmemdup0.c: Replace FSF snail mail addresses with URLs, as per GNU coding standards. See glibc bug <http://sourceware.org/bugzilla/show_bug.cgi?id=13673>. | ||||
* | maint: update all copyright year number ranges | Jim Meyering | 2012-01-01 | 1 | -1/+1 |
| | | | | Run "make update-copyright". | ||||
* | maint: update almost all copyright ranges to include 2011 | Jim Meyering | 2011-01-01 | 1 | -2/+1 |
| | | | | Run the new "make update-copyright" rule. | ||||
* | lib/gc-libgcrypt.c (gc_init): Use MIN_GCRYPT_VERSION set to version 1.4.4. | Simon Josefsson | 2010-04-14 | 1 | -1/+5 |
| | |||||
* | update nearly all FSF copyright year lists to include 2010 | Jim Meyering | 2010-01-01 | 1 | -1/+1 |
| | | | | | Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081 | ||||
* | Use spaces for indentation, not tabs. | Bruno Haible | 2009-12-10 | 1 | -14/+14 |
| | |||||
* | gc-libgcrypt.c, gc-gnulib.c: Change copyright to FSF. | Simon Josefsson | 2009-08-02 | 1 | -1/+2 |
| | |||||
* | Support SHA-224 in gc. | Simon Josefsson | 2008-03-28 | 1 | -0/+14 |
| | |||||
* | Disable secure memory in gc-libgcrypt.c. | Simon Josefsson | 2008-01-16 | 1 | -1/+4 |
| | |||||
* | Add module 'gc-camellia'. | Simon Josefsson | 2007-10-22 | 1 | -0/+10 |
| | |||||
* | 2007-04-16 Simon Josefsson <simon@josefsson.org> | Simon Josefsson | 2007-04-16 | 1 | -1/+1 |
| | | | | * lib/gc-libgcrypt.c (gc_hash_open): Shut up compiler warnings. | ||||
* | lib/gc.h, lib/gc-libgcrypt.c: Support SHA-256/384/512. | Simon Josefsson | 2007-02-05 | 1 | -0/+42 |
| | |||||
* | Move module indicator macros from *.m4 files to the module descriptions. | Bruno Haible | 2007-01-08 | 1 | -19/+19 |
| | |||||
* | * lib/arcfour.c: Assume config.h. | Eric Blake | 2006-10-29 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * lib/arctwo.c: Likewise. * lib/base64.c: Likewise. * lib/check-version.c: Likewise. * lib/crc.c: Likewise. * lib/des.c: Likewise. * lib/gc-gnulib.c: Likewise. * lib/gc-libgcrypt.c: Likewise. * lib/gc-pbkdf2-sha1.c: Likewise. * lib/getaddrinfo.c: Likewise. * lib/getdelim.c: Likewise. * lib/getline.c: Likewise. * lib/hmac-md5.c: Likewise. * lib/hmac-sha1.c: Likewise. * lib/iconvme.c: Likewise. * lib/md2.c: Likewise. * lib/md4.c: Likewise. * lib/memxor.c: Likewise. * lib/read-file.c: Likewise. * lib/readline.c: Likewise. * lib/rijndael-alg-fst.c: Likewise. * lib/rijndael-api-fst.c: Likewise. * lib/xgetdomainname.c: Likewise. | ||||
* | Split off gc-random from gc, and only warn on missing devices. | Simon Josefsson | 2006-03-07 | 1 | -1/+5 |
| | |||||
* | * gc-gnulib.c, gc-libgcrypt.c: Check calloc return value. | Simon Josefsson | 2005-10-28 | 1 | -0/+2 |
| | |||||
* | Add MD2 and hash fixes. | Simon Josefsson | 2005-10-28 | 1 | -21/+116 |
| | |||||
* | * gc-libgcrypt.c (gc_cipher_open): Handle ECB. | Simon Josefsson | 2005-10-21 | 1 | -0/+4 |
| | |||||
* | Add gc-md4 and gc-md4-tests modules. | Simon Josefsson | 2005-10-18 | 1 | -0/+46 |
| | |||||
* | * gc-libgcrypt.c (gc_hmac_sha1): Fix assert. | Simon Josefsson | 2005-10-17 | 1 | -1/+1 |
| | |||||
* | Add more hash functions. | Simon Josefsson | 2005-10-17 | 1 | -0/+118 |
| | |||||
* | Add ciphers. | Simon Josefsson | 2005-10-17 | 1 | -0/+118 |
| | |||||
* | * gc.h, gc-gnulib.c, gc-libgcrypt.c: Use Gc_rc for return types, | Simon Josefsson | 2005-10-12 | 1 | -9/+9 |
| | | | | suggested by Bruno Haible <bruno@clisp.org>. | ||||
* | Add gc-hmac-sha1. | Simon Josefsson | 2005-10-12 | 1 | -0/+40 |
| | |||||
* | Add gc-sha1 module. | Simon Josefsson | 2005-10-12 | 1 | -0/+38 |
| | |||||
* | Split parts of the gc module into gc-md5 and gc-hmac-md5 modules. | Simon Josefsson | 2005-10-12 | 1 | -0/+6 |
| | |||||
* | * gc-libgcrypt.c (gc_md5): Fix assert call. | Simon Josefsson | 2005-10-12 | 1 | -3/+3 |
| | | | | | | | (gc_md5): Fix typo. * gc.h (gc_hash_buffer): Use gc_hash in prototype. * gc-libgcrypt.c (gc_hash_buffer): Ditto. * gc-gnulib.c (gc_hash_buffer): Ditto. |