File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments