Move parts from enterprise.platformKeysInternal to platformKeysInternal for reuse.
This moves the functions
- NormalizeAlgorithm from enterprise_platform_keys_natives to platform_keys_natives
- sign from enterprise.platformKeysInternal to platformKeysInternal .
Both will be reused by the new platformKeys API.
platformKeysInternal will then be extended about the internal selectClientCertificates function that is needed for platformKeys.
No functional changes.
TBR=arv@chromium.org
BUG=450167
NOPRESUBMIT=true
Review URL: https://codereview.chromium.org/
847333004
Cr-Commit-Position: refs/heads/master@{#313016}