<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/sm4, branch OPENBSD_7_7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-01-25T17:59:44+00:00</updated>
<entry>
<title>Remove #error if OPENSSL_NO_FOO is defined</title>
<updated>2025-01-25T17:59:44+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-25T17:59:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5d52abc236226c5a47c36b07e2256e77141e373a'/>
<id>urn:sha1:5d52abc236226c5a47c36b07e2256e77141e373a</id>
<content type='text'>
discussed with jsing
</content>
</entry>
<entry>
<title>Expand the SM4_ROUNDS macro.</title>
<updated>2025-01-22T09:53:16+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-01-22T09:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=60d9ada94567fdf756caa5632ebe42512982d45c'/>
<id>urn:sha1:60d9ada94567fdf756caa5632ebe42512982d45c</id>
<content type='text'>
This macro references variable names that are in the consuming function and
are not actually passed to the macro. Expanding it makes the logic clearer.
If we wanted to reduce code the middle six group of rounds could be
implemented using a for loop (which the compiler can then choose to
unroll).

ok tb@
</content>
</entry>
<entry>
<title>Replace {load,store}_u32_be() with crypto_{load,store}_be32toh().</title>
<updated>2025-01-22T09:46:26+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-01-22T09:46:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9943924d04defaf3708999d0519c2262b2ac97b3'/>
<id>urn:sha1:9943924d04defaf3708999d0519c2262b2ac97b3</id>
<content type='text'>
load_u32_be() and store_u32_be() are not symmetrical, with load_u32_be()
having a rather unexpected indexing interface. Fix up the callers to
perform their own indexing and use crypto_{load,store}_be32toh() instead.

ok tb@
</content>
</entry>
<entry>
<title>Pull the family key and constant key tables out of SM4_set_key().</title>
<updated>2025-01-22T09:42:27+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-01-22T09:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3d137b75c33c89c10db82d247ef3c91191767812'/>
<id>urn:sha1:3d137b75c33c89c10db82d247ef3c91191767812</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Replace rotl() with crypto_rol_u32().</title>
<updated>2025-01-22T09:37:07+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-01-22T09:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0272dcdae3a2b2b221f3f05c3345a16cec1eddc2'/>
<id>urn:sha1:0272dcdae3a2b2b221f3f05c3345a16cec1eddc2</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>hide symbols in sm, rand, and poly1305</title>
<updated>2023-07-07T12:01:32+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-07T12:01:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e7aea55ea47e895c51a84147a1cb230cf7a29b33'/>
<id>urn:sha1:e7aea55ea47e895c51a84147a1cb230cf7a29b33</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>Add the SM4 block cipher from the Chinese standard GB/T 32907-2016.</title>
<updated>2019-03-17T17:42:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-03-17T17:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=83706f88f1f845458a32eb6c86da86d667e28f1b'/>
<id>urn:sha1:83706f88f1f845458a32eb6c86da86d667e28f1b</id>
<content type='text'>
This is an ISC licensed version based on the sources by Ribose Inc
that were ported to OpenSSL in 2017.

Patch from Daniel Wyatt with minor tweaks.
ok inoguchi, jsing
</content>
</entry>
</feed>
