<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libbb/hash_hmac.c, branch cron_changes</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cron_changes</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cron_changes'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-01-28T08:03:02+00:00</updated>
<entry>
<title>libbb: code shrink</title>
<updated>2026-01-28T08:03:02+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-01-28T08:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=04eadd2f424f491b5c77f4a247dc0b6da3b9aef2'/>
<id>urn:sha1:04eadd2f424f491b5c77f4a247dc0b6da3b9aef2</id>
<content type='text'>
Fix some compiler warnings and move the CNG algorithm caches into
get_alg_handle().

Saves 32 bytes in the x86_64 build with CNG enabled.
</content>
</entry>
<entry>
<title>libbb: refactor CNG hashing implementation</title>
<updated>2026-01-27T12:45:11+00:00</updated>
<author>
<name>rfl890</name>
<email>rfl890mc@gmail.com</email>
</author>
<published>2026-01-26T09:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=74344deef28da6fa279eb12ab8ab4e84a59900ad'/>
<id>urn:sha1:74344deef28da6fa279eb12ab8ab4e84a59900ad</id>
<content type='text'>
The existing CNG implementation relied on multiple features only
implemented in "newer" Windows versions. This new implementation does
not use the aforementioned features and is therefore compatible with
systems running Windows Vista or higher.

function                                             old     new   delta
.rdata                                             87112   87288    +176
hmac_peek_hash                                        80     208    +128
get_alg_handle                                         -      96     +96
algorithm_provider_hmac_cache                          -      48     +48
algorithm_provider_cache                               -      48     +48
alg_id_mappings                                        -      48     +48
sha512_begin                                          16      48     +32
sha384_begin                                          16      48     +32
sha256_begin                                          16      48     +32
sha1_begin                                            16      48     +32
md5_begin                                             16      32     +16
hmac_hash_v                                           48      64     +16
hmac_end                                              48      64     +16
hmac_blocks.constprop.0                               96     112     +16
__imp_BCryptOpenAlgorithmProvider                      -       8      +8
__imp_BCryptDuplicateHash                              -       8      +8
BCryptOpenAlgorithmProvider                            -       8      +8
BCryptDuplicateHash                                    -       8      +8
------------------------------------------------------------------------------
(add/remove: 8/0 grow/shrink: 10/0 up/down: 768/0)            Total: 768 bytes
</content>
</entry>
<entry>
<title>Post-merge fixes</title>
<updated>2025-08-12T10:59:30+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-08-12T10:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=aed19625ff874bb2fc95480a6f684a9acc1bf2c9'/>
<id>urn:sha1:aed19625ff874bb2fc95480a6f684a9acc1bf2c9</id>
<content type='text'>
Upstream has moved some functions from networking/tls.c to a new
file, libbb/hash_hmac.c.  The merge didn't adjust this code to
allow it to work with the native Windows checksum API.

This only matters if FEATURE_USE_CNG_API is enabled and
CONFIG_FEATURE_TLS_SCHANNEL isn't.  In that case the wget applet
fails to handle https.  None of the default configurations
has this combination, but it should work.  Make it so.

The Windows code doesn't implement hmac_block(), as that's only
used for password encryption which isn't currently supported.

The variadic function hmac_peek_hash() isn't declared FAST_FUNC,
as that causes clang to issue many warnings.
</content>
</entry>
<entry>
<title>libbb/yescrypt: remove redundant SHA256 HMAC implementation</title>
<updated>2025-07-07T06:21:44+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-07-07T06:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c11730490ad68737120d569b9760e2c35e28977e'/>
<id>urn:sha1:c11730490ad68737120d569b9760e2c35e28977e</id>
<content type='text'>
function                                             old     new   delta
hmac_blocks                                            -      88     +88
static.PBKDF2_SHA256                                 176     213     +37
yescrypt_kdf32_body                                 1046    1052      +6
static.smix                                          759     762      +3
hmac_block                                            88      64     -24
HMAC_SHA256_Final                                     53       -     -53
HMAC_SHA256_Buf                                       58       -     -58
HMAC_SHA256_Init                                     159       -    -159
------------------------------------------------------------------------------
(add/remove: 1/3 grow/shrink: 3/1 up/down: 134/-294)         Total: -160 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: factor out HMAC code from TLS</title>
<updated>2025-07-07T05:44:01+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-07-07T05:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1a0913d57ce8287703cfe666d9240e3a147ea30d'/>
<id>urn:sha1:1a0913d57ce8287703cfe666d9240e3a147ea30d</id>
<content type='text'>
function                                             old     new   delta
hmac_block                                             -      88     +88
hmac_peek_hash                                         -      61     +61
hmac_end                                               -      50     +50
hmac_begin                                           140     177     +37
hmac_hash_v                                            -      30     +30
.rodata                                           105799  105787     -12
hmac_sha_precomputed                                  54       -     -54
hmac_sha_precomputed_v                                69       -     -69
hmac                                                  83       -     -83
------------------------------------------------------------------------------
(add/remove: 5/3 grow/shrink: 1/1 up/down: 266/-218)           Total: 48 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
