Skip to content

Commit

Permalink
Remove encrypt_buffer and decrypt_buffer functions from API
Browse files Browse the repository at this point in the history
The `encrypt_buffer` and `decrypt_buffer` functions use the `rustc_serialize::from_hex` function, but it is not constant time and leads to secret dependent control flow. These functions shouldn't have been in the API in the first place, and are removed.
  • Loading branch information
raoulstrackx committed Jan 16, 2024
1 parent 5ef6bf7 commit cb4256a
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 372 deletions.
59 changes: 0 additions & 59 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ members = [
"rs-libc",
"em-app",
"em-app/examples/get-certificate/",
"em-app/examples/harmonize/",
]
exclude = ["examples"]

Expand Down
22 changes: 0 additions & 22 deletions em-app/examples/harmonize/Cargo.toml

This file was deleted.

5 changes: 0 additions & 5 deletions em-app/examples/harmonize/README.md

This file was deleted.

26 changes: 0 additions & 26 deletions em-app/examples/harmonize/certs/aws_s3.pem

This file was deleted.

26 changes: 0 additions & 26 deletions em-app/examples/harmonize/certs/em_ca_cert.pem

This file was deleted.

179 changes: 0 additions & 179 deletions em-app/examples/harmonize/src/main.rs

This file was deleted.

1 change: 0 additions & 1 deletion em-app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#[macro_use]
pub extern crate serde_derive;

pub mod mbedtls_hyper;
Expand Down
Loading

0 comments on commit cb4256a

Please sign in to comment.