test_suite_cipher.chacha20.data 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Chacha20 RFC 7539 Test Vector #1
  2. depends_on:MBEDTLS_CHACHA20_C
  3. decrypt_test_vec:MBEDTLS_CIPHER_CHACHA20:-1:"0000000000000000000000000000000000000000000000000000000000000000":"000000000000000000000000":"76b8e0ada0f13d90405d6ae55386bd28bdd219b8a08ded1aa836efcc8b770dc7da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"":"":0:0
  4. ChaCha20 Encrypt and decrypt 0 bytes
  5. depends_on:MBEDTLS_CHACHA20_C
  6. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:0:-1
  7. ChaCha20 Encrypt and decrypt 1 bytes
  8. depends_on:MBEDTLS_CHACHA20_C
  9. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:1:-1
  10. ChaCha20 Encrypt and decrypt 2 bytes
  11. depends_on:MBEDTLS_CHACHA20_C
  12. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:2:-1
  13. ChaCha20 Encrypt and decrypt 7 bytes
  14. depends_on:MBEDTLS_CHACHA20_C
  15. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:7:-1
  16. ChaCha20 Encrypt and decrypt 8 bytes
  17. depends_on:MBEDTLS_CHACHA20_C
  18. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:8:-1
  19. ChaCha20 Encrypt and decrypt 9 bytes
  20. depends_on:MBEDTLS_CHACHA20_C
  21. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:9:-1
  22. ChaCha20 Encrypt and decrypt 15 bytes
  23. depends_on:MBEDTLS_CHACHA20_C
  24. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:15:-1
  25. ChaCha20 Encrypt and decrypt 16 bytes
  26. depends_on:MBEDTLS_CHACHA20_C
  27. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:16:-1
  28. ChaCha20 Encrypt and decrypt 17 bytes
  29. depends_on:MBEDTLS_CHACHA20_C
  30. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:17:-1
  31. ChaCha20 Encrypt and decrypt 31 bytes
  32. depends_on:MBEDTLS_CHACHA20_C
  33. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:31:-1
  34. ChaCha20 Encrypt and decrypt 32 bytes
  35. depends_on:MBEDTLS_CHACHA20_C
  36. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:32:-1
  37. ChaCha20 Encrypt and decrypt 33 bytes
  38. depends_on:MBEDTLS_CHACHA20_C
  39. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:33:-1
  40. ChaCha20 Encrypt and decrypt 47 bytes
  41. depends_on:MBEDTLS_CHACHA20_C
  42. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:47:-1
  43. ChaCha20 Encrypt and decrypt 48 bytes
  44. depends_on:MBEDTLS_CHACHA20_C
  45. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:48:-1
  46. ChaCha20 Encrypt and decrypt 49 bytes
  47. depends_on:MBEDTLS_CHACHA20_C
  48. enc_dec_buf:MBEDTLS_CIPHER_CHACHA20:"CHACHA20":256:49:-1
  49. ChaCha20 Encrypt and decrypt 0 bytes in multiple parts 1
  50. depends_on:MBEDTLS_CHACHA20_C
  51. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:0:0:-1:0:0:0:0
  52. ChaCha20 Encrypt and decrypt 1 bytes in multiple parts 1
  53. depends_on:MBEDTLS_CHACHA20_C
  54. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:1:0:-1:1:0:1:0
  55. ChaCha20 Encrypt and decrypt 1 bytes in multiple parts 2
  56. depends_on:MBEDTLS_CHACHA20_C
  57. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:0:1:-1:0:1:0:1
  58. ChaCha20 Encrypt and decrypt 16 bytes in multiple parts 1
  59. depends_on:MBEDTLS_CHACHA20_C
  60. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:16:0:-1:16:0:16:0
  61. ChaCha20 Encrypt and decrypt 16 bytes in multiple parts 2
  62. depends_on:MBEDTLS_CHACHA20_C
  63. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:0:16:-1:0:16:0:16
  64. ChaCha20 Encrypt and decrypt 16 bytes in multiple parts 3
  65. depends_on:MBEDTLS_CHACHA20_C
  66. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:1:15:-1:1:15:1:15
  67. ChaCha20 Encrypt and decrypt 16 bytes in multiple parts 4
  68. depends_on:MBEDTLS_CHACHA20_C
  69. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:15:1:-1:15:1:15:1
  70. ChaCha20 Encrypt and decrypt 22 bytes in multiple parts 1
  71. depends_on:MBEDTLS_CHACHA20_C
  72. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:15:7:-1:15:7:15:7
  73. ChaCha20 Encrypt and decrypt 22 bytes in multiple parts 2
  74. depends_on:MBEDTLS_CHACHA20_C
  75. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:7:15:-1:7:15:7:15
  76. ChaCha20 Encrypt and decrypt 22 bytes in multiple parts 3
  77. depends_on:MBEDTLS_CHACHA20_C
  78. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:16:6:-1:16:6:16:6
  79. ChaCha20 Encrypt and decrypt 22 bytes in multiple parts 4
  80. depends_on:MBEDTLS_CHACHA20_C
  81. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:6:16:-1:6:16:6:16
  82. ChaCha20 Encrypt and decrypt 32 bytes in multiple parts
  83. depends_on:MBEDTLS_CHACHA20_C
  84. enc_dec_buf_multipart:MBEDTLS_CIPHER_CHACHA20:256:16:16:-1:16:16:16:16