inlen 67 maint/gnulib/lib/base32.c base32_encode (const char *restrict in, idx_t inlen, inlen 73 maint/gnulib/lib/base32.c while (inlen && outlen) inlen 79 maint/gnulib/lib/base32.c + (--inlen ? to_uchar (in[1]) >> 6 : 0)) inlen 84 maint/gnulib/lib/base32.c (inlen inlen 90 maint/gnulib/lib/base32.c (inlen inlen 92 maint/gnulib/lib/base32.c + (--inlen ? to_uchar (in[2]) >> 4 : 0)) inlen 98 maint/gnulib/lib/base32.c (inlen inlen 100 maint/gnulib/lib/base32.c + (--inlen ? to_uchar (in[3]) >> 7 : 0)) inlen 106 maint/gnulib/lib/base32.c (inlen inlen 112 maint/gnulib/lib/base32.c (inlen inlen 114 maint/gnulib/lib/base32.c + (--inlen ? to_uchar (in[4]) >> 5 : 0)) inlen 119 maint/gnulib/lib/base32.c *out++ = inlen ? b32str[to_uchar (in[4]) & 0x1f] : '='; inlen 122 maint/gnulib/lib/base32.c if (inlen) inlen 123 maint/gnulib/lib/base32.c inlen--; inlen 124 maint/gnulib/lib/base32.c if (inlen) inlen 142 maint/gnulib/lib/base32.c base32_encode_alloc (const char *in, idx_t inlen, char **out) inlen 147 maint/gnulib/lib/base32.c idx_t in_over_5 = inlen / 5 + (inlen % 5 != 0), outlen; inlen 148 maint/gnulib/lib/base32.c if (! INT_MULTIPLY_OK (in_over_5, 8, &outlen) || inlen < 0) inlen 159 maint/gnulib/lib/base32.c base32_encode (in, inlen, *out, outlen); inlen 359 maint/gnulib/lib/base32.c decode_8 (char const *restrict in, idx_t inlen, inlen 363 maint/gnulib/lib/base32.c if (inlen < 8) inlen 470 maint/gnulib/lib/base32.c const char *restrict in, idx_t inlen, inlen 481 maint/gnulib/lib/base32.c flush_ctx = inlen == 0; inlen 495 maint/gnulib/lib/base32.c if (!decode_8 (in, inlen, &out, &outleft)) inlen 499 maint/gnulib/lib/base32.c inlen -= 8; inlen 503 maint/gnulib/lib/base32.c if (inlen == 0 && !flush_ctx) inlen 508 maint/gnulib/lib/base32.c if (inlen && *in == '\n' && ignore_newlines) inlen 511 maint/gnulib/lib/base32.c --inlen; inlen 520 maint/gnulib/lib/base32.c char const *in_end = in + inlen; inlen 524 maint/gnulib/lib/base32.c non_nl = get_8 (ctx, &in, in_end, &inlen); inlen 531 maint/gnulib/lib/base32.c if (inlen == 0 || (inlen < 8 && !flush_ctx && ignore_newlines)) inlen 533 maint/gnulib/lib/base32.c inlen = 0; inlen 536 maint/gnulib/lib/base32.c if (!decode_8 (non_nl, inlen, &out, &outleft)) inlen 539 maint/gnulib/lib/base32.c inlen = in_end - in; inlen 545 maint/gnulib/lib/base32.c return inlen == 0; inlen 561 maint/gnulib/lib/base32.c const char *in, idx_t inlen, char **out, inlen 569 maint/gnulib/lib/base32.c idx_t needlen = 5 * ((inlen >> 3) + 1); inlen 575 maint/gnulib/lib/base32.c if (!base32_decode_ctx (ctx, in, inlen, *out, &needlen)) inlen 29 maint/gnulib/lib/base32.h # define BASE32_LENGTH(inlen) ((((inlen) + 4) / 5) * 8) inlen 39 maint/gnulib/lib/base32.h extern void base32_encode (const char *restrict in, idx_t inlen, inlen 42 maint/gnulib/lib/base32.h extern idx_t base32_encode_alloc (const char *in, idx_t inlen, char **out); inlen 47 maint/gnulib/lib/base32.h const char *restrict in, idx_t inlen, inlen 51 maint/gnulib/lib/base32.h const char *in, idx_t inlen, inlen 54 maint/gnulib/lib/base32.h #define base32_decode(in, inlen, out, outlen) \ inlen 55 maint/gnulib/lib/base32.h base32_decode_ctx (NULL, in, inlen, out, outlen) inlen 57 maint/gnulib/lib/base32.h #define base32_decode_alloc(in, inlen, out, outlen) \ inlen 58 maint/gnulib/lib/base32.h base32_decode_alloc_ctx (NULL, in, inlen, out, outlen) inlen 71 maint/gnulib/lib/base64.c base64_encode_fast (const char *restrict in, idx_t inlen, char *restrict out) inlen 73 maint/gnulib/lib/base64.c while (inlen) inlen 80 maint/gnulib/lib/base64.c inlen -= 3; inlen 90 maint/gnulib/lib/base64.c base64_encode (const char *restrict in, idx_t inlen, inlen 100 maint/gnulib/lib/base64.c if (outlen % 4 == 0 && inlen == (outlen >> 2) * 3) inlen 102 maint/gnulib/lib/base64.c base64_encode_fast (in, inlen, out); inlen 106 maint/gnulib/lib/base64.c while (inlen && outlen) inlen 112 maint/gnulib/lib/base64.c + (--inlen ? to_uchar (in[1]) >> 4 : 0)) inlen 117 maint/gnulib/lib/base64.c (inlen inlen 119 maint/gnulib/lib/base64.c + (--inlen ? to_uchar (in[2]) >> 6 : 0)) inlen 124 maint/gnulib/lib/base64.c *out++ = inlen ? b64c[to_uchar (in[2]) & 0x3f] : '='; inlen 127 maint/gnulib/lib/base64.c if (inlen) inlen 128 maint/gnulib/lib/base64.c inlen--; inlen 129 maint/gnulib/lib/base64.c if (inlen) inlen 147 maint/gnulib/lib/base64.c base64_encode_alloc (const char *in, idx_t inlen, char **out) inlen 152 maint/gnulib/lib/base64.c idx_t in_over_3 = inlen / 3 + (inlen % 3 != 0), outlen; inlen 153 maint/gnulib/lib/base64.c if (! INT_MULTIPLY_OK (in_over_3, 4, &outlen) || inlen < 0) inlen 164 maint/gnulib/lib/base64.c base64_encode (in, inlen, *out, outlen); inlen 396 maint/gnulib/lib/base64.c decode_4 (char const *restrict in, idx_t inlen, inlen 400 maint/gnulib/lib/base64.c if (inlen < 2) inlen 413 maint/gnulib/lib/base64.c if (inlen == 2) inlen 418 maint/gnulib/lib/base64.c if (inlen != 4) inlen 436 maint/gnulib/lib/base64.c if (inlen == 3) inlen 441 maint/gnulib/lib/base64.c if (inlen != 4) inlen 482 maint/gnulib/lib/base64.c const char *restrict in, idx_t inlen, inlen 493 maint/gnulib/lib/base64.c flush_ctx = inlen == 0; inlen 507 maint/gnulib/lib/base64.c if (!decode_4 (in, inlen, &out, &outleft)) inlen 511 maint/gnulib/lib/base64.c inlen -= 4; inlen 515 maint/gnulib/lib/base64.c if (inlen == 0 && !flush_ctx) inlen 520 maint/gnulib/lib/base64.c if (inlen && *in == '\n' && ignore_newlines) inlen 523 maint/gnulib/lib/base64.c --inlen; inlen 532 maint/gnulib/lib/base64.c char const *in_end = in + inlen; inlen 536 maint/gnulib/lib/base64.c non_nl = get_4 (ctx, &in, in_end, &inlen); inlen 543 maint/gnulib/lib/base64.c if (inlen == 0 || (inlen < 4 && !flush_ctx && ignore_newlines)) inlen 545 maint/gnulib/lib/base64.c inlen = 0; inlen 548 maint/gnulib/lib/base64.c if (!decode_4 (non_nl, inlen, &out, &outleft)) inlen 551 maint/gnulib/lib/base64.c inlen = in_end - in; inlen 557 maint/gnulib/lib/base64.c return inlen == 0; inlen 573 maint/gnulib/lib/base64.c const char *in, idx_t inlen, char **out, inlen 581 maint/gnulib/lib/base64.c idx_t needlen = 3 * ((inlen >> 2) + 1); inlen 587 maint/gnulib/lib/base64.c if (!base64_decode_ctx (ctx, in, inlen, *out, &needlen)) inlen 33 maint/gnulib/lib/base64.h # define BASE64_LENGTH(inlen) ((((inlen) + 2) / 3) * 4) inlen 43 maint/gnulib/lib/base64.h extern void base64_encode (const char *restrict in, idx_t inlen, inlen 46 maint/gnulib/lib/base64.h extern idx_t base64_encode_alloc (const char *in, idx_t inlen, char **out); inlen 51 maint/gnulib/lib/base64.h const char *restrict in, idx_t inlen, inlen 55 maint/gnulib/lib/base64.h const char *in, idx_t inlen, inlen 58 maint/gnulib/lib/base64.h #define base64_decode(in, inlen, out, outlen) \ inlen 59 maint/gnulib/lib/base64.h base64_decode_ctx (NULL, in, inlen, out, outlen) inlen 61 maint/gnulib/lib/base64.h #define base64_decode_alloc(in, inlen, out, outlen) \ inlen 62 maint/gnulib/lib/base64.h base64_decode_alloc_ctx (NULL, in, inlen, out, outlen) inlen 819 maint/gnulib/lib/gc-gnulib.c gc_hash_buffer (Gc_hash hash, const void *in, size_t inlen, char *resbuf) inlen 825 maint/gnulib/lib/gc-gnulib.c md2_buffer (in, inlen, resbuf); inlen 831 maint/gnulib/lib/gc-gnulib.c md4_buffer (in, inlen, resbuf); inlen 837 maint/gnulib/lib/gc-gnulib.c md5_buffer (in, inlen, resbuf); inlen 843 maint/gnulib/lib/gc-gnulib.c sha1_buffer (in, inlen, resbuf); inlen 849 maint/gnulib/lib/gc-gnulib.c sha256_buffer (in, inlen, resbuf); inlen 855 maint/gnulib/lib/gc-gnulib.c sha512_buffer (in, inlen, resbuf); inlen 861 maint/gnulib/lib/gc-gnulib.c sm3_buffer (in, inlen, resbuf); inlen 874 maint/gnulib/lib/gc-gnulib.c gc_md2 (const void *in, size_t inlen, void *resbuf) inlen 876 maint/gnulib/lib/gc-gnulib.c md2_buffer (in, inlen, resbuf); inlen 883 maint/gnulib/lib/gc-gnulib.c gc_md4 (const void *in, size_t inlen, void *resbuf) inlen 885 maint/gnulib/lib/gc-gnulib.c md4_buffer (in, inlen, resbuf); inlen 892 maint/gnulib/lib/gc-gnulib.c gc_md5 (const void *in, size_t inlen, void *resbuf) inlen 894 maint/gnulib/lib/gc-gnulib.c md5_buffer (in, inlen, resbuf); inlen 901 maint/gnulib/lib/gc-gnulib.c gc_sha1 (const void *in, size_t inlen, void *resbuf) inlen 903 maint/gnulib/lib/gc-gnulib.c sha1_buffer (in, inlen, resbuf); inlen 910 maint/gnulib/lib/gc-gnulib.c gc_sha256 (const void *in, size_t inlen, void *resbuf) inlen 912 maint/gnulib/lib/gc-gnulib.c sha256_buffer (in, inlen, resbuf); inlen 919 maint/gnulib/lib/gc-gnulib.c gc_sha512 (const void *in, size_t inlen, void *resbuf) inlen 921 maint/gnulib/lib/gc-gnulib.c sha512_buffer (in, inlen, resbuf); inlen 928 maint/gnulib/lib/gc-gnulib.c gc_sm3 (const void *in, size_t inlen, void *resbuf) inlen 930 maint/gnulib/lib/gc-gnulib.c sm3_buffer (in, inlen, resbuf); inlen 938 maint/gnulib/lib/gc-gnulib.c const void *in, size_t inlen, char *resbuf) inlen 940 maint/gnulib/lib/gc-gnulib.c hmac_md5 (key, keylen, in, inlen, resbuf); inlen 948 maint/gnulib/lib/gc-gnulib.c const void *in, size_t inlen, char *resbuf) inlen 950 maint/gnulib/lib/gc-gnulib.c hmac_sha1 (key, keylen, in, inlen, resbuf); inlen 958 maint/gnulib/lib/gc-gnulib.c const void *in, size_t inlen, char *resbuf) inlen 960 maint/gnulib/lib/gc-gnulib.c hmac_sha256 (key, keylen, in, inlen, resbuf); inlen 968 maint/gnulib/lib/gc-gnulib.c const void *in, size_t inlen, char *resbuf) inlen 970 maint/gnulib/lib/gc-gnulib.c hmac_sha512 (key, keylen, in, inlen, resbuf); inlen 523 maint/gnulib/lib/gc-libgcrypt.c gc_hash_buffer (Gc_hash hash, const void *in, size_t inlen, char *resbuf) inlen 531 maint/gnulib/lib/gc-libgcrypt.c md2_buffer (in, inlen, resbuf); inlen 586 maint/gnulib/lib/gc-libgcrypt.c sm3_buffer (in, inlen, resbuf); inlen 598 maint/gnulib/lib/gc-libgcrypt.c gcry_md_hash_buffer (gcryalg, resbuf, in, inlen); inlen 607 maint/gnulib/lib/gc-libgcrypt.c gc_md2 (const void *in, size_t inlen, void *resbuf) inlen 609 maint/gnulib/lib/gc-libgcrypt.c md2_buffer (in, inlen, resbuf); inlen 616 maint/gnulib/lib/gc-libgcrypt.c gc_md4 (const void *in, size_t inlen, void *resbuf) inlen 629 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (hd, in, inlen); inlen 648 maint/gnulib/lib/gc-libgcrypt.c gc_md5 (const void *in, size_t inlen, void *resbuf) inlen 661 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (hd, in, inlen); inlen 680 maint/gnulib/lib/gc-libgcrypt.c gc_sha1 (const void *in, size_t inlen, void *resbuf) inlen 693 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (hd, in, inlen); inlen 712 maint/gnulib/lib/gc-libgcrypt.c gc_sha256 (const void *in, size_t inlen, void *resbuf) inlen 725 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (hd, in, inlen); inlen 744 maint/gnulib/lib/gc-libgcrypt.c gc_sha512 (const void *in, size_t inlen, void *resbuf) inlen 757 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (hd, in, inlen); inlen 776 maint/gnulib/lib/gc-libgcrypt.c gc_sm3 (const void *in, size_t inlen, void *resbuf) inlen 779 maint/gnulib/lib/gc-libgcrypt.c sm3_buffer (in, inlen, resbuf); inlen 793 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (hd, in, inlen); inlen 814 maint/gnulib/lib/gc-libgcrypt.c const void *in, size_t inlen, char *resbuf) inlen 834 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (mdh, in, inlen); inlen 854 maint/gnulib/lib/gc-libgcrypt.c const void *in, size_t inlen, char *resbuf) inlen 874 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (mdh, in, inlen); inlen 894 maint/gnulib/lib/gc-libgcrypt.c const void *in, size_t inlen, char *resbuf) inlen 914 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (mdh, in, inlen); inlen 934 maint/gnulib/lib/gc-libgcrypt.c const void *in, size_t inlen, char *resbuf) inlen 954 maint/gnulib/lib/gc-libgcrypt.c gcry_md_write (mdh, in, inlen); inlen 27 maint/gnulib/lib/gc-pbkdf2.c const void *in, size_t inlen, char *resbuf); inlen 157 maint/gnulib/lib/gc.h gc_hash_buffer (Gc_hash hash, const void *in, size_t inlen, char *out); inlen 160 maint/gnulib/lib/gc.h extern Gc_rc gc_md2 (const void *in, size_t inlen, void *resbuf); inlen 161 maint/gnulib/lib/gc.h extern Gc_rc gc_md4 (const void *in, size_t inlen, void *resbuf); inlen 162 maint/gnulib/lib/gc.h extern Gc_rc gc_md5 (const void *in, size_t inlen, void *resbuf); inlen 163 maint/gnulib/lib/gc.h extern Gc_rc gc_sha1 (const void *in, size_t inlen, void *resbuf); inlen 164 maint/gnulib/lib/gc.h extern Gc_rc gc_sha256 (const void *in, size_t inlen, void *resbuf); inlen 165 maint/gnulib/lib/gc.h extern Gc_rc gc_sha512 (const void *in, size_t inlen, void *resbuf); inlen 166 maint/gnulib/lib/gc.h extern Gc_rc gc_sm3 (const void *in, size_t inlen, void *resbuf); inlen 168 maint/gnulib/lib/gc.h const void *in, size_t inlen, char *resbuf); inlen 170 maint/gnulib/lib/gc.h const void *in, size_t inlen, char *resbuf); inlen 172 maint/gnulib/lib/gc.h const void *in, size_t inlen, char *resbuf); inlen 174 maint/gnulib/lib/gc.h const void *in, size_t inlen, char *resbuf); inlen 43 maint/gnulib/lib/hmac.c const void *in, size_t inlen, inlen 54 maint/gnulib/lib/hmac.c GL_HMAC_FN_PROC (in, inlen, &hmac_ctx); inlen 60 maint/gnulib/lib/hmac.c const void *in, size_t inlen, void *resbuf) inlen 81 maint/gnulib/lib/hmac.c hmac_hash (key, keylen, in, inlen, IPAD, innerhash); inlen 38 maint/gnulib/lib/hmac.h const void *in, size_t inlen, void *restrict resbuf); inlen 46 maint/gnulib/lib/hmac.h const void *in, size_t inlen, void *restrict resbuf); inlen 54 maint/gnulib/lib/hmac.h const void *in, size_t inlen, void *restrict resbuf); inlen 42 maint/gnulib/tests/test-gc-md2.c size_t inlen = strlen (in); inlen 48 maint/gnulib/tests/test-gc-md2.c if (gc_md2 (in, inlen, out) != 0) inlen 67 maint/gnulib/tests/test-gc-md2.c if (gc_hash_buffer (GC_MD2, in, inlen, out) != 0) inlen 98 maint/gnulib/tests/test-gc-md2.c gc_hash_write (h, inlen, in); inlen 42 maint/gnulib/tests/test-gc-md4.c size_t inlen = strlen (in); inlen 50 maint/gnulib/tests/test-gc-md4.c if (gc_md4 (in, inlen, out) != 0) inlen 69 maint/gnulib/tests/test-gc-md4.c if (gc_hash_buffer (GC_MD4, in, inlen, out) != 0) inlen 100 maint/gnulib/tests/test-gc-md4.c gc_hash_write (h, inlen, in); inlen 42 maint/gnulib/tests/test-gc-md5.c size_t inlen = strlen (in); inlen 50 maint/gnulib/tests/test-gc-md5.c if (gc_md5 (in, inlen, out) != 0) inlen 69 maint/gnulib/tests/test-gc-md5.c if (gc_hash_buffer (GC_MD5, in, inlen, out) != 0) inlen 100 maint/gnulib/tests/test-gc-md5.c gc_hash_write (h, inlen, in); inlen 40 maint/gnulib/tests/test-gc-sha1.c size_t inlen = strlen (in); inlen 46 maint/gnulib/tests/test-gc-sha1.c if (gc_sha1 (in, inlen, out) != 0) inlen 97 maint/gnulib/tests/test-gc-sha1.c gc_hash_write (h, inlen, in); inlen 40 maint/gnulib/tests/test-gc-sha256.c size_t inlen = strlen (in); inlen 47 maint/gnulib/tests/test-gc-sha256.c if (gc_sha256 (in, inlen, out) != 0) inlen 98 maint/gnulib/tests/test-gc-sha256.c gc_hash_write (h, inlen, in); inlen 40 maint/gnulib/tests/test-gc-sha512.c size_t inlen = strlen (in); inlen 49 maint/gnulib/tests/test-gc-sha512.c if (gc_sha512 (in, inlen, out) != 0) inlen 100 maint/gnulib/tests/test-gc-sha512.c gc_hash_write (h, inlen, in); inlen 42 maint/gnulib/tests/test-gc-sm3.c size_t inlen = strlen (in); inlen 49 maint/gnulib/tests/test-gc-sm3.c if (gc_sm3 (in, inlen, out) != 0) inlen 100 maint/gnulib/tests/test-gc-sm3.c gc_hash_write (h, inlen, in);