Skip to content

Commit

Permalink
rust: Annotates literals with their type.
Browse files Browse the repository at this point in the history
Cargo clippy reports unnecessary literal casting, instead
do annotate every literal with its type. This change does not
affect any static cast.

Extracted rust files are updated.

[1] https://rust-lang.github.io/rust-clippy/master/index.html#/unnecessary_cast
  • Loading branch information
armfazh committed Oct 1, 2023
1 parent 08c339c commit 1a2f5b7
Show file tree
Hide file tree
Showing 29 changed files with 11,398 additions and 11,399 deletions.
472 changes: 236 additions & 236 deletions fiat-rust/src/curve25519_32.rs

Large diffs are not rendered by default.

230 changes: 115 additions & 115 deletions fiat-rust/src/curve25519_64.rs

Large diffs are not rendered by default.

1,340 changes: 670 additions & 670 deletions fiat-rust/src/curve25519_scalar_32.rs

Large diffs are not rendered by default.

548 changes: 274 additions & 274 deletions fiat-rust/src/curve25519_scalar_64.rs

Large diffs are not rendered by default.

98 changes: 49 additions & 49 deletions fiat-rust/src/curve25519_solinas_64.rs

Large diffs are not rendered by default.

1,054 changes: 527 additions & 527 deletions fiat-rust/src/p224_32.rs

Large diffs are not rendered by default.

542 changes: 271 additions & 271 deletions fiat-rust/src/p224_64.rs

Large diffs are not rendered by default.

1,198 changes: 599 additions & 599 deletions fiat-rust/src/p256_32.rs

Large diffs are not rendered by default.

516 changes: 258 additions & 258 deletions fiat-rust/src/p256_64.rs

Large diffs are not rendered by default.

1,376 changes: 688 additions & 688 deletions fiat-rust/src/p256_scalar_32.rs

Large diffs are not rendered by default.

582 changes: 291 additions & 291 deletions fiat-rust/src/p256_scalar_64.rs

Large diffs are not rendered by default.

2,312 changes: 1,156 additions & 1,156 deletions fiat-rust/src/p384_32.rs

Large diffs are not rendered by default.

972 changes: 486 additions & 486 deletions fiat-rust/src/p384_64.rs

Large diffs are not rendered by default.

2,704 changes: 1,352 additions & 1,352 deletions fiat-rust/src/p384_scalar_32.rs

Large diffs are not rendered by default.

994 changes: 497 additions & 497 deletions fiat-rust/src/p384_scalar_64.rs

Large diffs are not rendered by default.

1,172 changes: 586 additions & 586 deletions fiat-rust/src/p434_64.rs

Large diffs are not rendered by default.

428 changes: 214 additions & 214 deletions fiat-rust/src/p448_solinas_32.rs

Large diffs are not rendered by default.

268 changes: 134 additions & 134 deletions fiat-rust/src/p448_solinas_64.rs

Large diffs are not rendered by default.

1,034 changes: 517 additions & 517 deletions fiat-rust/src/p521_32.rs

Large diffs are not rendered by default.

428 changes: 214 additions & 214 deletions fiat-rust/src/p521_64.rs

Large diffs are not rendered by default.

168 changes: 84 additions & 84 deletions fiat-rust/src/poly1305_32.rs

Large diffs are not rendered by default.

132 changes: 66 additions & 66 deletions fiat-rust/src/poly1305_64.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1a2f5b7

Please sign in to comment.