Skip to content

Commit a2d878d

Browse files
formatting fixes
Signed-off-by: artur.kazimierski <[email protected]>
1 parent 448e29c commit a2d878d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/core/basic_client.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,10 +1227,10 @@ impl BasicClient {
12271227
}
12281228

12291229
/// **[Cryptographic Operation]** Encrypt a short message with a symmetric cipher.
1230-
///
1230+
///
12311231
/// The key intended for decrypting **must** have its `encrypt` flag set
12321232
/// to `true` in its [key policy](https://docs.rs/parsec-interface/*/parsec_interface/operations/psa_key_attributes/struct.Policy.html).
1233-
///
1233+
///
12341234
/// This function will encrypt a short message with a random initialisation vector (IV).
12351235
pub fn psa_cipher_encrypt(
12361236
&self,
@@ -1262,12 +1262,12 @@ impl BasicClient {
12621262
}
12631263

12641264
/// **[Cryptographic Operation]** Decrypt a short message with a symmetric cipher.
1265-
///
1265+
///
12661266
/// The key intended for decrypting **must** have its `decrypt` flag set
12671267
/// to `true` in its [key policy](https://docs.rs/parsec-interface/*/parsec_interface/operations/psa_key_attributes/struct.Policy.html).
1268-
///
1268+
///
12691269
/// `ciphertext` must be the IV followed by the ciphertext.
1270-
///
1270+
///
12711271
/// This function will decrypt a short message using the provided initialisation vector (IV).
12721272
pub fn psa_cipher_decrypt(
12731273
&self,

0 commit comments

Comments
 (0)