Skip to content

Commit 9c50689

Browse files
Rust wrapper: add doc comment for MAX_E_LEN
1 parent d5957e6 commit 9c50689

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wrapper/rust/wolfssl-wolfcrypt/src/rsa_pkcs1v15.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ impl<H: Hash, const N: usize> SignerMut<Signature<N>> for SigningKey<H, N> {
196196
}
197197
}
198198

199+
/// Maximum number of bytes that the E exponent can use. An error is returned
200+
/// if longer exponent byte arrays are provided.
199201
const MAX_E_LEN: usize = 8;
200202

201203
/// RSA PKCS#1 v1.5 verifying key.

0 commit comments

Comments
 (0)