Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177876278
D32860.1795491496.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
467 B
Referenced Files
None
Subscribers
None
D32860.1795491496.diff
View Options
Index: sys/opencrypto/xform_chacha20_poly1305.c
===================================================================
--- sys/opencrypto/xform_chacha20_poly1305.c
+++ sys/opencrypto/xform_chacha20_poly1305.c
@@ -55,7 +55,7 @@
{
struct chacha20_poly1305_cipher_ctx *ctx = vctx;
- KASSERT(ivlen == sizeof(ctx->nonce),
+ KASSERT(ivlen == 8 || ivlen == sizeof(ctx->nonce),
("%s: invalid nonce length", __func__));
/* Block 0 is used for the poly1305 key. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 24, 3:38 AM (16 h, 15 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41946439
Default Alt Text
D32860.1795491496.diff (467 B)
Attached To
Mode
D32860: crypto: Don't assert on valid IV length for Chacha20-Poly1305.
Attached
Detach File
Event Timeline