Skip to content

Commit cb4256a

Browse files
committed
Remove encrypt_buffer and decrypt_buffer functions from API
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.
1 parent 5ef6bf7 commit cb4256a

File tree

9 files changed

+1
-372
lines changed

9 files changed

+1
-372
lines changed

Cargo.lock

Lines changed: 0 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ members = [
3030
"rs-libc",
3131
"em-app",
3232
"em-app/examples/get-certificate/",
33-
"em-app/examples/harmonize/",
3433
]
3534
exclude = ["examples"]
3635

em-app/examples/harmonize/Cargo.toml

Lines changed: 0 additions & 22 deletions
This file was deleted.

em-app/examples/harmonize/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

em-app/examples/harmonize/certs/aws_s3.pem

Lines changed: 0 additions & 26 deletions
This file was deleted.

em-app/examples/harmonize/certs/em_ca_cert.pem

Lines changed: 0 additions & 26 deletions
This file was deleted.

em-app/examples/harmonize/src/main.rs

Lines changed: 0 additions & 179 deletions
This file was deleted.

em-app/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* This Source Code Form is subject to the terms of the Mozilla Public
44
* License, v. 2.0. If a copy of the MPL was not distributed with this
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6-
#[macro_use]
76
pub extern crate serde_derive;
87

98
pub mod mbedtls_hyper;

0 commit comments

Comments
 (0)