Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load X,Y public key into TPM with correct padding
big.Int.Bytes() will trim any leading zeros. But when passed to the TPM, the X,Y coordinates of an ECC point have to be properly left-padded to the ECC int size for that curve. Ensure the integer is padded properly.
- Loading branch information