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 {
1227
1227
}
1228
1228
1229
1229
/// **[Cryptographic Operation]** Encrypt a short message with a symmetric cipher.
1230
- ///
1230
+ ///
1231
1231
/// The key intended for decrypting **must** have its `encrypt` flag set
1232
1232
/// to `true` in its [key policy](https://docs.rs/parsec-interface/*/parsec_interface/operations/psa_key_attributes/struct.Policy.html).
1233
- ///
1233
+ ///
1234
1234
/// This function will encrypt a short message with a random initialisation vector (IV).
1235
1235
pub fn psa_cipher_encrypt (
1236
1236
& self ,
@@ -1262,12 +1262,12 @@ impl BasicClient {
1262
1262
}
1263
1263
1264
1264
/// **[Cryptographic Operation]** Decrypt a short message with a symmetric cipher.
1265
- ///
1265
+ ///
1266
1266
/// The key intended for decrypting **must** have its `decrypt` flag set
1267
1267
/// to `true` in its [key policy](https://docs.rs/parsec-interface/*/parsec_interface/operations/psa_key_attributes/struct.Policy.html).
1268
- ///
1268
+ ///
1269
1269
/// `ciphertext` must be the IV followed by the ciphertext.
1270
- ///
1270
+ ///
1271
1271
/// This function will decrypt a short message using the provided initialisation vector (IV).
1272
1272
pub fn psa_cipher_decrypt (
1273
1273
& self ,
You can’t perform that action at this time.
0 commit comments