Add functions returning security bits.

Add functions to return the "bits of security" for various public key
algorithms. Based on SP800-57.
18 files changed