<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.bin/openssl/speed.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2026-03-19T20:28:46+00:00</updated>
<entry>
<title>openssl speed: whitespace tweak</title>
<updated>2026-03-19T20:28:46+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2026-03-19T20:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b1196d61eed2da0efb664d4b7f6347181cd227d6'/>
<id>urn:sha1:b1196d61eed2da0efb664d4b7f6347181cd227d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>openssl speed: add benchmarking support for ML-KEM</title>
<updated>2026-03-18T21:50:24+00:00</updated>
<author>
<name>kenjiro</name>
<email></email>
</author>
<published>2026-03-18T21:50:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=82f203504202bf0d907e6a786382a70909be7a4f'/>
<id>urn:sha1:82f203504202bf0d907e6a786382a70909be7a4f</id>
<content type='text'>
Add support for benchmarking ML-KEM key encapsulation mechanisms to
openssl speed.  The following operations are measured:

- key generation
- encapsulation
- decapsulation

Two parameter sets are supported:

  mlkem768
  mlkem1024

The benchmark can be invoked using the following options:

  mlkem       run all ML-KEM benchmarks
  mlkem768    run ML-KEM-768 benchmarks
  mlkem1024   run ML-KEM-1024 benchmarks

Results are reported similarly to other public key algorithms, showing
time per operation and operations per second.  Machine-readable output
(-mr) support is also added for ML-KEM.

ok tb
</content>
</entry>
<entry>
<title>speed: make hmac(sha256) the default hmac</title>
<updated>2025-12-13T01:58:53+00:00</updated>
<author>
<name>kenjiro</name>
<email></email>
</author>
<published>2025-12-13T01:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=20d6e4cb31df6885cb225ebc24e9924458ff01aa'/>
<id>urn:sha1:20d6e4cb31df6885cb225ebc24e9924458ff01aa</id>
<content type='text'>
MD5 is obsolete. Use a sha256 hash for the HMAC benchmark.

ok tb@ beck@
</content>
</entry>
<entry>
<title>Remove unused algorithms from speed.c</title>
<updated>2025-12-11T11:34:08+00:00</updated>
<author>
<name>kenjiro</name>
<email></email>
</author>
<published>2025-12-11T11:34:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1e51b789b88a04886f648c8711c87555a21b855d'/>
<id>urn:sha1:1e51b789b88a04886f648c8711c87555a21b855d</id>
<content type='text'>
Removed unused algorithms (MD2, SEED, RC5) from the algorithm
enum and the `names[]` table.

The current results for these algorithms were always:

md2                  0.00   0.00   0.00   0.00   0.00
seed cbc             0.00   0.00   0.00   0.00   0.00
rc5-32/12 cbc        0.00   0.00   0.00   0.00   0.00

indicating that they are no longer unused.

ok tb@
</content>
</entry>
<entry>
<title>Convert D_, R_ macro indices to enums in speed.c</title>
<updated>2025-12-11T11:28:34+00:00</updated>
<author>
<name>kenjiro</name>
<email></email>
</author>
<published>2025-12-11T11:28:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b1b9bc453472ee0e33a34b0925f972b82453a35c'/>
<id>urn:sha1:b1b9bc453472ee0e33a34b0925f972b82453a35c</id>
<content type='text'>
Replaced many `#define` based index constants with enums by adding ALGOR_NUM,
DSA_NUM, RSA_NUM, and EC_NUM to the enum definitions.

This makes it easier to add or remove new entries.

ok tb@
</content>
</entry>
<entry>
<title>speed: remove unused counters and dead parameters</title>
<updated>2025-12-11T11:01:04+00:00</updated>
<author>
<name>kenjiro</name>
<email></email>
</author>
<published>2025-12-11T11:01:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3842e6324fbd7c6b73d77e4ae884e3ef9d099f2e'/>
<id>urn:sha1:3842e6324fbd7c6b73d77e4ae884e3ef9d099f2e</id>
<content type='text'>
In the speed implementation, a number of unused variables and
parameters (save_count, c[][], rsa_c, dsa_c, ecdsa_c, ecdh_c, and
the num argument of print_message()/pkey_print_message()) were
still left behind.

These values are no longer referenced and cannot affect the
time-based benchmark logic, so remove them.

Functional behaviour of speed remains unchanged.

ok tb@
</content>
</entry>
<entry>
<title>openssl speed: clean up time_f</title>
<updated>2025-05-25T05:05:30+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2025-05-25T05:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aada760c0a63cc97f8def7686fe6d76d3a3cc4d9'/>
<id>urn:sha1:aada760c0a63cc97f8def7686fe6d76d3a3cc4d9</id>
<content type='text'>
Rename Time_F to time_f and tidy up implementation and usage.

time_f still uses app_timer_{user,real}, which I will clean up in a
future commit.

ok jsing
</content>
</entry>
<entry>
<title>openssl speed: remove whirlpool</title>
<updated>2025-05-25T04:54:41+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2025-05-25T04:54:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9c476c7a531ca0620e1274e88ba48ca60110fc7a'/>
<id>urn:sha1:9c476c7a531ca0620e1274e88ba48ca60110fc7a</id>
<content type='text'>
whirlpool was previously removed from libcrypto, and OPENSSL_NO_WHIRLPOOL
will always be defined. Remove whirlpool support from the openssl speed
command entirely.

ok jsing tb
</content>
</entry>
<entry>
<title>openssl speed: remove MAX_BLOCK_SIZE define</title>
<updated>2025-05-24T09:25:38+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2025-05-24T09:25:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c7f2c21ddefc09226ad3033249e6aeeb83079e40'/>
<id>urn:sha1:c7f2c21ddefc09226ad3033249e6aeeb83079e40</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>openssl speed: move key{16,24,32} above speed_main</title>
<updated>2025-05-24T08:04:21+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2025-05-24T08:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c79519e24a879a3244fe6bde5c867545e8e730b2'/>
<id>urn:sha1:c79519e24a879a3244fe6bde5c867545e8e730b2</id>
<content type='text'>
Also, reuse the same keys for Camellia instead of having duplicates.

ok jsing tb
</content>
</entry>
</feed>
