[Pkg-openssl-devel] Bug#545670: openssl speed: "The 'numbers' are in 1000s of bytes" abiguous

Bernhard Kuemel bernhard at bksys.at
Tue Sep 8 10:15:38 UTC 2009


Package: openssl
Version: 0.9.8k-3
Severity: minor


bernhard at be:/data/home/bernhard$ openssl speed sha1
Doing sha1 for 3s on 16 size blocks: 2922068 sha1's in 2.84s
[...]
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
sha1             16035.45k    52527.68k   130759.17k   207166.84k   249277.10k

Does the above mean 16035.45k*1000 or 16035.45*1000? Doing the math 
reveals the latter is the case: 2922068*16/2.84=16,462,354.93.
I suggest writing something like "The suffixes used are metric (powers 
of 1000)." or "The k suffix below means 1000, not 1024." to avoid confusion.

Bernhard


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssl depends on:
ii  libc6                  2.9-12            GNU C Library: Shared libraries
ii  libssl0.9.8            0.9.8k-3          SSL shared libraries
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

openssl recommends no packages.

Versions of packages openssl suggests:
ii  ca-certificates               20090709   Common CA certificates

-- no debconf information





More information about the Pkg-openssl-devel mailing list