Merge pull request #3669 from shelib01/ec_key_gen_optimization

replace user rand by platform rand in ecc delays