Skip to content

Commit d03fec8

Browse files
authored
Release v0.7.1
1 parent 9da4dd9 commit d03fec8

File tree

8 files changed

+28
-15
lines changed

8 files changed

+28
-15
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
github: mberry
2+
ko_fi: mberry
3+
tidelift: cargo/pqc_kyber

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
## 0.6.0 - 2023-4-18
1+
## 0.7.1 - 2023-8-23
2+
### Cosmetic
3+
- Enforce cargo fmt
4+
- Modify: Doc comments on functions for better DX
5+
- Remove: Redundant comments
6+
- Cleanup: function visibility
7+
8+
## 0.7.0 - 2023-8-15
29
- Handle RNG failure on embedded platforms
310
- Deterministic keypair derivation
411
- Public to private key conversion

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pqc_kyber"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = ["Mitchell Berry <[email protected]>"]
55
edition = "2018"
66
license = "MIT/Apache-2.0"

pkg/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Mitchell Berry <[email protected]>"
55
],
66
"description": "The post-quantum Kyber key exchange algorithm, written in rust and compiled to wasm",
7-
"version": "0.7.0",
7+
"version": "0.7.1",
88
"license": "MIT/Apache-2.0",
99
"repository": {
1010
"type": "git",

pkg/pqc_kyber_bg.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,14 @@ export function __wbindgen_error_new(arg0, arg1) {
505505
return addHeapObject(ret);
506506
};
507507

508+
export function __wbg_getRandomValues_37fa2ca9e4e07fab() { return handleError(function (arg0, arg1) {
509+
getObject(arg0).getRandomValues(getObject(arg1));
510+
}, arguments) };
511+
512+
export function __wbg_randomFillSync_dc1e9a60c158336d() { return handleError(function (arg0, arg1) {
513+
getObject(arg0).randomFillSync(takeObject(arg1));
514+
}, arguments) };
515+
508516
export function __wbg_crypto_c48a774b022d20ac(arg0) {
509517
const ret = getObject(arg0).crypto;
510518
return addHeapObject(ret);
@@ -556,14 +564,6 @@ export function __wbindgen_string_new(arg0, arg1) {
556564
return addHeapObject(ret);
557565
};
558566

559-
export function __wbg_getRandomValues_37fa2ca9e4e07fab() { return handleError(function (arg0, arg1) {
560-
getObject(arg0).getRandomValues(getObject(arg1));
561-
}, arguments) };
562-
563-
export function __wbg_randomFillSync_dc1e9a60c158336d() { return handleError(function (arg0, arg1) {
564-
getObject(arg0).randomFillSync(takeObject(arg1));
565-
}, arguments) };
566-
567567
export function __wbg_newnoargs_2b8b6bd7753c76ba(arg0, arg1) {
568568
const ret = new Function(getStringFromWasm0(arg0, arg1));
569569
return addHeapObject(ret);

pkg/pqc_kyber_bg.wasm

-1.49 KB
Binary file not shown.

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ If no security level is specified then kyber768 is used by default as recommende
136136

137137
```toml
138138
[dependencies]
139-
pqc_kyber = {version = "0.7.0", features = ["kyber512", "90s", "avx2"]}
139+
pqc_kyber = {version = "0.7.1", features = ["kyber512", "90s", "avx2"]}
140140
```
141141

142142

release.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,20 @@
66

77
3. Run tests and address sanitiser checks:
88
```bash
9-
export RUSTFLAGS="${RUSTFLAGS:-} -Z sanitizer=address -C target-cpu=native -C target-feature=+aes,+avx2,+sse2,+sse4.1,+bmi2,+popcnt";\
9+
export RUSTFLAGS="${RUSTFLAGS:-} -Z sanitizer=address -C target-cpu=native -C target-feature=+aes,+avx2,+sse2,+sse4.1,+bmi2,+popcnt";
1010
export RUSTDOCFLAGS="-Z sanitizer=address";
1111
rustup default nightly;
1212
KAT=1 AVX2=1 NASM=1 ./tests/run_all_tests.sh;
13+
unset RUSTFLAGS;
14+
unset RUSTDOCFLAGS;
15+
rustup default stable;
1316
```
1417

1518
4. Bump version in **Cargo.toml** and the features section of **readme.md**
1619

1720
5. Update **changelog.md**
1821

19-
6. `cargo +nightly fmt`
22+
6. `cargo fmt`
2023

2124
7. `wasm-pack build -- --features wasm`
2225

@@ -26,7 +29,7 @@
2629

2730
9. `git commit -a -m "release v0.0.0"`
2831

29-
10. `git tag v0.0.0`
32+
10. `git tag v0.0.0 -m "Version release"`
3033

3134
11. `git push origin v0.0.0`
3235

0 commit comments

Comments
 (0)