Page MenuHomeFreeBSD

D32860.id98098.diff
No OneTemporary

D32860.id98098.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
Wed, Jun 24, 1:23 AM (3 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34267355
Default Alt Text
D32860.id98098.diff (467 B)

Event Timeline