8168714: Tighten ECDSA validation

Added additional checks to DER parsing code

Reviewed-by: vinnie, ahgross
7 files changed