Make pso_compute_digital_signature() and internal_authenticate() public.

This commit is contained in:
Heiko Schaefer 2021-11-08 11:39:14 +01:00
parent 7bb2fcb497
commit 39e7eaa9cc
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -509,7 +509,7 @@ impl CardApp {
/// Run signing operation on the smartcard (low level operation)
/// (7.2.10 PSO: COMPUTE DIGITAL SIGNATURE)
fn pso_compute_digital_signature(
pub fn pso_compute_digital_signature(
&mut self,
data: Vec<u8>,
) -> Result<Vec<u8>, Error> {
@ -541,7 +541,7 @@ impl CardApp {
/// Run signing operation on the smartcard (low level operation)
/// (7.2.13 INTERNAL AUTHENTICATE)
fn internal_authenticate(
pub fn internal_authenticate(
&mut self,
data: Vec<u8>,
) -> Result<Vec<u8>, Error> {