Skip to content

Commit 507829f

Browse files
committed
v0.17.15
1 parent 7e41f03 commit 507829f

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### 0.17.15
2+
3+
**Date:** June 1, 2026.
4+
5+
**Changelog:**
6+
- Fix panic on zero `r` or `p` in `scrypt::derive_key` ([#622](https://github.com/orion-rs/orion/pull/622), credits: [@sashaphmn](https://github.com/sashaphmn)).
7+
18
### 0.17.14
29

310
**Date:** April 25, 2026.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "orion"
3-
version = "0.17.14"
3+
version = "0.17.15"
44
authors = ["brycx <brycx@protonmail.com>"]
55
description = "Usable, easy and safe pure-Rust crypto"
66
keywords = ["cryptography", "crypto", "aead", "pqc", "kem"]

src/hazardous/kdf/scrypt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
//! # Errors:
4949
//! An error will be returned if:
5050
//! - `n` is not larger than `1` or a power of `2`.
51+
//! - `r` or `p` is 0.
5152
//! - `r * p >=` [RP_MAX].
5253
//! - `r * 128 * p >=` [RP_BLK_MAX].
5354
//! - `r * 256 >=` [R_BLK_MAX].

0 commit comments

Comments
 (0)