File tree Expand file tree Collapse file tree
wrapper/rust/wolfssl-wolfcrypt/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ impl MlKem {
432432 /// public key and an RNG.
433433 ///
434434 /// The `ct` buffer must be exactly `cipher_text_size()` bytes.
435- /// The `ss` buffer must be exactly `shared_secret_size() ` bytes.
435+ /// The `ss` buffer must be exactly `SHARED_SECRET_SIZE ` bytes.
436436 ///
437437 /// # Parameters
438438 ///
@@ -566,7 +566,7 @@ impl MlKem {
566566 /// Decapsulate: recover the shared secret from a cipher text using this
567567 /// private key.
568568 ///
569- /// The `ss` buffer must be exactly `shared_secret_size() ` bytes.
569+ /// The `ss` buffer must be exactly `SHARED_SECRET_SIZE ` bytes.
570570 /// The `ct` length is validated against the expected cipher text size for
571571 /// the key type by the C library.
572572 ///
You can’t perform that action at this time.
0 commit comments