-------------
Fix SHA hashing to remove race condition. This change
fixes the implementation by passing in the digest buffer.
-------------
The input to ProvisioningEngine::NewProvisioningSession should be
pkcs8 private key instead of pkcs1 private key
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=151273394
Change-Id: Ibcdff7757b2ac2878ee8b1b88365083964bfa10a
This is more track-able compared to Jenkins.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=146120190
Change-Id: Ie284e431ca1a777b19f64d5e6a7bb9a2c757779d