You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust
Shivani Bhardwaj cbb571a61c rust/base64: add decoder
Add a pure rust base64 decoder. This supports 3 modes of operation just
like the C decoder as follows.
1. RFC 2045
2. RFC 4648
3. Strict

One notable change is that "strict" mode is carried out by the rust
base64 crate instead of native Rust. This crate was already used for
encoding in a few places like datasets of string type. As a part of this
mode, now, only the strings that can be reliably converted back are
decoded.

The decoder fn is available to C via FFI.

Bug 6280
Ticket 7065
Ticket 7058
1 year ago
..
.cargo rust: rename .cargo/config to .cargo/config.toml 2 years ago
derive rust/derive: string enumeration become case insensitive 1 year ago
src rust/base64: add decoder 1 year ago
.gitignore rust: rename .cargo/config to .cargo/config.toml 2 years ago
Cargo.lock.in rust: pin serde version 1 year ago
Cargo.toml.in rust: pin serde version 1 year ago
Makefile.am rust/Makefile: cleanup "clean" targets 2 years ago
cbindgen.toml detect: helper to have pure rust keywords 1 year ago
rustfmt.toml rustfmt: replace deprecated fn_args_layout with fn_params_layout 2 years ago