mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
125 lines
6.8 KiB
Text
125 lines
6.8 KiB
Text
|
Decrypt empty buffer
|
||
|
depends_on:0
|
||
|
6:exp:0:int:0:int:0
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 0 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:0:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 1 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:1:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 2 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:2:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 7 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:7:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 8 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:8:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 9 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:9:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 15 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:15:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 16 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:16:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 17 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:17:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 31 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:31:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 32 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:32:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 33 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:33:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 47 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:47:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 48 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:48:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 49 bytes
|
||
|
depends_on:0
|
||
|
4:exp:0:char*:"CHACHA20-POLY1305":int:256:int:49:exp:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 0 bytes in multiple parts 1
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:0:int:0:exp:1:int:0:int:0:int:0:int:0
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 1 bytes in multiple parts 1
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:1:int:0:exp:1:int:1:int:0:int:1:int:0
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 1 bytes in multiple parts 2
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:0:int:1:exp:1:int:0:int:1:int:0:int:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 16 bytes in multiple parts 1
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:16:int:0:exp:1:int:16:int:0:int:16:int:0
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 16 bytes in multiple parts 2
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:0:int:16:exp:1:int:0:int:16:int:0:int:16
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 16 bytes in multiple parts 3
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:1:int:15:exp:1:int:1:int:15:int:1:int:15
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 16 bytes in multiple parts 4
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:15:int:1:exp:1:int:15:int:1:int:15:int:1
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 22 bytes in multiple parts 1
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:15:int:7:exp:1:int:15:int:7:int:15:int:7
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 22 bytes in multiple parts 2
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:7:int:15:exp:1:int:7:int:15:int:7:int:15
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 22 bytes in multiple parts 3
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:16:int:6:exp:1:int:16:int:6:int:16:int:6
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 22 bytes in multiple parts 4
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:6:int:16:exp:1:int:6:int:16:int:6:int:16
|
||
|
|
||
|
ChaCha20+Poly1305 Encrypt and decrypt 32 bytes in multiple parts
|
||
|
depends_on:0
|
||
|
7:exp:0:int:256:int:16:int:16:exp:1:int:16:int:16:int:16:int:16
|
||
|
|
||
|
ChaCha20+Poly1305 RFC 7539 Test Vector #1
|
||
|
depends_on:0
|
||
|
9:exp:0:hex:"1c9240a5eb55d38af333888604f6b5f0473917c1402b80099dca5cbc207075c0":hex:"000000000102030405060708":hex:"f33388860000000000004e91":hex:"64a0861575861af460f062c79be643bd5e805cfd345cf389f108670ac76c8cb24c6cfc18755d43eea09ee94e382d26b0bdb7b73c321b0100d4f03b7f355894cf332f830e710b97ce98c8a84abd0b948114ad176e008d33bd60f982b1ff37c8559797a06ef4f0ef61c186324e2b3506383606907b6a7c02b0f9f6157b53c867e4b9166c767b804d46a59b5216cde7a4e99040c5a40433225ee282a1b0a06c523eaf4534d7f83fa1155b0047718cbc546a0d072b04b3564eea1b422273f548271a0bb2316053fa76991955ebd63159434ecebb4e466dae5a1073a6727627097a1049e617d91d361094fa68f0ff77987130305beaba2eda04df997b714d6c6f2c29a6ad5cb4022b02709b":hex:"eead9d67890cbb22392336fea1851f38":char*:"":hex:"496e7465726e65742d4472616674732061726520647261667420646f63756d656e74732076616c696420666f722061206d6178696d756d206f6620736978206d6f6e74687320616e64206d617920626520757064617465642c207265706c616365642c206f72206f62736f6c65746564206279206f7468657220646f63756d656e747320617420616e792074696d652e20497420697320696e617070726f70726961746520746f2075736520496e7465726e65742d447261667473206173207265666572656e6365206d6174657269616c206f7220746f2063697465207468656d206f74686572207468616e206173202fe2809c776f726b20696e2070726f67726573732e2fe2809d":int:0
|
||
|
|
||
|
ChaCha20+Poly1305 RFC 7539 Test Vector #1 Unauthentic (1st bit flipped)
|
||
|
depends_on:0
|
||
|
9:exp:0:hex:"1c9240a5eb55d38af333888604f6b5f0473917c1402b80099dca5cbc207075c0":hex:"000000000102030405060708":hex:"f33388860000000000004e91":hex:"64a0861575861af460f062c79be643bd5e805cfd345cf389f108670ac76c8cb24c6cfc18755d43eea09ee94e382d26b0bdb7b73c321b0100d4f03b7f355894cf332f830e710b97ce98c8a84abd0b948114ad176e008d33bd60f982b1ff37c8559797a06ef4f0ef61c186324e2b3506383606907b6a7c02b0f9f6157b53c867e4b9166c767b804d46a59b5216cde7a4e99040c5a40433225ee282a1b0a06c523eaf4534d7f83fa1155b0047718cbc546a0d072b04b3564eea1b422273f548271a0bb2316053fa76991955ebd63159434ecebb4e466dae5a1073a6727627097a1049e617d91d361094fa68f0ff77987130305beaba2eda04df997b714d6c6f2c29a6ad5cb4022b02709b":hex:"6ead9d67890cbb22392336fea1851f38":char*:"FAIL":hex:"":int:0
|
||
|
|
||
|
Chacha20+Poly1305 RFC 7539 Test Vector #1 (streaming)
|
||
|
depends_on:0
|
||
|
8:exp:0:exp:1:hex:"1c9240a5eb55d38af333888604f6b5f0473917c1402b80099dca5cbc207075c0":hex:"000000000102030405060708":hex:"64a0861575861af460f062c79be643bd5e805cfd345cf389f108670ac76c8cb24c6cfc18755d43eea09ee94e382d26b0bdb7b73c321b0100d4f03b7f355894cf332f830e710b97ce98c8a84abd0b948114ad176e008d33bd60f982b1ff37c8559797a06ef4f0ef61c186324e2b3506383606907b6a7c02b0f9f6157b53c867e4b9166c767b804d46a59b5216cde7a4e99040c5a40433225ee282a1b0a06c523eaf4534d7f83fa1155b0047718cbc546a0d072b04b3564eea1b422273f548271a0bb2316053fa76991955ebd63159434ecebb4e466dae5a1073a6727627097a1049e617d91d361094fa68f0ff77987130305beaba2eda04df997b714d6c6f2c29a6ad5cb4022b02709b":hex:"496e7465726e65742d4472616674732061726520647261667420646f63756d656e74732076616c696420666f722061206d6178696d756d206f6620736978206d6f6e74687320616e64206d617920626520757064617465642c207265706c616365642c206f72206f62736f6c65746564206279206f7468657220646f63756d656e747320617420616e792074696d652e20497420697320696e617070726f70726961746520746f2075736520496e7465726e65742d447261667473206173207265666572656e6365206d6174657269616c206f7220746f2063697465207468656d206f74686572207468616e206173202fe2809c776f726b20696e2070726f67726573732e2fe2809d":hex:"f33388860000000000004e91":hex:"eead9d67890cbb22392336fea1851f38":int:0:int:0
|
||
|
|