apps/speed.c: fix ccm performance measurements.
authorPatrick Steuer <patrick.steuer@de.ibm.com>
Mon, 20 Feb 2017 16:49:36 +0000 (17:49 +0100)
committerPauli <paul.dale@oracle.com>
Mon, 9 Oct 2017 21:56:07 +0000 (07:56 +1000)
commitfe4f66d262819b8af1c459dbdcab87f0fe76a551
treefada6b09d2b6600cd509bb6af94bc06645926f29
parentd5961b22fb4c28cb8e9fdbbb01c4be53b9f6cc55
apps/speed.c: fix ccm performance measurements.

CCM does not support streaming: An additional call to (EVP_...)Update must
precede each call to Update to pass the total message length. The generic
Update_loop calls Update one time such that in case of CCM only the total
message length is passed. No encryption/decryption measured.

Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4480)
apps/speed.c