SSL_CIPHER lookup functions.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 21 Apr 2015 14:48:02 +0000 (15:48 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2015 14:00:53 +0000 (15:00 +0100)
commit98c9ce2f55609d00a06c2106df03a5a7e9dbfa75
tree95c18933603dd8059c2442c279819d551464946c
parentb95de5ecdea29f0ac658b6ea86d0cd2d77efcb13
SSL_CIPHER lookup functions.

Add tables to convert between SSL_CIPHER fields and indices for ciphers
and MACs.

Reorganise ssl_ciph.c to use tables to lookup values and load them.

New functions SSL_CIPHER_get_cipher_nid and SSL_CIPHER_get_digest_nid.

Add documentation.

Reviewed-by: Rich Salz <rsalz@openssl.org>
doc/ssl/SSL_CIPHER_get_name.pod
include/openssl/ssl.h
ssl/ssl_ciph.c