• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Decrypt empty buffer
2depends_on:MBEDTLS_CHACHA20_C
3dec_empty_buf:MBEDTLS_CIPHER_CHACHA20:0:0
4
5Chacha20 RFC 7539 Test Vector #1
6depends_on:MBEDTLS_CHACHA20_C
7decrypt_test_vec:MBEDTLS_CIPHER_CHACHA20:-1:"0000000000000000000000000000000000000000000000000000000000000000":"000000000000000000000000":"76b8e0ada0f13d90405d6ae55386bd28bdd219b8a08ded1aa836efcc8b770dc7da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"":"":0:0
8
9ChaCha20 Encrypt and decrypt 0 bytes
10depends_on:MBEDTLS_CHACHA20_C
11enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:0:-1
12
13ChaCha20 Encrypt and decrypt 1 bytes
14depends_on:MBEDTLS_CHACHA20_C
15enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:1:-1
16
17ChaCha20 Encrypt and decrypt 2 bytes
18depends_on:MBEDTLS_CHACHA20_C
19enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:2:-1
20
21ChaCha20 Encrypt and decrypt 7 bytes
22depends_on:MBEDTLS_CHACHA20_C
23enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:7:-1
24
25ChaCha20 Encrypt and decrypt 8 bytes
26depends_on:MBEDTLS_CHACHA20_C
27enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:8:-1
28
29ChaCha20 Encrypt and decrypt 9 bytes
30depends_on:MBEDTLS_CHACHA20_C
31enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:9:-1
32
33ChaCha20 Encrypt and decrypt 15 bytes
34depends_on:MBEDTLS_CHACHA20_C
35enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:15:-1
36
37ChaCha20 Encrypt and decrypt 16 bytes
38depends_on:MBEDTLS_CHACHA20_C
39enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:16:-1
40
41ChaCha20 Encrypt and decrypt 17 bytes
42depends_on:MBEDTLS_CHACHA20_C
43enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:17:-1
44
45ChaCha20 Encrypt and decrypt 31 bytes
46depends_on:MBEDTLS_CHACHA20_C
47enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:31:-1
48
49ChaCha20 Encrypt and decrypt 32 bytes
50depends_on:MBEDTLS_CHACHA20_C
51enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:32:-1
52
53ChaCha20 Encrypt and decrypt 33 bytes
54depends_on:MBEDTLS_CHACHA20_C
55enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:33:-1
56
57ChaCha20 Encrypt and decrypt 47 bytes
58depends_on:MBEDTLS_CHACHA20_C
59enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:47:-1
60
61ChaCha20 Encrypt and decrypt 48 bytes
62depends_on:MBEDTLS_CHACHA20_C
63enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:48:-1
64
65ChaCha20 Encrypt and decrypt 49 bytes
66depends_on:MBEDTLS_CHACHA20_C
67enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:49:-1
68
69ChaCha20 Encrypt and decrypt 0 bytes in multiple parts 1
70depends_on:MBEDTLS_CHACHA20_C
71enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:0:0:-1:0:0:0:0
72
73ChaCha20 Encrypt and decrypt 1 bytes in multiple parts 1
74depends_on:MBEDTLS_CHACHA20_C
75enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:1:0:-1:1:0:1:0
76
77ChaCha20 Encrypt and decrypt 1 bytes in multiple parts 2
78depends_on:MBEDTLS_CHACHA20_C
79enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:0:1:-1:0:1:0:1
80
81ChaCha20 Encrypt and decrypt 16 bytes in multiple parts 1
82depends_on:MBEDTLS_CHACHA20_C
83enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:16:0:-1:16:0:16:0
84
85ChaCha20 Encrypt and decrypt 16 bytes in multiple parts 2
86depends_on:MBEDTLS_CHACHA20_C
87enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:0:16:-1:0:16:0:16
88
89ChaCha20 Encrypt and decrypt 16 bytes in multiple parts 3
90depends_on:MBEDTLS_CHACHA20_C
91enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:1:15:-1:1:15:1:15
92
93ChaCha20 Encrypt and decrypt 16 bytes in multiple parts 4
94depends_on:MBEDTLS_CHACHA20_C
95enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:15:1:-1:15:1:15:1
96
97ChaCha20 Encrypt and decrypt 22 bytes in multiple parts 1
98depends_on:MBEDTLS_CHACHA20_C
99enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:15:7:-1:15:7:15:7
100
101ChaCha20 Encrypt and decrypt 22 bytes in multiple parts 2
102depends_on:MBEDTLS_CHACHA20_C
103enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:7:15:-1:7:15:7:15
104
105ChaCha20 Encrypt and decrypt 22 bytes in multiple parts 3
106depends_on:MBEDTLS_CHACHA20_C
107enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:16:6:-1:16:6:16:6
108
109ChaCha20 Encrypt and decrypt 22 bytes in multiple parts 4
110depends_on:MBEDTLS_CHACHA20_C
111enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:6:16:-1:6:16:6:16
112
113ChaCha20 Encrypt and decrypt 32 bytes in multiple parts
114depends_on:MBEDTLS_CHACHA20_C
115enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:16:16:-1:16:16:16:16
116
117ChaCha20 IV Length 0
118depends_on:MBEDTLS_CHACHA20_C
119iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":0:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
120
121ChaCha20 IV Length 11
122depends_on:MBEDTLS_CHACHA20_C
123iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":11:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
124
125ChaCha20 IV Length 12
126depends_on:MBEDTLS_CHACHA20_C
127iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":12:0
128
129ChaCha20 IV Length 13
130depends_on:MBEDTLS_CHACHA20_C
131iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":13:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
132
133ChaCha20 IV Length 16
134depends_on:MBEDTLS_CHACHA20_C
135iv_len_validity:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":16:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA
136