File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
backend/vector/scalar_mul Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ pub mod spec {
43
43
/// method. See the `Straus` struct in the serial backend for more
44
44
/// details.
45
45
///
46
- /// This exists as a seperate implementation from that one because the
46
+ /// This exists as a separate implementation from that one because the
47
47
/// AVX2 code uses different curve models (it does not pass between
48
48
/// multiple models during scalar mul), and it has to convert the
49
49
/// point representation on the fly.
Original file line number Diff line number Diff line change 4
4
#[ cfg( curve25519_dalek_backend = "auto" ) ]
5
5
compile_error ! ( "curve25519_dalek_backend is 'auto'" ) ;
6
6
7
- // fiat was overriden
7
+ // fiat was overridden
8
8
#[ cfg( curve25519_dalek_backend = "fiat" ) ]
9
9
compile_error ! ( "curve25519_dalek_backend is 'fiat'" ) ;
10
10
11
- // serial was assumed or overriden
11
+ // serial was assumed or overridden
12
12
#[ cfg( curve25519_dalek_backend = "serial" ) ]
13
13
compile_error ! ( "curve25519_dalek_backend is 'serial'" ) ;
14
14
15
- // simd was assumed over overriden
15
+ // simd was assumed over overridden
16
16
#[ cfg( curve25519_dalek_backend = "simd" ) ]
17
17
compile_error ! ( "curve25519_dalek_backend is 'simd'" ) ;
18
18
19
- // 32 bits target_pointer_width was assumed or overriden
19
+ // 32 bits target_pointer_width was assumed or overridden
20
20
#[ cfg( curve25519_dalek_bits = "32" ) ]
21
21
compile_error ! ( "curve25519_dalek_bits is '32'" ) ;
22
22
23
- // 64 bits target_pointer_width was assumed or overriden
23
+ // 64 bits target_pointer_width was assumed or overridden
24
24
#[ cfg( curve25519_dalek_bits = "64" ) ]
25
25
compile_error ! ( "curve25519_dalek_bits is '64'" ) ;
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ match_and_report "curve25519_dalek_bits is '32'" "$OUT"
55
55
cargo clean
56
56
OUT=build_5_1.txt
57
57
env RUSTFLAGS=" --cfg curve25519_dalek_diagnostics=\" build\" --cfg curve25519_dalek_backend=\" simd\" " cargo build --target wasm32-unknown-unknown > " $OUT " 2>&1
58
- # This overide must fail the compilation since "simd" is not available
58
+ # This override must fail the compilation since "simd" is not available
59
59
# See: issues/532
60
60
match_and_report " Could not override curve25519_dalek_backend to simd" " $OUT "
61
61
You can’t perform that action at this time.
0 commit comments