Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
43bc846
Added ci.yml to run unit tests, but also check format, run clippy, an…
officialfrancismendoza Jul 15, 2026
27e2574
Added badges for new workflows and existing style workflow (#45)
officialfrancismendoza Jul 16, 2026
2a17ce2
Add initial rust-build.yml (#45)
officialfrancismendoza Jul 16, 2026
6116291
Add initial rust-docs.yml (#45)
officialfrancismendoza Jul 16, 2026
0bd460f
Add initial rust-test.yml (#45)
officialfrancismendoza Jul 16, 2026
1c888b9
Added workflow dispatch (#45)
officialfrancismendoza Jul 16, 2026
98d73f4
Initial add of ASCON boilerplate
officialfrancismendoza Jun 15, 2026
61645e7
Initial push, passes first test cases
officialfrancismendoza Jun 15, 2026
e4d513e
Updated to rebase off of main, post release/0.1.2alpha merge
officialfrancismendoza Jun 15, 2026
3cfbfe9
Greatly expanded testing suite, including mutant tests, with successf…
officialfrancismendoza Jun 16, 2026
b1d4972
Greatly expanded testing suite, including mutant tests, with successf…
officialfrancismendoza Jun 16, 2026
486569e
Added summary.md to comprehensively document changes within crate for…
officialfrancismendoza Jun 16, 2026
3118475
Fixed formatting for rustfmt
officialfrancismendoza Jun 16, 2026
8fec3c4
Changed testing for ASCON PR to utilize bc-test-data and wycheproof. …
officialfrancismendoza Jun 19, 2026
ce63f1c
Corrected formatting with rustfmt
officialfrancismendoza Jun 19, 2026
0f15f1f
ERROR. Resolved some further merge conflicts, but ran into errors res…
officialfrancismendoza Jul 20, 2026
d8f10c5
SUCCESS. Enormous refactor to use main Secret<T>, XOF::absorb made fa…
officialfrancismendoza Jul 20, 2026
4526aed
SUCCESS. Enormous refactor to use main Secret<T>, XOF::absorb made fa…
officialfrancismendoza Jul 20, 2026
6d60f6d
Update all crates inherit version from version.workspace
tad-fr Jul 24, 2026
296a874
Deduplicate internal dependencies version in core cargo.toml
tad-fr Jul 24, 2026
096796d
Stop tracking .claude/*
officialfrancismendoza Jul 27, 2026
366363c
tweaks to centralized versioning
ounsworth Jul 28, 2026
43e2536
rustfmt
ounsworth Jul 28, 2026
b9aa184
Merge PR #62
ounsworth Jul 28, 2026
e4bf0b8
Merge branch 'feature/officialfrancismendoza/45-github-action-unit-te…
ounsworth Jul 29, 2026
eadea3a
Merge PR #59: run unit tests on github PR
ounsworth Jul 29, 2026
7c967d2
Merge branch 'release/0.1.3alpha` into 'feature/officialfrancismendoz…
ounsworth Jul 29, 2026
daa12ec
tweaks
ounsworth Jul 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Rust Build

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

env:
CARGO_TERM_COLOR: always

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Build workspace
run: cargo build --workspace --all-targets --all-features
26 changes: 26 additions & 0 deletions .github/workflows/rust-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Rust Docs

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

env:
CARGO_TERM_COLOR: always

jobs:
docs:
name: Documentation
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Build documentation
run: cargo doc --all
26 changes: 26 additions & 0 deletions .github/workflows/rust-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Rust Tests

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

env:
CARGO_TERM_COLOR: always

jobs:
test:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Run tests
run: cargo test --all
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ mutants.out*/

.idea/
.vscode/

.claude/*
39 changes: 21 additions & 18 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,28 @@ members = ["cli", "crypto/*", "mem_usage_benches"]

[workspace.package]
edition = "2024"
version = "0.1.3"

[workspace.dependencies]

# *** Internal Dependencies ***
bouncycastle = { path = "./", version = "0.1.2" }
bouncycastle-base64 = { path = "./crypto/base64", version = "0.1.2" }
bouncycastle-core = { path = "crypto/core", version = "0.1.2" }
bouncycastle-core-test-framework = { path = "./crypto/core-test-framework", version = "0.1.2" }
bouncycastle-factory = { path = "./crypto/factory", version = "0.1.2" }
bouncycastle-hex = { path = "./crypto/hex", version = "0.1.2" }
bouncycastle-hkdf = { path = "./crypto/hkdf", version = "0.1.2" }
bouncycastle-hmac = { path = "./crypto/hmac", version = "0.1.2" }
bouncycastle-mlkem = { path = "./crypto/mlkem", version = "0.1.2" }
bouncycastle-mlkem-lowmemory = { path = "./crypto/mlkem-lowmemory", version = "0.1.2" }
bouncycastle-mldsa = { path = "./crypto/mldsa", version = "0.1.2" }
bouncycastle-mldsa-lowmemory = { path = "./crypto/mldsa-lowmemory", version = "0.1.2" }
bouncycastle-rng = { path = "./crypto/rng", version = "0.1.2" }
bouncycastle-sha2 = { path = "./crypto/sha2", version = "0.1.2" }
bouncycastle-sha3 = { path = "./crypto/sha3", version = "0.1.2" }
bouncycastle-utils = { path = "./crypto/utils", version = "0.1.2" }
bouncycastle = { path = "./" }
bouncycastle-ascon = { path = "./crypto/ascon" }
bouncycastle-base64 = { path = "./crypto/base64" }
bouncycastle-core = { path = "crypto/core" }
bouncycastle-core-test-framework = { path = "./crypto/core-test-framework" }
bouncycastle-factory = { path = "./crypto/factory" }
bouncycastle-hex = { path = "./crypto/hex" }
bouncycastle-hkdf = { path = "./crypto/hkdf" }
bouncycastle-hmac = { path = "./crypto/hmac" }
bouncycastle-mlkem = { path = "./crypto/mlkem" }
bouncycastle-mlkem-lowmemory = { path = "./crypto/mlkem-lowmemory" }
bouncycastle-mldsa = { path = "./crypto/mldsa" }
bouncycastle-mldsa-lowmemory = { path = "./crypto/mldsa-lowmemory" }
bouncycastle-rng = { path = "./crypto/rng" }
bouncycastle-sha2 = { path = "./crypto/sha2" }
bouncycastle-sha3 = { path = "./crypto/sha3" }
bouncycastle-utils = { path = "./crypto/utils" }


# *** External Dependencies ***
Expand All @@ -36,10 +38,11 @@ strip = "debuginfo"
# libbouncycastle
[package]
name = "bouncycastle"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
bouncycastle-ascon.workspace = true
bouncycastle-base64.workspace = true
bouncycastle-core.workspace = true
bouncycastle-factory.workspace = true
Expand All @@ -52,4 +55,4 @@ bouncycastle-mlkem.workspace = true
bouncycastle-mlkem-lowmemory.workspace = true
bouncycastle-rng.workspace = true
bouncycastle-sha2.workspace = true
bouncycastle-sha3.workspace = true
bouncycastle-sha3.workspace = true
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# The Bouncy Castle Crypto Package For Rust

[![Rust Style](https://github.com/bcgit/bc-rust/actions/workflows/rust-style.yml/badge.svg)](https://github.com/bcgit/bc-rust/actions/workflows/rust-style.yml)
[![Rust Build](https://github.com/bcgit/bc-rust/actions/workflows/rust-build.yml/badge.svg)](https://github.com/bcgit/bc-rust/actions/workflows/rust-build.yml)
[![Rust Tests](https://github.com/bcgit/bc-rust/actions/workflows/rust-test.yml/badge.svg)](https://github.com/bcgit/bc-rust/actions/workflows/rust-test.yml)
[![Rust Docs](https://github.com/bcgit/bc-rust/actions/workflows/rust-docs.yml/badge.svg)](https://github.com/bcgit/bc-rust/actions/workflows/rust-docs.yml)

> [!WARNING]
> This package is currently in ALPHA, meaning that it is not complete or production-ready and will be evolving rapidly over the coming months.
> We are releasing only a small set of cryptographic algorithms in order to get feedback from the community on the API and build structure.
Expand Down
60 changes: 0 additions & 60 deletions alpha_0.1.2_release_notes.md

This file was deleted.

5 changes: 5 additions & 0 deletions alpha_0.1.3_release_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 0.1.3 Features / Changelog

## Major features

## Minor features / bug fixes
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli"
version = "0.1.2"
version.workspace = true
edition.workspace = true

[dependencies]
Expand All @@ -10,4 +10,4 @@ bouncycastle.workspace = true

[[bin]]
name = "bc-rust"
path = "src/main.rs"
path = "src/main.rs"
Loading
Loading