Go to file
Adam Langley 04c36b5062 Never set RC4_CHAR.
RC4_CHAR is a bit in the x86(-64) CPUID information that switches the
RC4 asm code from using an array of 256 uint32_t's to 256 uint8_t's. It
was originally written for the P4, where the uint8_t style was faster.

(On modern chips, setting RC4_CHAR took RC4-MD5 from 458 to 304 MB/s.
Although I wonder whether, on a server with many connections, using less
cache wouldn't be better.)

However, I'm not too worried about a slowdown of RC4 on P4 systems these
days (the last new P4 chip was released nine years ago) and I want the
code to be simplier.

Also, RC4_CHAR was set when the CPUID family was 15, but Intel actually
lists 15 as a special code meaning "also check the extended family
bits", which the asm didn't do.

The RC4_CHAR support remains in the RC4 asm code to avoid drift with
upstream.

Change-Id: If3febc925a83a76f453b9e9f8de5ee43759927c6
Reviewed-on: https://boringssl-review.googlesource.com/3550
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2015-02-20 23:59:59 +00:00
crypto Never set RC4_CHAR. 2015-02-20 23:59:59 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Never set RC4_CHAR. 2015-02-20 23:59:59 +00:00
ssl Add SSL_get_cipher_by_value. 2015-02-20 23:44:17 +00:00
tool Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
util Add support for Chromium's JSON test result format. 2015-02-17 23:37:12 +00:00
.clang-format Inital import. 2014-06-20 13:17:32 -07:00
.gitignore Add generated documentation to .gitignore 2015-01-26 18:37:55 +00:00
BUILDING Update BUILDING documentation regarding Go. 2015-02-13 00:21:28 +00:00
CMakeLists.txt Fix standalone build on Win64. 2015-02-11 23:13:52 +00:00
codereview.settings Add a codereview.settings file. 2014-11-18 22:21:33 +00:00
STYLE Style guide tweaks. 2015-02-19 18:33:20 +00:00