Refactor some EC key parsing code
2 files changed