We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae50d3 commit 23b0106Copy full SHA for 23b0106
library/core/src/hint.rs
@@ -320,6 +320,9 @@ pub fn spin_loop() {
320
/// This also means that this function does not offer any guarantees for cryptographic or security
321
/// purposes.
322
///
323
+/// This limitation is not specific to `black_box`; there is no mechanism in the entire Rust
324
+/// language that can provide the guarantees required for constant-time cryptography.
325
+///
326
/// </div>
327
328
/// [`std::convert::identity`]: crate::convert::identity
0 commit comments