Page MenuHomeFreeBSD

D32860.diff
No OneTemporary

D32860.diff

diff --git a/sys/opencrypto/xform_chacha20_poly1305.c b/sys/opencrypto/xform_chacha20_poly1305.c
--- a/sys/opencrypto/xform_chacha20_poly1305.c
+++ b/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
Mon, Jan 13, 12:13 AM (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15760745
Default Alt Text
D32860.diff (453 B)

Event Timeline