Skip to content
This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Commit 93c2023

Browse files
committed
Fixed rustdoc warnings (migration to pulldown, see 'rust-lang/rust#44229').
1 parent 9de0a83 commit 93c2023

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/aessafe.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,29 @@ of the AES algorithm. The types, `T`, each implement the `AesBitValueOps` trait,
101101
necessary for processing a collection or bit values and the `AesOps` trait relies heavily on this
102102
trait to perform its operations.
103103
104-
The `Bs4State` and `Bs2State` struct implement operations of various subfields of the full GF(2^8)
104+
The `Bs4State` and `Bs2State` struct implement operations of various subfields of the full GF(2<sup>8</sup>)
105105
finite field which allows for efficient computation of the AES S-Boxes. See [7] for details.
106106
107107
## References
108108
109109
[1] - "Cache-Collision Timing Attacks Against AES". Joseph Bonneau and Ilya Mironov.
110110
<http://www.jbonneau.com/doc/BM06-CHES-aes_cache_timing.pdf>
111+
111112
[2] - "Software mitigations to hedge AES against cache-based software side channel vulnerabilities".
112113
Ernie Brickell, et al. <http://eprint.iacr.org/2006/052.pdf>.
114+
113115
[3] - "Cache Attacks and Countermeasures: the Case of AES (Extended Version)".
114-
Dag Arne Osvik, et al. <tau.ac.il/~tromer/papers/cache.pdf>‎.
116+
Dag Arne Osvik, et al. <https://www.tau.ac.il/~tromer/papers/cache.pdf>‎.
117+
115118
[4] - "A Fast New DES Implementation in Software". Eli Biham.
116119
<http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.52.5429&rep=rep1&type=pdf>.
120+
117121
[5] - "Faster and Timing-Attack Resistant AES-GCM". Emilia K ̈asper and Peter Schwabe.
118122
<http://www.chesworkshop.org/ches2009/presentations/01_Session_1/CHES2009_ekasper.pdf>.
123+
119124
[6] - "FAST AES DECRYPTION". Vinit Azad.
120125
<http://webcache.googleusercontent.com/search?q=cache:ld_f8pSgURcJ:csusdspace.calstate.edu/bitstream/handle/10211.9/1224/Vinit_Azad_MS_Report.doc%3Fsequence%3D2+&cd=4&hl=en&ct=clnk&gl=us&client=ubuntu>.
126+
121127
[7] - "A Very Compact Rijndael S-box". D. Canright.
122128
<http://www.dtic.mil/cgi-bin/GetTRDoc?AD=ADA434781>.
123129
*/

src/pbkdf2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ pub fn pbkdf2<M: Mac>(mac: &mut M, salt: &[u8], c: u32, output: &mut [u8]) {
121121
* used and iteration count. The format is indicated as "rpbkdf2" which is short for "Rust PBKF2
122122
* format."
123123
*
124-
* $rpbkdf2$0$<base64(c)>$<base64(salt)>$<based64(hash)>$
124+
* $rpbkdf2$0$\<base64(c)>$\<base64(salt)>$\<based64(hash)>$
125125
*
126126
* # Arguments
127127
*

src/scrypt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ pub fn scrypt(password: &[u8], salt: &[u8], params: &ScryptParams, output: &mut
260260
* and p parameters are encoded using 4 bytes (format 1) is used. Both formats use a 128-bit salt
261261
* and a 256-bit hash. The format is indicated as "rscrypt" which is short for "Rust Scrypt format."
262262
*
263-
* $rscrypt$<format>$<base64(log_n,r,p)>$<base64(salt)>$<based64(hash)>$
263+
* $rscrypt$\<format>$\<base64(log_n,r,p)>$\<base64(salt)>$\<based64(hash)>$
264264
*
265265
* # Arguments
266266
*

0 commit comments

Comments
 (0)