Fixed constness of ecc::private_key call