Page MenuHomeFreeBSD

D32860.1795491496.diff
No OneTemporary

Authored By
Unknown
Size
467 B
Referenced Files
None
Subscribers
None

D32860.1795491496.diff

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

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)

Event Timeline