Minor edits to comments
This commit is contained in:
parent
8b5894e961
commit
17ee12566f
1 changed files with 4 additions and 4 deletions
|
@ -372,7 +372,7 @@ impl CardApp {
|
||||||
|
|
||||||
/// Decrypt the ciphertext in `dm`, on the card.
|
/// Decrypt the ciphertext in `dm`, on the card.
|
||||||
///
|
///
|
||||||
/// (This is a convenience wrapper around the low-level pso_decipher
|
/// (This is a wrapper around the low-level pso_decipher
|
||||||
/// operation, it builds the required `data` field from `dm`)
|
/// operation, it builds the required `data` field from `dm`)
|
||||||
pub fn decrypt(&mut self, dm: Cryptogram) -> Result<Vec<u8>, Error> {
|
pub fn decrypt(&mut self, dm: Cryptogram) -> Result<Vec<u8>, Error> {
|
||||||
match dm {
|
match dm {
|
||||||
|
@ -413,9 +413,9 @@ impl CardApp {
|
||||||
|
|
||||||
/// Sign `hash`, on the card.
|
/// Sign `hash`, on the card.
|
||||||
///
|
///
|
||||||
/// (This is a convenience wrapper around the low-level
|
/// (This is a wrapper around the low-level
|
||||||
/// pso_compute_digital_signature operation. It builds the required
|
/// pso_compute_digital_signature operation.
|
||||||
/// `data` field from `hash`)
|
/// It builds the required `data` field from `hash`)
|
||||||
pub fn signature_for_hash(
|
pub fn signature_for_hash(
|
||||||
&mut self,
|
&mut self,
|
||||||
hash: Hash,
|
hash: Hash,
|
||||||
|
|
Loading…
Reference in a new issue