aws-crt 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (581) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/VERSION +1 -1
  4. data/aws-crt-ffi/crt/aws-c-auth/include/aws/auth/auth.h +1 -0
  5. data/aws-crt-ffi/crt/aws-c-auth/include/aws/auth/aws_imds_client.h +5 -0
  6. data/aws-crt-ffi/crt/aws-c-auth/include/aws/auth/credentials.h +5 -0
  7. data/aws-crt-ffi/crt/aws-c-auth/include/aws/auth/private/aws_signing.h +1 -0
  8. data/aws-crt-ffi/crt/aws-c-auth/include/aws/auth/private/credentials_utils.h +2 -0
  9. data/aws-crt-ffi/crt/aws-c-auth/include/aws/auth/signing_config.h +1 -0
  10. data/aws-crt-ffi/crt/aws-c-auth/source/auth.c +3 -1
  11. data/aws-crt-ffi/crt/aws-c-auth/source/aws_imds_client.c +146 -63
  12. data/aws-crt-ffi/crt/aws-c-auth/source/aws_signing.c +41 -19
  13. data/aws-crt-ffi/crt/aws-c-auth/source/credentials_provider_imds.c +1 -0
  14. data/aws-crt-ffi/crt/aws-c-auth/source/credentials_utils.c +1 -0
  15. data/aws-crt-ffi/crt/aws-c-auth/source/signable_http_request.c +2 -1
  16. data/aws-crt-ffi/crt/aws-c-auth/source/signing_config.c +25 -0
  17. data/aws-crt-ffi/crt/aws-c-auth/tests/CMakeLists.txt +3 -0
  18. data/aws-crt-ffi/crt/aws-c-auth/tests/aws_imds_client_test.c +197 -31
  19. data/aws-crt-ffi/crt/aws-c-auth/tests/credentials_provider_imds_tests.c +16 -18
  20. data/aws-crt-ffi/crt/aws-c-auth/tests/sigv4_signing_tests.c +3 -1
  21. data/aws-crt-ffi/crt/aws-c-cal/include/aws/cal/private/opensslcrypto_common.h +22 -0
  22. data/aws-crt-ffi/crt/aws-c-cal/source/darwin/commoncrypto_aes.c +46 -17
  23. data/aws-crt-ffi/crt/aws-c-cal/source/unix/openssl_aes.c +1 -0
  24. data/aws-crt-ffi/crt/aws-c-cal/source/unix/openssl_platform_init.c +7 -0
  25. data/aws-crt-ffi/crt/aws-c-cal/source/unix/openssl_rsa.c +59 -2
  26. data/aws-crt-ffi/crt/aws-c-cal/source/unix/opensslcrypto_ecc.c +1 -0
  27. data/aws-crt-ffi/crt/aws-c-common/CMakeLists.txt +13 -1
  28. data/aws-crt-ffi/crt/aws-c-common/THIRD-PARTY-LICENSES.txt +28 -7
  29. data/aws-crt-ffi/crt/aws-c-common/bin/system_info/CMakeLists.txt +18 -0
  30. data/aws-crt-ffi/crt/aws-c-common/bin/system_info/print_system_info.c +48 -0
  31. data/aws-crt-ffi/crt/aws-c-common/include/aws/common/allocator.h +23 -0
  32. data/aws-crt-ffi/crt/aws-c-common/include/aws/common/byte_buf.h +12 -0
  33. data/aws-crt-ffi/crt/aws-c-common/include/aws/common/cross_process_lock.h +35 -0
  34. data/aws-crt-ffi/crt/aws-c-common/include/aws/common/hash_table.h +1 -0
  35. data/aws-crt-ffi/crt/aws-c-common/include/aws/common/priority_queue.h +24 -0
  36. data/aws-crt-ffi/crt/aws-c-common/include/aws/common/private/system_info_priv.h +37 -0
  37. data/aws-crt-ffi/crt/aws-c-common/include/aws/common/system_info.h +47 -0
  38. data/aws-crt-ffi/crt/aws-c-common/include/aws/common/system_resource_util.h +30 -0
  39. data/aws-crt-ffi/crt/aws-c-common/include/aws/testing/aws_test_harness.h +3 -2
  40. data/aws-crt-ffi/crt/aws-c-common/source/allocator.c +64 -13
  41. data/aws-crt-ffi/crt/aws-c-common/source/android/logging.c +14 -0
  42. data/aws-crt-ffi/crt/aws-c-common/source/common.c +3 -3
  43. data/aws-crt-ffi/crt/aws-c-common/source/file.c +96 -35
  44. data/aws-crt-ffi/crt/aws-c-common/source/linux/system_info.c +24 -0
  45. data/aws-crt-ffi/crt/aws-c-common/source/memtrace.c +10 -3
  46. data/aws-crt-ffi/crt/aws-c-common/source/platform_fallback_stubs/system_info.c +21 -0
  47. data/aws-crt-ffi/crt/aws-c-common/source/posix/cross_process_lock.c +141 -0
  48. data/aws-crt-ffi/crt/aws-c-common/source/posix/system_info.c +1 -1
  49. data/aws-crt-ffi/crt/aws-c-common/source/posix/system_resource_utils.c +32 -0
  50. data/aws-crt-ffi/crt/aws-c-common/source/priority_queue.c +24 -0
  51. data/aws-crt-ffi/crt/aws-c-common/source/system_info.c +80 -0
  52. data/aws-crt-ffi/crt/aws-c-common/source/task_scheduler.c +2 -2
  53. data/aws-crt-ffi/crt/aws-c-common/source/windows/cross_process_lock.c +93 -0
  54. data/aws-crt-ffi/crt/aws-c-common/source/windows/system_resource_utils.c +31 -0
  55. data/aws-crt-ffi/crt/aws-c-common/tests/CMakeLists.txt +16 -0
  56. data/aws-crt-ffi/crt/aws-c-common/tests/alloc_test.c +83 -22
  57. data/aws-crt-ffi/crt/aws-c-common/tests/cross_process_lock_tests.c +116 -0
  58. data/aws-crt-ffi/crt/aws-c-common/tests/file_test.c +103 -0
  59. data/aws-crt-ffi/crt/aws-c-common/tests/priority_queue_test.c +36 -0
  60. data/aws-crt-ffi/crt/aws-c-common/tests/system_info_tests.c +19 -0
  61. data/aws-crt-ffi/crt/aws-c-common/tests/system_resource_util_test.c +37 -0
  62. data/aws-crt-ffi/crt/aws-c-http/include/aws/http/connection.h +9 -0
  63. data/aws-crt-ffi/crt/aws-c-http/include/aws/http/http.h +1 -0
  64. data/aws-crt-ffi/crt/aws-c-http/include/aws/http/private/connection_impl.h +5 -4
  65. data/aws-crt-ffi/crt/aws-c-http/include/aws/http/private/connection_manager_system_vtable.h +10 -18
  66. data/aws-crt-ffi/crt/aws-c-http/include/aws/http/private/proxy_impl.h +5 -1
  67. data/aws-crt-ffi/crt/aws-c-http/include/aws/http/private/request_response_impl.h +5 -0
  68. data/aws-crt-ffi/crt/aws-c-http/include/aws/http/request_response.h +10 -0
  69. data/aws-crt-ffi/crt/aws-c-http/source/connection.c +5 -2
  70. data/aws-crt-ffi/crt/aws-c-http/source/connection_manager.c +22 -21
  71. data/aws-crt-ffi/crt/aws-c-http/source/h1_connection.c +102 -17
  72. data/aws-crt-ffi/crt/aws-c-http/source/h1_stream.c +1 -0
  73. data/aws-crt-ffi/crt/aws-c-http/source/http.c +3 -0
  74. data/aws-crt-ffi/crt/aws-c-http/source/proxy_connection.c +2 -2
  75. data/aws-crt-ffi/crt/aws-c-http/tests/CMakeLists.txt +2 -0
  76. data/aws-crt-ffi/crt/aws-c-http/tests/test_connection_manager.c +18 -18
  77. data/aws-crt-ffi/crt/aws-c-http/tests/test_h1_client.c +111 -1
  78. data/aws-crt-ffi/crt/aws-c-http/tests/test_proxy.c +2 -2
  79. data/aws-crt-ffi/crt/aws-c-http/tests/test_stream_manager.c +2 -2
  80. data/aws-crt-ffi/crt/aws-c-io/include/aws/io/retry_strategy.h +1 -1
  81. data/aws-crt-ffi/crt/aws-c-io/source/exponential_backoff_retry_strategy.c +1 -1
  82. data/aws-crt-ffi/crt/aws-c-io/source/pkcs11_tls_op_handler.c +2 -4
  83. data/aws-crt-ffi/crt/aws-lc/CMakeLists.txt +16 -8
  84. data/aws-crt-ffi/crt/aws-lc/cmake/go.cmake +6 -0
  85. data/aws-crt-ffi/crt/aws-lc/crypto/CMakeLists.txt +6 -9
  86. data/aws-crt-ffi/crt/aws-lc/crypto/asn1/a_time.c +34 -1
  87. data/aws-crt-ffi/crt/aws-lc/crypto/asn1/a_utctm.c +4 -1
  88. data/aws-crt-ffi/crt/aws-lc/crypto/asn1/asn1_test.cc +41 -0
  89. data/aws-crt-ffi/crt/aws-lc/crypto/bio/bio_mem.c +6 -7
  90. data/aws-crt-ffi/crt/aws-lc/crypto/bio/bio_test.cc +152 -16
  91. data/aws-crt-ffi/crt/aws-lc/crypto/bio/connect.c +6 -12
  92. data/aws-crt-ffi/crt/aws-lc/crypto/bio/fd.c +2 -2
  93. data/aws-crt-ffi/crt/aws-lc/crypto/bio/file.c +20 -8
  94. data/aws-crt-ffi/crt/aws-lc/crypto/bio/socket.c +2 -2
  95. data/aws-crt-ffi/crt/aws-lc/crypto/bio/socket_helper.c +2 -2
  96. data/aws-crt-ffi/crt/aws-lc/crypto/blake2/blake2.c +11 -1
  97. data/aws-crt-ffi/crt/aws-lc/crypto/bytestring/cbb.c +13 -3
  98. data/aws-crt-ffi/crt/aws-lc/crypto/bytestring/cbs.c +9 -0
  99. data/aws-crt-ffi/crt/aws-lc/crypto/chacha/asm/chacha-armv8.pl +1 -1
  100. data/aws-crt-ffi/crt/aws-lc/crypto/chacha/chacha.c +49 -8
  101. data/aws-crt-ffi/crt/aws-lc/crypto/chacha/chacha_test.cc +110 -0
  102. data/aws-crt-ffi/crt/aws-lc/crypto/chacha/internal.h +8 -1
  103. data/aws-crt-ffi/crt/aws-lc/crypto/compiler_test.cc +4 -1
  104. data/aws-crt-ffi/crt/aws-lc/crypto/conf/conf_test.cc +1 -0
  105. data/aws-crt-ffi/crt/aws-lc/crypto/crypto_test.cc +9 -0
  106. data/aws-crt-ffi/crt/aws-lc/crypto/curve25519/curve25519.c +189 -108
  107. data/aws-crt-ffi/crt/aws-lc/crypto/curve25519/curve25519_nohw.c +78 -6
  108. data/aws-crt-ffi/crt/aws-lc/crypto/curve25519/ed25519_test.cc +9 -0
  109. data/aws-crt-ffi/crt/aws-lc/crypto/curve25519/internal.h +24 -10
  110. data/aws-crt-ffi/crt/aws-lc/crypto/curve25519/spake25519.c +4 -4
  111. data/aws-crt-ffi/crt/aws-lc/crypto/curve25519/x25519_test.cc +80 -11
  112. data/aws-crt-ffi/crt/aws-lc/crypto/decrepit/evp/evp_do_all.c +2 -0
  113. data/aws-crt-ffi/crt/aws-lc/crypto/digest_extra/digest_extra.c +8 -0
  114. data/aws-crt-ffi/crt/aws-lc/crypto/digest_extra/digest_test.cc +110 -45
  115. data/aws-crt-ffi/crt/aws-lc/crypto/dsa/dsa_test.cc +8 -2
  116. data/aws-crt-ffi/crt/aws-lc/crypto/dsa/internal.h +18 -0
  117. data/aws-crt-ffi/crt/aws-lc/crypto/dynamic_loading_test.c +8 -5
  118. data/aws-crt-ffi/crt/aws-lc/crypto/ec_extra/ec_derive.c +4 -3
  119. data/aws-crt-ffi/crt/aws-lc/crypto/ec_extra/hash_to_curve.c +6 -18
  120. data/aws-crt-ffi/crt/aws-lc/crypto/endian_test.cc +308 -0
  121. data/aws-crt-ffi/crt/aws-lc/crypto/err/ssl.errordata +2 -0
  122. data/aws-crt-ffi/crt/aws-lc/crypto/evp_extra/evp_extra_test.cc +2 -0
  123. data/aws-crt-ffi/crt/aws-lc/crypto/evp_extra/evp_test.cc +11 -1
  124. data/aws-crt-ffi/crt/aws-lc/crypto/evp_extra/evp_tests.txt +25 -0
  125. data/aws-crt-ffi/crt/aws-lc/crypto/evp_extra/p_ec_asn1.c +1 -1
  126. data/aws-crt-ffi/crt/aws-lc/crypto/evp_extra/p_kem.c +2 -2
  127. data/aws-crt-ffi/crt/aws-lc/crypto/evp_extra/p_rsa_asn1.c +1 -0
  128. data/aws-crt-ffi/crt/aws-lc/crypto/evp_extra/print.c +7 -6
  129. data/aws-crt-ffi/crt/aws-lc/crypto/evp_extra/scrypt.c +13 -1
  130. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/CMakeLists.txt +13 -4
  131. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/aes/aes_nohw.c +18 -6
  132. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bcm.c +12 -4
  133. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/bn_assert_test.cc +77 -0
  134. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/bn_test.cc +30 -0
  135. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/bytes.c +112 -22
  136. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/div.c +12 -5
  137. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/exponentiation.c +54 -1
  138. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/gcd.c +5 -6
  139. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/internal.h +37 -15
  140. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/montgomery.c +4 -11
  141. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/bn/montgomery_inv.c +51 -15
  142. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/cipher/aead.c +2 -2
  143. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/digest/digest.c +29 -6
  144. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/digest/digests.c +89 -0
  145. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/digest/internal.h +4 -0
  146. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/ec.c +19 -36
  147. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/ec_key.c +3 -3
  148. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/ec_montgomery.c +9 -7
  149. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/ec_test.cc +33 -9
  150. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/internal.h +17 -12
  151. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/p224-64.c +5 -8
  152. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/p256-nistz.c +8 -8
  153. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/p256.c +9 -8
  154. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/p384.c +33 -16
  155. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/p521.c +14 -6
  156. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/scalar.c +26 -24
  157. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/simple_mul.c +8 -5
  158. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ec/wnaf.c +3 -3
  159. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/ecdsa/ecdsa.c +9 -3
  160. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/evp/evp.c +43 -12
  161. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/evp/p_ec.c +4 -3
  162. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/hmac/hmac.c +3 -1
  163. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/modes/xts.c +26 -3
  164. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/rand/cpu_jitter_test.cc +1 -1
  165. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/rand/internal.h +20 -11
  166. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/rand/rand.c +10 -10
  167. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/rand/urandom.c +2 -2
  168. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/rsa/internal.h +59 -0
  169. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/rsa/padding.c +9 -3
  170. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/rsa/rsa.c +7 -0
  171. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/rsa/rsa_impl.c +51 -60
  172. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/service_indicator/service_indicator.c +5 -2
  173. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/service_indicator/service_indicator_test.cc +205 -5
  174. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/asm/sha1-armv8.pl +1 -1
  175. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/asm/sha512-armv8.pl +1 -1
  176. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/internal.h +8 -0
  177. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/sha3.c +37 -15
  178. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/sha3_test.cc +115 -110
  179. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/sha512.c +55 -1
  180. data/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sshkdf/sshkdf.c +2 -2
  181. data/aws-crt-ffi/crt/aws-lc/crypto/hmac_extra/hmac_test.cc +12 -0
  182. data/aws-crt-ffi/crt/aws-lc/crypto/hmac_extra/hmac_tests.txt +10 -0
  183. data/aws-crt-ffi/crt/aws-lc/crypto/hrss/asm/poly_rq_mul.S +2 -6
  184. data/aws-crt-ffi/crt/aws-lc/crypto/impl_dispatch_test.cc +9 -1
  185. data/aws-crt-ffi/crt/aws-lc/crypto/internal.h +90 -8
  186. data/aws-crt-ffi/crt/aws-lc/crypto/kem/kem.c +28 -27
  187. data/aws-crt-ffi/crt/aws-lc/crypto/kyber/kem_kyber.h +14 -0
  188. data/aws-crt-ffi/crt/aws-lc/crypto/obj/obj_dat.h +52 -2
  189. data/aws-crt-ffi/crt/aws-lc/crypto/obj/obj_mac.num +5 -0
  190. data/aws-crt-ffi/crt/aws-lc/crypto/obj/objects.txt +7 -0
  191. data/aws-crt-ffi/crt/aws-lc/crypto/perlasm/arm-xlate.pl +3 -14
  192. data/aws-crt-ffi/crt/aws-lc/crypto/perlasm/ppc-xlate.pl +1 -5
  193. data/aws-crt-ffi/crt/aws-lc/crypto/perlasm/x86_64-xlate.pl +4 -15
  194. data/aws-crt-ffi/crt/aws-lc/crypto/perlasm/x86asm.pl +4 -13
  195. data/aws-crt-ffi/crt/aws-lc/crypto/poly1305/poly1305_arm_asm.S +3 -13
  196. data/aws-crt-ffi/crt/aws-lc/crypto/rand_extra/deterministic.c +4 -3
  197. data/aws-crt-ffi/crt/aws-lc/crypto/rand_extra/fuchsia.c +4 -4
  198. data/aws-crt-ffi/crt/aws-lc/crypto/rand_extra/rand_test.cc +0 -63
  199. data/aws-crt-ffi/crt/aws-lc/crypto/rand_extra/windows.c +41 -19
  200. data/aws-crt-ffi/crt/aws-lc/crypto/rsa_extra/rsa_test.cc +3 -3
  201. data/aws-crt-ffi/crt/aws-lc/crypto/siphash/siphash.c +12 -5
  202. data/aws-crt-ffi/crt/aws-lc/crypto/siphash/siphash_test.cc +5 -5
  203. data/aws-crt-ffi/crt/aws-lc/crypto/stack/stack.c +68 -46
  204. data/aws-crt-ffi/crt/aws-lc/crypto/trust_token/pmbtoken.c +4 -4
  205. data/aws-crt-ffi/crt/aws-lc/crypto/trust_token/voprf.c +2 -2
  206. data/aws-crt-ffi/crt/aws-lc/crypto/x509/by_dir.c +0 -6
  207. data/aws-crt-ffi/crt/aws-lc/crypto/x509/internal.h +4 -1
  208. data/aws-crt-ffi/crt/aws-lc/crypto/x509/x509_lu.c +33 -9
  209. data/aws-crt-ffi/crt/aws-lc/crypto/x509/x509_test.cc +87 -0
  210. data/aws-crt-ffi/crt/aws-lc/crypto/x509/x509_trs.c +1 -1
  211. data/aws-crt-ffi/crt/aws-lc/crypto/x509/x509_vfy.c +35 -13
  212. data/aws-crt-ffi/crt/aws-lc/crypto/x509v3/v3_lib.c +2 -0
  213. data/aws-crt-ffi/crt/aws-lc/crypto/x509v3/v3_purp.c +4 -6
  214. data/aws-crt-ffi/crt/aws-lc/generated-src/crypto_test_data.cc +179 -151
  215. data/aws-crt-ffi/crt/aws-lc/generated-src/err_data.c +353 -349
  216. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/chacha/chacha-armv8.S +4 -14
  217. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S +4 -14
  218. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/aesv8-armx.S +3 -13
  219. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/aesv8-gcm-armv8-unroll8.S +3 -13
  220. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/aesv8-gcm-armv8.S +3 -13
  221. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/armv8-mont.S +4 -14
  222. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/bn-armv8.S +4 -14
  223. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/ghash-neon-armv8.S +4 -14
  224. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/ghashv8-armx.S +3 -13
  225. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/keccak1600-armv8.S +3 -13
  226. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/md5-armv8.S +3 -13
  227. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/p256-armv8-asm.S +4 -14
  228. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S +4 -14
  229. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/sha1-armv8.S +4 -14
  230. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/sha256-armv8.S +4 -14
  231. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/sha512-armv8.S +4 -14
  232. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/fipsmodule/vpaes-armv8.S +3 -13
  233. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-aarch64/crypto/test/trampoline-armv8.S +4 -14
  234. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/chacha/chacha-armv4.S +3 -13
  235. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/aesv8-armx.S +3 -13
  236. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/armv4-mont.S +3 -13
  237. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/bsaes-armv7.S +3 -13
  238. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/ghash-armv4.S +3 -13
  239. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/ghashv8-armx.S +3 -13
  240. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/sha1-armv4-large.S +3 -13
  241. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/sha256-armv4.S +3 -13
  242. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/sha512-armv4.S +3 -13
  243. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/fipsmodule/vpaes-armv7.S +3 -13
  244. data/aws-crt-ffi/crt/aws-lc/generated-src/ios-arm/crypto/test/trampoline-armv4.S +3 -13
  245. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/chacha/chacha-armv8.S +4 -14
  246. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S +4 -14
  247. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/aesv8-armx.S +3 -13
  248. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/aesv8-gcm-armv8-unroll8.S +3 -13
  249. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/aesv8-gcm-armv8.S +3 -13
  250. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/armv8-mont.S +4 -14
  251. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/bn-armv8.S +3 -13
  252. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/ghash-neon-armv8.S +3 -13
  253. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/ghashv8-armx.S +3 -13
  254. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/keccak1600-armv8.S +3 -13
  255. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/md5-armv8.S +3 -13
  256. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/p256-armv8-asm.S +4 -14
  257. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S +4 -14
  258. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/sha1-armv8.S +4 -14
  259. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/sha256-armv8.S +4 -14
  260. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/sha512-armv8.S +4 -14
  261. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/fipsmodule/vpaes-armv8.S +3 -13
  262. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-aarch64/crypto/test/trampoline-armv8.S +3 -13
  263. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/chacha/chacha-armv4.S +3 -13
  264. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/aesv8-armx.S +3 -13
  265. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/armv4-mont.S +3 -13
  266. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/bsaes-armv7.S +3 -13
  267. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/ghash-armv4.S +3 -13
  268. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/ghashv8-armx.S +3 -13
  269. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/sha1-armv4-large.S +3 -13
  270. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/sha256-armv4.S +3 -13
  271. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/sha512-armv4.S +3 -13
  272. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/fipsmodule/vpaes-armv7.S +3 -13
  273. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-arm/crypto/test/trampoline-armv4.S +3 -13
  274. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-ppc64le/crypto/fipsmodule/aesp8-ppc.S +1 -5
  275. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-ppc64le/crypto/fipsmodule/ghashp8-ppc.S +1 -5
  276. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-ppc64le/crypto/test/trampoline-ppc.S +1 -5
  277. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/chacha/chacha-x86.S +3 -12
  278. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/aesni-x86.S +3 -12
  279. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/bn-586.S +4 -13
  280. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/co-586.S +4 -13
  281. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/ghash-ssse3-x86.S +3 -12
  282. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/ghash-x86.S +3 -12
  283. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/md5-586.S +4 -13
  284. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/sha1-586.S +4 -13
  285. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/sha256-586.S +3 -12
  286. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/sha512-586.S +3 -12
  287. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/vpaes-x86.S +3 -12
  288. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/fipsmodule/x86-mont.S +3 -12
  289. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86/crypto/test/trampoline-x86.S +3 -12
  290. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/chacha/chacha-x86_64.S +2 -11
  291. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S +2 -11
  292. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/cipher_extra/aesni-sha1-x86_64.S +2 -11
  293. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/cipher_extra/aesni-sha256-x86_64.S +2 -11
  294. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S +2 -11
  295. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/aesni-gcm-avx512.S +2 -11
  296. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S +2 -11
  297. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S +2 -11
  298. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/aesni-xts-avx512.S +2 -11
  299. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S +2 -11
  300. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S +2 -11
  301. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/md5-x86_64.S +2 -11
  302. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S +2 -11
  303. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S +2 -11
  304. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S +2 -11
  305. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S +2 -11
  306. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S +2 -11
  307. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S +2 -11
  308. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S +2 -11
  309. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S +2 -11
  310. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/x86_64-mont.S +2 -11
  311. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S +2 -11
  312. data/aws-crt-ffi/crt/aws-lc/generated-src/linux-x86_64/crypto/test/trampoline-x86_64.S +2 -11
  313. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/chacha/chacha-x86.S +3 -12
  314. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/aesni-x86.S +3 -12
  315. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/bn-586.S +3 -12
  316. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/co-586.S +3 -12
  317. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/ghash-ssse3-x86.S +3 -12
  318. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/ghash-x86.S +3 -12
  319. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/md5-586.S +3 -12
  320. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/sha1-586.S +3 -12
  321. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/sha256-586.S +3 -12
  322. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/sha512-586.S +3 -12
  323. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/vpaes-x86.S +3 -12
  324. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/fipsmodule/x86-mont.S +3 -12
  325. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86/crypto/test/trampoline-x86.S +3 -12
  326. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/chacha/chacha-x86_64.S +2 -11
  327. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S +2 -11
  328. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/cipher_extra/aesni-sha1-x86_64.S +2 -11
  329. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/cipher_extra/aesni-sha256-x86_64.S +2 -11
  330. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S +2 -11
  331. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/aesni-gcm-avx512.S +2 -11
  332. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S +2 -11
  333. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/aesni-x86_64.S +2 -11
  334. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/aesni-xts-avx512.S +2 -11
  335. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S +2 -11
  336. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/ghash-x86_64.S +2 -11
  337. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/md5-x86_64.S +2 -11
  338. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/p256-x86_64-asm.S +2 -11
  339. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S +2 -11
  340. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/rdrand-x86_64.S +2 -11
  341. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/rsaz-avx2.S +2 -11
  342. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/sha1-x86_64.S +2 -11
  343. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/sha256-x86_64.S +2 -11
  344. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/sha512-x86_64.S +2 -11
  345. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/vpaes-x86_64.S +2 -11
  346. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/x86_64-mont.S +2 -11
  347. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/fipsmodule/x86_64-mont5.S +2 -11
  348. data/aws-crt-ffi/crt/aws-lc/generated-src/mac-x86_64/crypto/test/trampoline-x86_64.S +2 -11
  349. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/chacha/chacha-armv8.S +4 -14
  350. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S +4 -14
  351. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/aesv8-armx.S +3 -13
  352. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/aesv8-gcm-armv8-unroll8.S +3 -13
  353. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/aesv8-gcm-armv8.S +3 -13
  354. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/armv8-mont.S +4 -14
  355. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/bn-armv8.S +4 -14
  356. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/ghash-neon-armv8.S +4 -14
  357. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/ghashv8-armx.S +3 -13
  358. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/keccak1600-armv8.S +3 -13
  359. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/md5-armv8.S +3 -13
  360. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/p256-armv8-asm.S +4 -14
  361. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S +4 -14
  362. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/sha1-armv8.S +4 -14
  363. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/sha256-armv8.S +4 -14
  364. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/sha512-armv8.S +4 -14
  365. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/fipsmodule/vpaes-armv8.S +3 -13
  366. data/aws-crt-ffi/crt/aws-lc/generated-src/win-aarch64/crypto/test/trampoline-armv8.S +4 -14
  367. data/aws-crt-ffi/crt/aws-lc/go.mod +4 -4
  368. data/aws-crt-ffi/crt/aws-lc/go.sum +8 -10
  369. data/aws-crt-ffi/crt/aws-lc/include/openssl/aead.h +2 -2
  370. data/aws-crt-ffi/crt/aws-lc/include/openssl/arm_arch.h +4 -119
  371. data/aws-crt-ffi/crt/aws-lc/include/openssl/asm_base.h +185 -0
  372. data/aws-crt-ffi/crt/aws-lc/include/openssl/asn1.h +5 -0
  373. data/aws-crt-ffi/crt/aws-lc/include/openssl/base.h +31 -134
  374. data/aws-crt-ffi/crt/aws-lc/include/openssl/bio.h +30 -18
  375. data/aws-crt-ffi/crt/aws-lc/include/openssl/bn.h +0 -2
  376. data/aws-crt-ffi/crt/aws-lc/include/openssl/chacha.h +6 -0
  377. data/aws-crt-ffi/crt/aws-lc/include/openssl/cipher.h +2 -2
  378. data/aws-crt-ffi/crt/aws-lc/include/openssl/digest.h +9 -6
  379. data/aws-crt-ffi/crt/aws-lc/include/openssl/dsa.h +0 -21
  380. data/aws-crt-ffi/crt/aws-lc/include/openssl/ec.h +1 -1
  381. data/aws-crt-ffi/crt/aws-lc/include/openssl/err.h +1 -1
  382. data/aws-crt-ffi/crt/aws-lc/include/openssl/evp.h +8 -5
  383. data/aws-crt-ffi/crt/aws-lc/include/openssl/nid.h +21 -0
  384. data/aws-crt-ffi/crt/aws-lc/include/openssl/rsa.h +1 -65
  385. data/aws-crt-ffi/crt/aws-lc/include/openssl/sha.h +22 -1
  386. data/aws-crt-ffi/crt/aws-lc/include/openssl/ssl.h +121 -13
  387. data/aws-crt-ffi/crt/aws-lc/include/openssl/stack.h +229 -208
  388. data/aws-crt-ffi/crt/aws-lc/include/openssl/target.h +166 -0
  389. data/aws-crt-ffi/crt/aws-lc/include/openssl/x509.h +30 -10
  390. data/aws-crt-ffi/crt/aws-lc/include/openssl/x509v3.h +6 -4
  391. data/aws-crt-ffi/crt/aws-lc/sources.cmake +2 -0
  392. data/aws-crt-ffi/crt/aws-lc/ssl/extensions.cc +12 -7
  393. data/aws-crt-ffi/crt/aws-lc/ssl/handshake_server.cc +28 -18
  394. data/aws-crt-ffi/crt/aws-lc/ssl/internal.h +41 -6
  395. data/aws-crt-ffi/crt/aws-lc/ssl/s3_both.cc +9 -17
  396. data/aws-crt-ffi/crt/aws-lc/ssl/ssl_cipher.cc +13 -5
  397. data/aws-crt-ffi/crt/aws-lc/ssl/ssl_key_share.cc +542 -2
  398. data/aws-crt-ffi/crt/aws-lc/ssl/ssl_lib.cc +35 -0
  399. data/aws-crt-ffi/crt/aws-lc/ssl/ssl_test.cc +1847 -14
  400. data/aws-crt-ffi/crt/aws-lc/ssl/ssl_x509.cc +128 -0
  401. data/aws-crt-ffi/crt/aws-lc/ssl/test/PORTING.md +10 -7
  402. data/aws-crt-ffi/crt/aws-lc/ssl/test/bssl_shim.cc +133 -77
  403. data/aws-crt-ffi/crt/aws-lc/ssl/test/handshake_util.cc +3 -3
  404. data/aws-crt-ffi/crt/aws-lc/ssl/test/handshaker.cc +4 -0
  405. data/aws-crt-ffi/crt/aws-lc/ssl/test/runner/handshake_client.go +6 -2
  406. data/aws-crt-ffi/crt/aws-lc/ssl/test/runner/handshake_messages.go +894 -1042
  407. data/aws-crt-ffi/crt/aws-lc/ssl/test/runner/handshake_server.go +24 -23
  408. data/aws-crt-ffi/crt/aws-lc/ssl/test/runner/prf.go +6 -5
  409. data/aws-crt-ffi/crt/aws-lc/ssl/test/runner/runner.go +56 -55
  410. data/aws-crt-ffi/crt/aws-lc/ssl/test/runner/shim_dispatcher.go +188 -0
  411. data/aws-crt-ffi/crt/aws-lc/ssl/test/runner/ticket.go +37 -39
  412. data/aws-crt-ffi/crt/aws-lc/ssl/test/test_config.cc +59 -24
  413. data/aws-crt-ffi/crt/aws-lc/ssl/test/test_config.h +3 -2
  414. data/aws-crt-ffi/crt/aws-lc/ssl/tls13_server.cc +10 -11
  415. data/aws-crt-ffi/crt/aws-lc/tests/ci/cdk/app.py +4 -4
  416. data/aws-crt-ffi/crt/aws-lc/tests/ci/cdk/cdk/{aws_lc_mac_arm_ci_stack.py → aws_lc_ec2_test_framework_ci_stack.py} +13 -29
  417. data/aws-crt-ffi/crt/aws-lc/tests/ci/cdk/cdk/ssm/general_test_run_ssm_document.yaml +43 -0
  418. data/aws-crt-ffi/crt/aws-lc/tests/ci/common_posix_setup.sh +10 -0
  419. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/linux-aarch/amazonlinux-2023_base/Dockerfile +5 -1
  420. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/linux-aarch/ubuntu-22.04_base/Dockerfile +19 -3
  421. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/linux-x86/amazonlinux-2_gcc-7x-intel-sde/Dockerfile +5 -4
  422. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/linux-x86/build_images.sh +1 -0
  423. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/linux-x86/push_images.sh +2 -1
  424. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/linux-x86/ubuntu-20.04_clang-10x_formal-verification/create_image.sh +1 -1
  425. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/linux-x86/ubuntu-22.04_base/Dockerfile +1 -0
  426. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/linux-x86/ubuntu-22.04_clang-14x-sde/Dockerfile +42 -0
  427. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/windows/vs2017/Dockerfile +14 -0
  428. data/aws-crt-ffi/crt/aws-lc/tests/ci/docker_images/windows/windows_base/Dockerfile +3 -0
  429. data/aws-crt-ffi/crt/aws-lc/tests/ci/integration/README.md +12 -0
  430. data/aws-crt-ffi/crt/aws-lc/tests/ci/integration/nginx_patch/aws-lc-nginx.patch +68 -23
  431. data/aws-crt-ffi/crt/aws-lc/tests/ci/integration/run_crt_integration.sh +27 -0
  432. data/aws-crt-ffi/crt/aws-lc/tests/ci/integration/run_monit_integration.sh +56 -0
  433. data/aws-crt-ffi/crt/aws-lc/tests/ci/integration/sslproxy_patch/aws-lc-sslproxy.patch +2 -2
  434. data/aws-crt-ffi/crt/aws-lc/tests/ci/run_ec2_test_framework.sh +135 -0
  435. data/aws-crt-ffi/crt/aws-lc/tests/ci/run_fips_tests.sh +14 -2
  436. data/aws-crt-ffi/crt/aws-lc/tests/ci/run_tests_with_sde.sh +4 -1
  437. data/aws-crt-ffi/crt/aws-lc/tests/ci/run_tests_with_sde_asan.sh +14 -0
  438. data/aws-crt-ffi/crt/aws-lc/tests/ci/run_windows_tests.bat +39 -3
  439. data/aws-crt-ffi/crt/aws-lc/third_party/fiat/README.md +21 -6
  440. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/bignum_madd_n25519.S +284 -0
  441. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/bignum_madd_n25519_alt.S +210 -0
  442. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/bignum_mod_n25519.S +186 -0
  443. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/bignum_neg_p25519.S +65 -0
  444. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/curve25519_x25519.S +1043 -352
  445. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/curve25519_x25519_alt.S +1043 -352
  446. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/curve25519_x25519_byte.S +1043 -352
  447. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/curve25519_x25519_byte_alt.S +1043 -352
  448. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/curve25519_x25519base.S +1042 -352
  449. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/curve25519_x25519base_alt.S +1042 -352
  450. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/curve25519_x25519base_byte.S +1042 -352
  451. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/curve25519_x25519base_byte_alt.S +1043 -354
  452. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/edwards25519_decode.S +700 -0
  453. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/edwards25519_decode_alt.S +563 -0
  454. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/edwards25519_encode.S +131 -0
  455. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/edwards25519_scalarmulbase.S +9626 -0
  456. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/edwards25519_scalarmulbase_alt.S +9468 -0
  457. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/edwards25519_scalarmuldouble.S +3157 -0
  458. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/curve25519/edwards25519_scalarmuldouble_alt.S +2941 -0
  459. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/p384/Makefile +1 -1
  460. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/arm/p521/Makefile +1 -1
  461. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/include/s2n-bignum_aws-lc.h +34 -0
  462. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/bignum_madd_n25519.S +219 -0
  463. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/bignum_madd_n25519_alt.S +245 -0
  464. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/bignum_mod_n25519.S +228 -0
  465. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/bignum_neg_p25519.S +86 -0
  466. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519.S +1350 -407
  467. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519_alt.S +1350 -407
  468. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519base.S +1344 -400
  469. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519base_alt.S +1348 -402
  470. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/edwards25519_decode.S +670 -0
  471. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/edwards25519_decode_alt.S +751 -0
  472. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/edwards25519_encode.S +81 -0
  473. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmulbase.S +9910 -0
  474. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmulbase_alt.S +9986 -0
  475. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmuldouble.S +3619 -0
  476. data/aws-crt-ffi/crt/aws-lc/third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmuldouble_alt.S +3736 -0
  477. data/aws-crt-ffi/crt/aws-lc/third_party/wycheproof_testvectors/hmac_sha512_224_test.json +1978 -0
  478. data/aws-crt-ffi/crt/aws-lc/third_party/wycheproof_testvectors/hmac_sha512_224_test.txt +1403 -0
  479. data/aws-crt-ffi/crt/aws-lc/third_party/wycheproof_testvectors/hmac_sha512_256_test.json +1993 -0
  480. data/aws-crt-ffi/crt/aws-lc/third_party/wycheproof_testvectors/hmac_sha512_256_test.txt +1416 -0
  481. data/aws-crt-ffi/crt/aws-lc/tool/digest.cc +4 -0
  482. data/aws-crt-ffi/crt/aws-lc/tool/internal.h +1 -0
  483. data/aws-crt-ffi/crt/aws-lc/tool/speed.cc +53 -6
  484. data/aws-crt-ffi/crt/aws-lc/util/all_tests.go +43 -12
  485. data/aws-crt-ffi/crt/aws-lc/util/all_tests.json +13 -5
  486. data/aws-crt-ffi/crt/aws-lc/util/bot/DEPS +4 -4
  487. data/aws-crt-ffi/crt/aws-lc/util/bot/update_clang.py +8 -2
  488. data/aws-crt-ffi/crt/aws-lc/util/codecov-ci.sh +82 -0
  489. data/aws-crt-ffi/crt/aws-lc/util/convert_wycheproof/convert_wycheproof.go +7 -5
  490. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/ACVP.md +7 -0
  491. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/subprocess/hash.go +24 -9
  492. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/subprocess/rsa.go +3 -4
  493. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/subprocess/subprocess.go +15 -10
  494. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/expected/HMAC-SHA2-512-224.bz2 +0 -0
  495. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/expected/SHA2-512-224.bz2 +0 -0
  496. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/expected/SHAKE-128.bz2 +0 -0
  497. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/expected/SHAKE-256.bz2 +0 -0
  498. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/sha-tests/sha512-224-tests.json +1 -0
  499. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/sha-tests/shake-128-tests.json +1 -0
  500. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/sha-tests/shake-256-tests.json +1 -0
  501. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/tests.json +1 -0
  502. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/vectors/HMAC-SHA2-512-224.bz2 +0 -0
  503. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/vectors/SHA2-512-224.bz2 +0 -0
  504. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/vectors/SHAKE-128.bz2 +0 -0
  505. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/acvptool/test/vectors/SHAKE-256.bz2 +0 -0
  506. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/modulewrapper/main.cc +4 -0
  507. data/aws-crt-ffi/crt/aws-lc/util/fipstools/acvp/modulewrapper/modulewrapper.cc +144 -1
  508. data/aws-crt-ffi/crt/aws-lc/util/fipstools/delocate/delocate.go +9 -3
  509. data/aws-crt-ffi/crt/aws-lc/util/fipstools/delocate/testdata/aarch64-Basic/in.s +4 -0
  510. data/aws-crt-ffi/crt/aws-lc/util/fipstools/delocate/testdata/aarch64-Basic/out.s +11 -0
  511. data/aws-crt-ffi/crt/aws-lc/util/fipstools/inject_hash/inject_hash.go +13 -4
  512. data/aws-crt-ffi/crt/aws-lc/util/fipstools/test-break-kat.sh +2 -0
  513. data/aws-crt-ffi/crt/aws-lc/util/testconfig/testconfig.go +2 -1
  514. data/aws-crt-ffi/crt/s2n/api/s2n.h +9 -5
  515. data/aws-crt-ffi/crt/s2n/bindings/rust/bench/benches/handshake.rs +9 -6
  516. data/aws-crt-ffi/crt/s2n/bindings/rust/bench/benches/resumption.rs +14 -14
  517. data/aws-crt-ffi/crt/s2n/bindings/rust/bench/benches/throughput.rs +9 -6
  518. data/aws-crt-ffi/crt/s2n/bindings/rust/bench/src/harness.rs +106 -102
  519. data/aws-crt-ffi/crt/s2n/bindings/rust/bench/src/openssl.rs +24 -20
  520. data/aws-crt-ffi/crt/s2n/bindings/rust/bench/src/rustls.rs +28 -24
  521. data/aws-crt-ffi/crt/s2n/bindings/rust/bench/src/s2n_tls.rs +52 -50
  522. data/aws-crt-ffi/crt/s2n/bindings/rust/generate/Cargo.toml +1 -0
  523. data/aws-crt-ffi/crt/s2n/bindings/rust/integration/Cargo.toml +3 -0
  524. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls/Cargo.toml +2 -2
  525. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls/src/connection.rs +9 -0
  526. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls-sys/templates/Cargo.template +2 -1
  527. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls-tokio/Cargo.toml +2 -2
  528. data/aws-crt-ffi/crt/s2n/tests/cbmc/sources/make_common_datastructures.c +9 -2
  529. data/aws-crt-ffi/crt/s2n/tests/fuzz/s2n_client_cert_verify_recv_test.c +1 -1
  530. data/aws-crt-ffi/crt/s2n/tests/fuzz/s2n_hybrid_ecdhe_kyber_r3_fuzz_test.c +1 -1
  531. data/aws-crt-ffi/crt/s2n/tests/fuzz/s2n_tls13_cert_verify_recv_test.c +1 -1
  532. data/aws-crt-ffi/crt/s2n/tests/integrationv2/test_version_negotiation.py +4 -4
  533. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_auth_selection_test.c +19 -9
  534. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_client_auth_handshake_test.c +3 -3
  535. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_client_cert_verify_test.c +1 -1
  536. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_client_hello_recv_test.c +1 -1
  537. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_client_hello_test.c +4 -4
  538. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_client_signature_algorithms_extension_test.c +4 -5
  539. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_connection_protocol_versions_test.c +390 -0
  540. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_connection_test.c +8 -4
  541. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_handshake_test.c +2 -1
  542. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_quic_support_io_test.c +106 -0
  543. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_security_policies_test.c +6 -2
  544. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_self_talk_offload_signing_test.c +3 -3
  545. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_self_talk_session_resumption_test.c +135 -0
  546. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_server_new_session_ticket_test.c +32 -0
  547. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_server_signature_algorithms_extension_test.c +1 -1
  548. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_signature_algorithms_test.c +307 -283
  549. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_tls13_cert_request_test.c +1 -1
  550. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_tls13_cert_verify_test.c +18 -17
  551. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_x509_validator_test.c +125 -0
  552. data/aws-crt-ffi/crt/s2n/tls/extensions/s2n_client_signature_algorithms.c +8 -1
  553. data/aws-crt-ffi/crt/s2n/tls/extensions/s2n_client_supported_versions.c +43 -11
  554. data/aws-crt-ffi/crt/s2n/tls/extensions/s2n_client_supported_versions.h +3 -0
  555. data/aws-crt-ffi/crt/s2n/tls/extensions/s2n_server_signature_algorithms.c +8 -1
  556. data/aws-crt-ffi/crt/s2n/tls/s2n_auth_selection.c +4 -2
  557. data/aws-crt-ffi/crt/s2n/tls/s2n_client_cert_verify.c +7 -10
  558. data/aws-crt-ffi/crt/s2n/tls/s2n_client_hello.c +2 -2
  559. data/aws-crt-ffi/crt/s2n/tls/s2n_connection.c +75 -14
  560. data/aws-crt-ffi/crt/s2n/tls/s2n_handshake.h +2 -2
  561. data/aws-crt-ffi/crt/s2n/tls/s2n_post_handshake.c +1 -1
  562. data/aws-crt-ffi/crt/s2n/tls/s2n_post_handshake.h +1 -0
  563. data/aws-crt-ffi/crt/s2n/tls/s2n_quic_support.c +29 -0
  564. data/aws-crt-ffi/crt/s2n/tls/s2n_quic_support.h +5 -0
  565. data/aws-crt-ffi/crt/s2n/tls/s2n_security_policies.c +40 -0
  566. data/aws-crt-ffi/crt/s2n/tls/s2n_security_policies.h +4 -0
  567. data/aws-crt-ffi/crt/s2n/tls/s2n_server_cert_request.c +1 -1
  568. data/aws-crt-ffi/crt/s2n/tls/s2n_server_hello.c +0 -3
  569. data/aws-crt-ffi/crt/s2n/tls/s2n_server_key_exchange.c +8 -9
  570. data/aws-crt-ffi/crt/s2n/tls/s2n_server_new_session_ticket.c +8 -0
  571. data/aws-crt-ffi/crt/s2n/tls/s2n_signature_algorithms.c +111 -72
  572. data/aws-crt-ffi/crt/s2n/tls/s2n_signature_algorithms.h +11 -9
  573. data/aws-crt-ffi/crt/s2n/tls/s2n_signature_scheme.c +9 -0
  574. data/aws-crt-ffi/crt/s2n/tls/s2n_signature_scheme.h +2 -0
  575. data/aws-crt-ffi/crt/s2n/tls/s2n_tls13_certificate_verify.c +12 -18
  576. data/aws-crt-ffi/crt/s2n/tls/s2n_x509_validator.c +7 -7
  577. data/aws-crt-ffi/src/api.h +1 -0
  578. data/lib/aws-crt/native.rb +1 -1
  579. metadata +68 -5
  580. data/aws-crt-ffi/crt/aws-lc/tests/ci/cdk/cdk/ssm/m1_tests_ssm_document.yaml +0 -34
  581. data/aws-crt-ffi/crt/aws-lc/tests/ci/run_m1_ec2_instance.sh +0 -96
@@ -0,0 +1,1993 @@
1
+ {
2
+ "algorithm" : "HMACSHA512/256",
3
+ "schema" : "mac_test_schema.json",
4
+ "generatorVersion" : "0.9",
5
+ "numberOfTests" : 175,
6
+ "header" : [
7
+ "Test vectors of type MacTest are intended for testing the",
8
+ "generation and verification of MACs."
9
+ ],
10
+ "notes" : {
11
+ "ModifiedTag" : {
12
+ "bugType" : "AUTH_BYPASS",
13
+ "description" : "The test vector contains a modified MAC. The purpose of the test is to check whether the verification fully checks the tag."
14
+ },
15
+ "Pseudorandom" : {
16
+ "bugType" : "FUNCTIONALITY",
17
+ "description" : "The test vector contains pseudorandomly generated inputs. The goal of the test vector is to check the correctness of the implementation for various sizes of the input parameters."
18
+ },
19
+ "TruncatedHmac" : {
20
+ "bugType" : "FUNCTIONALITY",
21
+ "description" : "A truncated HMAC is not the same as an HMAC with a truncated hash. This test vector an HMAC that was simply truncated instead of using the correct hash function."
22
+ }
23
+ },
24
+ "testGroups" : [
25
+ {
26
+ "type" : "MacTest",
27
+ "keySize" : 256,
28
+ "tagSize" : 256,
29
+ "tests" : [
30
+ {
31
+ "tcId" : 1,
32
+ "comment" : "using SHA-512 instead of SHA-512/256",
33
+ "flags" : [
34
+ "TruncatedHmac"
35
+ ],
36
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
37
+ "msg" : "313233343030",
38
+ "tag" : "61d2fbea647212738aeb15d76ef078c3b66b0daa3bfdd55ce600145d7c910753",
39
+ "result" : "invalid"
40
+ },
41
+ {
42
+ "tcId" : 2,
43
+ "comment" : "empty message",
44
+ "flags" : [
45
+ "Pseudorandom"
46
+ ],
47
+ "key" : "1e225cafb90339bba1b24076d4206c3e79c355805d851682bc818baa4f5a7779",
48
+ "msg" : "",
49
+ "tag" : "baae6ac18c37dbf3a71b22741ced96e1e2dbe6e7a737142e14bd93fda144dad0",
50
+ "result" : "valid"
51
+ },
52
+ {
53
+ "tcId" : 3,
54
+ "comment" : "short message",
55
+ "flags" : [
56
+ "Pseudorandom"
57
+ ],
58
+ "key" : "8159fd15133cd964c9a6964c94f0ea269a806fd9f43f0da58b6cd1b33d189b2a",
59
+ "msg" : "77",
60
+ "tag" : "aee7a277e0f36a042368ae52b1337ba13f1c00fdb2dfb1d5f0c304e485c3a7dc",
61
+ "result" : "valid"
62
+ },
63
+ {
64
+ "tcId" : 4,
65
+ "comment" : "short message",
66
+ "flags" : [
67
+ "Pseudorandom"
68
+ ],
69
+ "key" : "85a7cbaae825bb82c9b6f6c5c2af5ac03d1f6daa63d2a93c189948ec41b9ded9",
70
+ "msg" : "a59b",
71
+ "tag" : "10e53513a8a4749d977ab7ed4a718727b9e2346fc735e4ee202de37a5fadb2f7",
72
+ "result" : "valid"
73
+ },
74
+ {
75
+ "tcId" : 5,
76
+ "comment" : "short message",
77
+ "flags" : [
78
+ "Pseudorandom"
79
+ ],
80
+ "key" : "48f3029334e55cfbd574ccc765fb2c3685aab1f4837d23370874a3e634c3a76d",
81
+ "msg" : "c7b8b2",
82
+ "tag" : "238bff443bf9c439227f2b1e2e7298c576909ff8ee618d0f74f0ec63629b4df7",
83
+ "result" : "valid"
84
+ },
85
+ {
86
+ "tcId" : 6,
87
+ "comment" : "short message",
88
+ "flags" : [
89
+ "Pseudorandom"
90
+ ],
91
+ "key" : "de8b5b5b2f09645be47ecb6407a4e1d9c6b33ae3c2d22517d3357da0357a3139",
92
+ "msg" : "cc021d65",
93
+ "tag" : "df7cf9e3cbc2770d2ca7f91f8c3acb7f7d1c8d549706cd54c6cd14725b268468",
94
+ "result" : "valid"
95
+ },
96
+ {
97
+ "tcId" : 7,
98
+ "comment" : "short message",
99
+ "flags" : [
100
+ "Pseudorandom"
101
+ ],
102
+ "key" : "b7938910f518f13205ca1492c669001a14ff913c8ab4a0dc3564e7418e91297c",
103
+ "msg" : "a4a6ef6ebd",
104
+ "tag" : "89ebd94af4d3d963f29d7b443ddb023f230208e371daa586629fe407f2d1bcd2",
105
+ "result" : "valid"
106
+ },
107
+ {
108
+ "tcId" : 8,
109
+ "comment" : "short message",
110
+ "flags" : [
111
+ "Pseudorandom"
112
+ ],
113
+ "key" : "1bb997ff4de8a5a391de5c08a33bc2c7c2891e47ad5b9c63110192f78b98fe78",
114
+ "msg" : "667e015df7fc",
115
+ "tag" : "ae7a29fd949066b682b6efda53aedfaea2afb217460825085d76ba05c3146676",
116
+ "result" : "valid"
117
+ },
118
+ {
119
+ "tcId" : 9,
120
+ "comment" : "short message",
121
+ "flags" : [
122
+ "Pseudorandom"
123
+ ],
124
+ "key" : "32fdeda39f98b4f4426c2d2ac00ab5dd4bfabb68f311447256ed6d3d3a51b154",
125
+ "msg" : "4163a9f77e41f5",
126
+ "tag" : "a5e439420fa9dedc9db6c2479305fe66d462499f05c383f628fb0f51b5ff11b1",
127
+ "result" : "valid"
128
+ },
129
+ {
130
+ "tcId" : 10,
131
+ "comment" : "short message",
132
+ "flags" : [
133
+ "Pseudorandom"
134
+ ],
135
+ "key" : "233e4fdee70bcc20235b6977ddfc05b0df66f5635d827c66e5a63cdb16a24938",
136
+ "msg" : "fdb2ee4b6d1a0ac2",
137
+ "tag" : "37597f0aeba2c247c3bf3ecc6ec5e6beb0efe1c08499daa98428c03c5f8e8504",
138
+ "result" : "valid"
139
+ },
140
+ {
141
+ "tcId" : 11,
142
+ "comment" : "short message",
143
+ "flags" : [
144
+ "Pseudorandom"
145
+ ],
146
+ "key" : "b984c6734e0bd12b1737b2fc7a1b3803b4dfec402140a57b9eccc35414ae661b",
147
+ "msg" : "dea584d0e2a14ad5fd",
148
+ "tag" : "8e323512445ad61949af45242f01ed91162617812e827b79508008f5c5ba5d0b",
149
+ "result" : "valid"
150
+ },
151
+ {
152
+ "tcId" : 12,
153
+ "comment" : "short message",
154
+ "flags" : [
155
+ "Pseudorandom"
156
+ ],
157
+ "key" : "d0caf1456ac5e255fa6afd61a79dc8c716f5358a298a508271363fe1ff983561",
158
+ "msg" : "18261dc806913c534666",
159
+ "tag" : "d6d5d3d7522af212cf539dfa3d25652aafb93881739db248a4fcd0fc48c66e4e",
160
+ "result" : "valid"
161
+ },
162
+ {
163
+ "tcId" : 13,
164
+ "comment" : "short message",
165
+ "flags" : [
166
+ "Pseudorandom"
167
+ ],
168
+ "key" : "835bc8241ed817735ec9d3d0e2df4c173ee4dded4a8ef0c04a96c48f11820463",
169
+ "msg" : "26f8083e944bacf04e9a4d",
170
+ "tag" : "0866e924b0ea366795c0ce78d0217b0d6308285b1be4effbd9ac075b1ee54c0b",
171
+ "result" : "valid"
172
+ },
173
+ {
174
+ "tcId" : 14,
175
+ "comment" : "short message",
176
+ "flags" : [
177
+ "Pseudorandom"
178
+ ],
179
+ "key" : "055f95c9461b0809575eccdfa5cdd06275f25d30915c4eb8db40e1acd3ab7591",
180
+ "msg" : "bfb7d6a08dbaa5225f320887",
181
+ "tag" : "8901caf87509a9ad50907be7ed64786440da6e12900236989a30449ebe13aa5a",
182
+ "result" : "valid"
183
+ },
184
+ {
185
+ "tcId" : 15,
186
+ "comment" : "short message",
187
+ "flags" : [
188
+ "Pseudorandom"
189
+ ],
190
+ "key" : "e40f7a3eb88ddec4c6347ea4d67610756c82c8ebcc237629bf873ccabc32984a",
191
+ "msg" : "7fe43febc78474649e45bf99b2",
192
+ "tag" : "993d5ae37dd031c74a5ee1514ae152ddb24283b03bc2fa7fdfee6b164ca06c1d",
193
+ "result" : "valid"
194
+ },
195
+ {
196
+ "tcId" : 16,
197
+ "comment" : "short message",
198
+ "flags" : [
199
+ "Pseudorandom"
200
+ ],
201
+ "key" : "b020ad1de1c141f7ec615ee5701521773f9b232e4d06376c382894ce51a61f48",
202
+ "msg" : "81c7581a194b5e71b41146a582c1",
203
+ "tag" : "f1f15fd253c0e1abe524643c6830422420243c71267de7ea7b5fab173f8d528a",
204
+ "result" : "valid"
205
+ },
206
+ {
207
+ "tcId" : 17,
208
+ "comment" : "short message",
209
+ "flags" : [
210
+ "Pseudorandom"
211
+ ],
212
+ "key" : "9f3fd61a105202648ecff6074c95e502c1c51acd32ec538a5cce89ef841f7989",
213
+ "msg" : "2a76f2acdace42e3b779724946912c",
214
+ "tag" : "d75cafdafc0711855db378b5b525fc77df150c6b3cb9bbc21627dc56d17d6a32",
215
+ "result" : "valid"
216
+ },
217
+ {
218
+ "tcId" : 18,
219
+ "comment" : "",
220
+ "flags" : [
221
+ "Pseudorandom"
222
+ ],
223
+ "key" : "6fa353868c82e5deeedac7f09471a61bf749ab5498239e947e012eee3c82d7c4",
224
+ "msg" : "aeed3e4d4cb9bbb60d482e98c126c0f5",
225
+ "tag" : "f2503f147ad7cc3d411e25211491914b658a6676dfd45ed54f6b279ffeb939c1",
226
+ "result" : "valid"
227
+ },
228
+ {
229
+ "tcId" : 19,
230
+ "comment" : "",
231
+ "flags" : [
232
+ "Pseudorandom"
233
+ ],
234
+ "key" : "5300489494ca86221c91d6d953952ae1a5e097139dc9cf1179c2f56433753824",
235
+ "msg" : "90fea6cf2bd811b449f333ee9233e57697",
236
+ "tag" : "7f0470eb227de250cfac8e690767b4ff49ee3f8e68a7d03716921e5c018ca3ce",
237
+ "result" : "valid"
238
+ },
239
+ {
240
+ "tcId" : 20,
241
+ "comment" : "",
242
+ "flags" : [
243
+ "Pseudorandom"
244
+ ],
245
+ "key" : "383e7c5c13476a62268423ef0500479f9e86e236c5a081c6449189e6afdf2af5",
246
+ "msg" : "3202705af89f9555c540b0e1276911d01971abb2c35c78b2",
247
+ "tag" : "fa928790bde88ad98ef3ac926097368eb6cdac1ca9b2b0b101c501171478a176",
248
+ "result" : "valid"
249
+ },
250
+ {
251
+ "tcId" : 21,
252
+ "comment" : "",
253
+ "flags" : [
254
+ "Pseudorandom"
255
+ ],
256
+ "key" : "186e248ad824e1eb93329a7fdcd565b6cb4eaf3f85b90b910777128d8c538d27",
257
+ "msg" : "92ef9ff52f46eccc7e38b9ee19fd2de3b37726c8e6ce9e1b96db5dda4c317902",
258
+ "tag" : "3fc7a4a6677c1b0b5b90555847d16819d285a5cff63ea21c98253e58031d4ff5",
259
+ "result" : "valid"
260
+ },
261
+ {
262
+ "tcId" : 22,
263
+ "comment" : "long message",
264
+ "flags" : [
265
+ "Pseudorandom"
266
+ ],
267
+ "key" : "28855c7efc8532d92567300933cc1ca2d0586f55dcc9f054fcca2f05254fbf7f",
268
+ "msg" : "9c09207ff0e6e582cb3747dca954c94d45c05e93f1e6f21179cf0e25b4cede74b5479d32f5166935c86f0441905865",
269
+ "tag" : "fc8a7726fd9ffcf936e554e984732750dac592d6ee86fc81839e24f18c3afd31",
270
+ "result" : "valid"
271
+ },
272
+ {
273
+ "tcId" : 23,
274
+ "comment" : "long message",
275
+ "flags" : [
276
+ "Pseudorandom"
277
+ ],
278
+ "key" : "8e540cb30c94836ae2a5950f355d482a7002e255207e94fda3f7ef1a099013a0",
279
+ "msg" : "d6500f95e11262e308bf3df4df4b855f33e857563d4543f195639a0a17b442eb9fdcc1367d2eee75c8f805730b89290f",
280
+ "tag" : "46b170a647cb6bc3ca975195e62f54e1f1f966cf42ce553546f4d43269131d14",
281
+ "result" : "valid"
282
+ },
283
+ {
284
+ "tcId" : 24,
285
+ "comment" : "long message",
286
+ "flags" : [
287
+ "Pseudorandom"
288
+ ],
289
+ "key" : "69c50d5274358188cff4c0fae742243d4e8a5e5ba55d94ff40edd90f6a43dd10",
290
+ "msg" : "1ac5255aff052828d8ea21b376f1ebdd4bb879949913900405aebce83e48feb6813b5e9c89f94501a8ade41b26b815c521",
291
+ "tag" : "24902a3e64c863f137d9dc84ebb629a071a9ac266bd583625225cef98f278c45",
292
+ "result" : "valid"
293
+ },
294
+ {
295
+ "tcId" : 25,
296
+ "comment" : "long message",
297
+ "flags" : [
298
+ "Pseudorandom"
299
+ ],
300
+ "key" : "23209b7c5aadcbd13f7279af1a86d3c7ae8f179d1bcaaad0dff9a15302e78dbf",
301
+ "msg" : "84bdac37e1af35d9356404e2787d47ece58348dea76a4a46e8aade3463d4db8c94a051be3733b38d756984865d56c60e8025f15e3f968f093e7fb7ebc7e31189c5692d15ed4256737b9b1894e5809503aaa1c9983fb096aa21916361eeb6ef455b129723a1a1ddf9deddea208529a648",
302
+ "tag" : "141c849ca20286c73f95c674cd15886bf48443bf71deae36935762d553c9685f",
303
+ "result" : "valid"
304
+ },
305
+ {
306
+ "tcId" : 26,
307
+ "comment" : "long message",
308
+ "flags" : [
309
+ "Pseudorandom"
310
+ ],
311
+ "key" : "7c9cc667cae175f448faa96647319633b2d48531373ae7d316c44ddd8b9f69cf",
312
+ "msg" : "9233c1d73b498c5106ff88951e07b9652cb0ddae740737ec205c9876d094978bfc947f7dc937119fd6a93915b19b625958a7a22363aa2ac33fb869ed16b303336ab740a0498a2df66a6599da710094481a7b544bd955b6f97135ba4673401db2db144a6e287041e47a51ed9b6ba956c13508c1c0c25310105239ab73629e30",
313
+ "tag" : "40b2235a0ebf00b7e5f89059114cf37d28b7da2201be2a8502a9eeb61be15f30",
314
+ "result" : "valid"
315
+ },
316
+ {
317
+ "tcId" : 27,
318
+ "comment" : "long message",
319
+ "flags" : [
320
+ "Pseudorandom"
321
+ ],
322
+ "key" : "82314540564ea3ce30591e97f68b2602de40fa29f773c2508327471b8348e8c4",
323
+ "msg" : "6a6d2f45cebf2757ae16ea33c68617671d77f8fdf80bed8fc5cdc5c8b7086bd28e7eb3eecc7163491104e5309455e67f836579b82a1da3bf5991a8e2b2f189a49e05700e46c409ed5de77780a5f389e3f13dad406c9d55675329c5c921f07034180937c0f6ef34a2308b6ff3e1a0e9dc1ea65f5632730e8744d1db2c40a6595b",
324
+ "tag" : "bd2ae0fd279df94ee8366ddb78a38431e48975780c8d2820ca68c66453e771c4",
325
+ "result" : "valid"
326
+ },
327
+ {
328
+ "tcId" : 28,
329
+ "comment" : "long message",
330
+ "flags" : [
331
+ "Pseudorandom"
332
+ ],
333
+ "key" : "d115acc9a636915241795f48852052e07b51273ae2448251ec1d0d0f9807f3db",
334
+ "msg" : "696d2456de853fa028f486fef437b6b6d1b530a8475e299db3a9005ae9cef8401985b7d31e172e8f439ccd1ad1ec44c9b86b78f3f243c1305b53bc21abad7a8fc5256311bfd34c98e37dfdc649e7ae4bda08cf2994b063c0c7106ed0b02a1f48af9191cbfb0d6a953b7e04327dfe8c93779cb574ba9cba575d01674e83621aa0c5f400d6e6cd24b301e33c9f3303e73bf357408c1be86c2489c09de998ff2ef32df554f1247d9313ce1a7160115d06f4c18d6556ff7986ef8a55e2adcfa27e4c69c71cc2ff01639e9d49bd9ed0687f530ffeb0890132457df2088081bc4a2f7f0a9f4dcea2c80d991db7f3747a1803d7619aaf3dd382c69536a0bcdb931cbe",
335
+ "tag" : "33dae4d519d63031654e93f3bc8a319e8946723793487b6c3185c10a6ccbd872",
336
+ "result" : "valid"
337
+ },
338
+ {
339
+ "tcId" : 29,
340
+ "comment" : "Flipped bit 0 in tag",
341
+ "flags" : [
342
+ "ModifiedTag"
343
+ ],
344
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
345
+ "msg" : "",
346
+ "tag" : "63d06962dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
347
+ "result" : "invalid"
348
+ },
349
+ {
350
+ "tcId" : 30,
351
+ "comment" : "Flipped bit 0 in tag",
352
+ "flags" : [
353
+ "ModifiedTag"
354
+ ],
355
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
356
+ "msg" : "000102030405060708090a0b0c0d0e0f",
357
+ "tag" : "8bd41561cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
358
+ "result" : "invalid"
359
+ },
360
+ {
361
+ "tcId" : 31,
362
+ "comment" : "Flipped bit 1 in tag",
363
+ "flags" : [
364
+ "ModifiedTag"
365
+ ],
366
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
367
+ "msg" : "",
368
+ "tag" : "60d06962dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
369
+ "result" : "invalid"
370
+ },
371
+ {
372
+ "tcId" : 32,
373
+ "comment" : "Flipped bit 1 in tag",
374
+ "flags" : [
375
+ "ModifiedTag"
376
+ ],
377
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
378
+ "msg" : "000102030405060708090a0b0c0d0e0f",
379
+ "tag" : "88d41561cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
380
+ "result" : "invalid"
381
+ },
382
+ {
383
+ "tcId" : 33,
384
+ "comment" : "Flipped bit 7 in tag",
385
+ "flags" : [
386
+ "ModifiedTag"
387
+ ],
388
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
389
+ "msg" : "",
390
+ "tag" : "e2d06962dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
391
+ "result" : "invalid"
392
+ },
393
+ {
394
+ "tcId" : 34,
395
+ "comment" : "Flipped bit 7 in tag",
396
+ "flags" : [
397
+ "ModifiedTag"
398
+ ],
399
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
400
+ "msg" : "000102030405060708090a0b0c0d0e0f",
401
+ "tag" : "0ad41561cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
402
+ "result" : "invalid"
403
+ },
404
+ {
405
+ "tcId" : 35,
406
+ "comment" : "Flipped bit 8 in tag",
407
+ "flags" : [
408
+ "ModifiedTag"
409
+ ],
410
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
411
+ "msg" : "",
412
+ "tag" : "62d16962dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
413
+ "result" : "invalid"
414
+ },
415
+ {
416
+ "tcId" : 36,
417
+ "comment" : "Flipped bit 8 in tag",
418
+ "flags" : [
419
+ "ModifiedTag"
420
+ ],
421
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
422
+ "msg" : "000102030405060708090a0b0c0d0e0f",
423
+ "tag" : "8ad51561cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
424
+ "result" : "invalid"
425
+ },
426
+ {
427
+ "tcId" : 37,
428
+ "comment" : "Flipped bit 31 in tag",
429
+ "flags" : [
430
+ "ModifiedTag"
431
+ ],
432
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
433
+ "msg" : "",
434
+ "tag" : "62d069e2dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
435
+ "result" : "invalid"
436
+ },
437
+ {
438
+ "tcId" : 38,
439
+ "comment" : "Flipped bit 31 in tag",
440
+ "flags" : [
441
+ "ModifiedTag"
442
+ ],
443
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
444
+ "msg" : "000102030405060708090a0b0c0d0e0f",
445
+ "tag" : "8ad415e1cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
446
+ "result" : "invalid"
447
+ },
448
+ {
449
+ "tcId" : 39,
450
+ "comment" : "Flipped bit 32 in tag",
451
+ "flags" : [
452
+ "ModifiedTag"
453
+ ],
454
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
455
+ "msg" : "",
456
+ "tag" : "62d06962dc2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
457
+ "result" : "invalid"
458
+ },
459
+ {
460
+ "tcId" : 40,
461
+ "comment" : "Flipped bit 32 in tag",
462
+ "flags" : [
463
+ "ModifiedTag"
464
+ ],
465
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
466
+ "msg" : "000102030405060708090a0b0c0d0e0f",
467
+ "tag" : "8ad41561cbda5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
468
+ "result" : "invalid"
469
+ },
470
+ {
471
+ "tcId" : 41,
472
+ "comment" : "Flipped bit 33 in tag",
473
+ "flags" : [
474
+ "ModifiedTag"
475
+ ],
476
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
477
+ "msg" : "",
478
+ "tag" : "62d06962df2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
479
+ "result" : "invalid"
480
+ },
481
+ {
482
+ "tcId" : 42,
483
+ "comment" : "Flipped bit 33 in tag",
484
+ "flags" : [
485
+ "ModifiedTag"
486
+ ],
487
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
488
+ "msg" : "000102030405060708090a0b0c0d0e0f",
489
+ "tag" : "8ad41561c8da5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
490
+ "result" : "invalid"
491
+ },
492
+ {
493
+ "tcId" : 43,
494
+ "comment" : "Flipped bit 63 in tag",
495
+ "flags" : [
496
+ "ModifiedTag"
497
+ ],
498
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
499
+ "msg" : "",
500
+ "tag" : "62d06962dd2c4194a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
501
+ "result" : "invalid"
502
+ },
503
+ {
504
+ "tcId" : 44,
505
+ "comment" : "Flipped bit 63 in tag",
506
+ "flags" : [
507
+ "ModifiedTag"
508
+ ],
509
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
510
+ "msg" : "000102030405060708090a0b0c0d0e0f",
511
+ "tag" : "8ad41561cada5a3ccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
512
+ "result" : "invalid"
513
+ },
514
+ {
515
+ "tcId" : 45,
516
+ "comment" : "Flipped bit 64 in tag",
517
+ "flags" : [
518
+ "ModifiedTag"
519
+ ],
520
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
521
+ "msg" : "",
522
+ "tag" : "62d06962dd2c4114a17d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
523
+ "result" : "invalid"
524
+ },
525
+ {
526
+ "tcId" : 46,
527
+ "comment" : "Flipped bit 64 in tag",
528
+ "flags" : [
529
+ "ModifiedTag"
530
+ ],
531
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
532
+ "msg" : "000102030405060708090a0b0c0d0e0f",
533
+ "tag" : "8ad41561cada5abccd606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
534
+ "result" : "invalid"
535
+ },
536
+ {
537
+ "tcId" : 47,
538
+ "comment" : "Flipped bit 71 in tag",
539
+ "flags" : [
540
+ "ModifiedTag"
541
+ ],
542
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
543
+ "msg" : "",
544
+ "tag" : "62d06962dd2c4114207d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
545
+ "result" : "invalid"
546
+ },
547
+ {
548
+ "tcId" : 48,
549
+ "comment" : "Flipped bit 71 in tag",
550
+ "flags" : [
551
+ "ModifiedTag"
552
+ ],
553
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
554
+ "msg" : "000102030405060708090a0b0c0d0e0f",
555
+ "tag" : "8ad41561cada5abc4c606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
556
+ "result" : "invalid"
557
+ },
558
+ {
559
+ "tcId" : 49,
560
+ "comment" : "Flipped bit 77 in tag",
561
+ "flags" : [
562
+ "ModifiedTag"
563
+ ],
564
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
565
+ "msg" : "",
566
+ "tag" : "62d06962dd2c4114a05d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
567
+ "result" : "invalid"
568
+ },
569
+ {
570
+ "tcId" : 50,
571
+ "comment" : "Flipped bit 77 in tag",
572
+ "flags" : [
573
+ "ModifiedTag"
574
+ ],
575
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
576
+ "msg" : "000102030405060708090a0b0c0d0e0f",
577
+ "tag" : "8ad41561cada5abccc406f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
578
+ "result" : "invalid"
579
+ },
580
+ {
581
+ "tcId" : 51,
582
+ "comment" : "Flipped bit 80 in tag",
583
+ "flags" : [
584
+ "ModifiedTag"
585
+ ],
586
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
587
+ "msg" : "",
588
+ "tag" : "62d06962dd2c4114a07d0a1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
589
+ "result" : "invalid"
590
+ },
591
+ {
592
+ "tcId" : 52,
593
+ "comment" : "Flipped bit 80 in tag",
594
+ "flags" : [
595
+ "ModifiedTag"
596
+ ],
597
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
598
+ "msg" : "000102030405060708090a0b0c0d0e0f",
599
+ "tag" : "8ad41561cada5abccc606e00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
600
+ "result" : "invalid"
601
+ },
602
+ {
603
+ "tcId" : 53,
604
+ "comment" : "Flipped bit 96 in tag",
605
+ "flags" : [
606
+ "ModifiedTag"
607
+ ],
608
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
609
+ "msg" : "",
610
+ "tag" : "62d06962dd2c4114a07d0b1ef06df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
611
+ "result" : "invalid"
612
+ },
613
+ {
614
+ "tcId" : 54,
615
+ "comment" : "Flipped bit 96 in tag",
616
+ "flags" : [
617
+ "ModifiedTag"
618
+ ],
619
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
620
+ "msg" : "000102030405060708090a0b0c0d0e0f",
621
+ "tag" : "8ad41561cada5abccc606f00c5a35931794eb51a2709dd667de3c6c2e684e3ea",
622
+ "result" : "invalid"
623
+ },
624
+ {
625
+ "tcId" : 55,
626
+ "comment" : "Flipped bit 97 in tag",
627
+ "flags" : [
628
+ "ModifiedTag"
629
+ ],
630
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
631
+ "msg" : "",
632
+ "tag" : "62d06962dd2c4114a07d0b1ef36df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
633
+ "result" : "invalid"
634
+ },
635
+ {
636
+ "tcId" : 56,
637
+ "comment" : "Flipped bit 97 in tag",
638
+ "flags" : [
639
+ "ModifiedTag"
640
+ ],
641
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
642
+ "msg" : "000102030405060708090a0b0c0d0e0f",
643
+ "tag" : "8ad41561cada5abccc606f00c6a35931794eb51a2709dd667de3c6c2e684e3ea",
644
+ "result" : "invalid"
645
+ },
646
+ {
647
+ "tcId" : 57,
648
+ "comment" : "Flipped bit 103 in tag",
649
+ "flags" : [
650
+ "ModifiedTag"
651
+ ],
652
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
653
+ "msg" : "",
654
+ "tag" : "62d06962dd2c4114a07d0b1e716df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
655
+ "result" : "invalid"
656
+ },
657
+ {
658
+ "tcId" : 58,
659
+ "comment" : "Flipped bit 103 in tag",
660
+ "flags" : [
661
+ "ModifiedTag"
662
+ ],
663
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
664
+ "msg" : "000102030405060708090a0b0c0d0e0f",
665
+ "tag" : "8ad41561cada5abccc606f0044a35931794eb51a2709dd667de3c6c2e684e3ea",
666
+ "result" : "invalid"
667
+ },
668
+ {
669
+ "tcId" : 59,
670
+ "comment" : "Flipped bit 248 in tag",
671
+ "flags" : [
672
+ "ModifiedTag"
673
+ ],
674
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
675
+ "msg" : "",
676
+ "tag" : "62d06962dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacd",
677
+ "result" : "invalid"
678
+ },
679
+ {
680
+ "tcId" : 60,
681
+ "comment" : "Flipped bit 248 in tag",
682
+ "flags" : [
683
+ "ModifiedTag"
684
+ ],
685
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
686
+ "msg" : "000102030405060708090a0b0c0d0e0f",
687
+ "tag" : "8ad41561cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3eb",
688
+ "result" : "invalid"
689
+ },
690
+ {
691
+ "tcId" : 61,
692
+ "comment" : "Flipped bit 249 in tag",
693
+ "flags" : [
694
+ "ModifiedTag"
695
+ ],
696
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
697
+ "msg" : "",
698
+ "tag" : "62d06962dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aace",
699
+ "result" : "invalid"
700
+ },
701
+ {
702
+ "tcId" : 62,
703
+ "comment" : "Flipped bit 249 in tag",
704
+ "flags" : [
705
+ "ModifiedTag"
706
+ ],
707
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
708
+ "msg" : "000102030405060708090a0b0c0d0e0f",
709
+ "tag" : "8ad41561cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3e8",
710
+ "result" : "invalid"
711
+ },
712
+ {
713
+ "tcId" : 63,
714
+ "comment" : "Flipped bit 254 in tag",
715
+ "flags" : [
716
+ "ModifiedTag"
717
+ ],
718
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
719
+ "msg" : "",
720
+ "tag" : "62d06962dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aa8c",
721
+ "result" : "invalid"
722
+ },
723
+ {
724
+ "tcId" : 64,
725
+ "comment" : "Flipped bit 254 in tag",
726
+ "flags" : [
727
+ "ModifiedTag"
728
+ ],
729
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
730
+ "msg" : "000102030405060708090a0b0c0d0e0f",
731
+ "tag" : "8ad41561cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3aa",
732
+ "result" : "invalid"
733
+ },
734
+ {
735
+ "tcId" : 65,
736
+ "comment" : "Flipped bit 255 in tag",
737
+ "flags" : [
738
+ "ModifiedTag"
739
+ ],
740
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
741
+ "msg" : "",
742
+ "tag" : "62d06962dd2c4114a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aa4c",
743
+ "result" : "invalid"
744
+ },
745
+ {
746
+ "tcId" : 66,
747
+ "comment" : "Flipped bit 255 in tag",
748
+ "flags" : [
749
+ "ModifiedTag"
750
+ ],
751
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
752
+ "msg" : "000102030405060708090a0b0c0d0e0f",
753
+ "tag" : "8ad41561cada5abccc606f00c4a35931794eb51a2709dd667de3c6c2e684e36a",
754
+ "result" : "invalid"
755
+ },
756
+ {
757
+ "tcId" : 67,
758
+ "comment" : "Flipped bits 0 and 64 in tag",
759
+ "flags" : [
760
+ "ModifiedTag"
761
+ ],
762
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
763
+ "msg" : "",
764
+ "tag" : "63d06962dd2c4114a17d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
765
+ "result" : "invalid"
766
+ },
767
+ {
768
+ "tcId" : 68,
769
+ "comment" : "Flipped bits 0 and 64 in tag",
770
+ "flags" : [
771
+ "ModifiedTag"
772
+ ],
773
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
774
+ "msg" : "000102030405060708090a0b0c0d0e0f",
775
+ "tag" : "8bd41561cada5abccd606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
776
+ "result" : "invalid"
777
+ },
778
+ {
779
+ "tcId" : 69,
780
+ "comment" : "Flipped bits 31 and 63 in tag",
781
+ "flags" : [
782
+ "ModifiedTag"
783
+ ],
784
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
785
+ "msg" : "",
786
+ "tag" : "62d069e2dd2c4194a07d0b1ef16df27cc5f2d9c80fc246e8a9ef7b9b7c59aacc",
787
+ "result" : "invalid"
788
+ },
789
+ {
790
+ "tcId" : 70,
791
+ "comment" : "Flipped bits 31 and 63 in tag",
792
+ "flags" : [
793
+ "ModifiedTag"
794
+ ],
795
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
796
+ "msg" : "000102030405060708090a0b0c0d0e0f",
797
+ "tag" : "8ad415e1cada5a3ccc606f00c4a35931794eb51a2709dd667de3c6c2e684e3ea",
798
+ "result" : "invalid"
799
+ },
800
+ {
801
+ "tcId" : 71,
802
+ "comment" : "Flipped bits 63 and 127 in tag",
803
+ "flags" : [
804
+ "ModifiedTag"
805
+ ],
806
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
807
+ "msg" : "",
808
+ "tag" : "62d06962dd2c4194a07d0b1ef16df2fcc5f2d9c80fc246e8a9ef7b9b7c59aacc",
809
+ "result" : "invalid"
810
+ },
811
+ {
812
+ "tcId" : 72,
813
+ "comment" : "Flipped bits 63 and 127 in tag",
814
+ "flags" : [
815
+ "ModifiedTag"
816
+ ],
817
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
818
+ "msg" : "000102030405060708090a0b0c0d0e0f",
819
+ "tag" : "8ad41561cada5a3ccc606f00c4a359b1794eb51a2709dd667de3c6c2e684e3ea",
820
+ "result" : "invalid"
821
+ },
822
+ {
823
+ "tcId" : 73,
824
+ "comment" : "all bits of tag flipped",
825
+ "flags" : [
826
+ "ModifiedTag"
827
+ ],
828
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
829
+ "msg" : "",
830
+ "tag" : "9d2f969d22d3beeb5f82f4e10e920d833a0d2637f03db9175610846483a65533",
831
+ "result" : "invalid"
832
+ },
833
+ {
834
+ "tcId" : 74,
835
+ "comment" : "all bits of tag flipped",
836
+ "flags" : [
837
+ "ModifiedTag"
838
+ ],
839
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
840
+ "msg" : "000102030405060708090a0b0c0d0e0f",
841
+ "tag" : "752bea9e3525a543339f90ff3b5ca6ce86b14ae5d8f62299821c393d197b1c15",
842
+ "result" : "invalid"
843
+ },
844
+ {
845
+ "tcId" : 75,
846
+ "comment" : "Tag changed to all zero",
847
+ "flags" : [
848
+ "ModifiedTag"
849
+ ],
850
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
851
+ "msg" : "",
852
+ "tag" : "0000000000000000000000000000000000000000000000000000000000000000",
853
+ "result" : "invalid"
854
+ },
855
+ {
856
+ "tcId" : 76,
857
+ "comment" : "Tag changed to all zero",
858
+ "flags" : [
859
+ "ModifiedTag"
860
+ ],
861
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
862
+ "msg" : "000102030405060708090a0b0c0d0e0f",
863
+ "tag" : "0000000000000000000000000000000000000000000000000000000000000000",
864
+ "result" : "invalid"
865
+ },
866
+ {
867
+ "tcId" : 77,
868
+ "comment" : "tag changed to all 1",
869
+ "flags" : [
870
+ "ModifiedTag"
871
+ ],
872
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
873
+ "msg" : "",
874
+ "tag" : "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
875
+ "result" : "invalid"
876
+ },
877
+ {
878
+ "tcId" : 78,
879
+ "comment" : "tag changed to all 1",
880
+ "flags" : [
881
+ "ModifiedTag"
882
+ ],
883
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
884
+ "msg" : "000102030405060708090a0b0c0d0e0f",
885
+ "tag" : "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
886
+ "result" : "invalid"
887
+ },
888
+ {
889
+ "tcId" : 79,
890
+ "comment" : "msbs changed in tag",
891
+ "flags" : [
892
+ "ModifiedTag"
893
+ ],
894
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
895
+ "msg" : "",
896
+ "tag" : "e250e9e25dacc19420fd8b9e71ed72fc457259488f42c668296ffb1bfcd92a4c",
897
+ "result" : "invalid"
898
+ },
899
+ {
900
+ "tcId" : 80,
901
+ "comment" : "msbs changed in tag",
902
+ "flags" : [
903
+ "ModifiedTag"
904
+ ],
905
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
906
+ "msg" : "000102030405060708090a0b0c0d0e0f",
907
+ "tag" : "0a5495e14a5ada3c4ce0ef804423d9b1f9ce359aa7895de6fd6346426604636a",
908
+ "result" : "invalid"
909
+ },
910
+ {
911
+ "tcId" : 81,
912
+ "comment" : "lsbs changed in tag",
913
+ "flags" : [
914
+ "ModifiedTag"
915
+ ],
916
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
917
+ "msg" : "",
918
+ "tag" : "63d16863dc2d4015a17c0a1ff06cf37dc4f3d8c90ec347e9a8ee7a9a7d58abcd",
919
+ "result" : "invalid"
920
+ },
921
+ {
922
+ "tcId" : 82,
923
+ "comment" : "lsbs changed in tag",
924
+ "flags" : [
925
+ "ModifiedTag"
926
+ ],
927
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
928
+ "msg" : "000102030405060708090a0b0c0d0e0f",
929
+ "tag" : "8bd51460cbdb5bbdcd616e01c5a25830784fb41b2608dc677ce2c7c3e785e2eb",
930
+ "result" : "invalid"
931
+ }
932
+ ]
933
+ },
934
+ {
935
+ "type" : "MacTest",
936
+ "keySize" : 256,
937
+ "tagSize" : 128,
938
+ "tests" : [
939
+ {
940
+ "tcId" : 83,
941
+ "comment" : "empty message",
942
+ "flags" : [
943
+ "Pseudorandom"
944
+ ],
945
+ "key" : "7bf9e536b66a215c22233fe2daaa743a898b9acb9f7802de70b40e3d6e43ef97",
946
+ "msg" : "",
947
+ "tag" : "c155ff4bc0bf8c1436b23cb9c16591e0",
948
+ "result" : "valid"
949
+ },
950
+ {
951
+ "tcId" : 84,
952
+ "comment" : "short message",
953
+ "flags" : [
954
+ "Pseudorandom"
955
+ ],
956
+ "key" : "e754076ceab3fdaf4f9bcab7d4f0df0cbbafbc87731b8f9b7cd2166472e8eebc",
957
+ "msg" : "40",
958
+ "tag" : "ecde21a991aa09dd7f42836d97e3e7d2",
959
+ "result" : "valid"
960
+ },
961
+ {
962
+ "tcId" : 85,
963
+ "comment" : "short message",
964
+ "flags" : [
965
+ "Pseudorandom"
966
+ ],
967
+ "key" : "ea3b016bdd387dd64d837c71683808f335dbdc53598a4ea8c5f952473fafaf5f",
968
+ "msg" : "6601",
969
+ "tag" : "d8890a46022eea99fc958d93b3c7eeb7",
970
+ "result" : "valid"
971
+ },
972
+ {
973
+ "tcId" : 86,
974
+ "comment" : "short message",
975
+ "flags" : [
976
+ "Pseudorandom"
977
+ ],
978
+ "key" : "73d4709637857dafab6ad8b2b0a51b06524717fedf100296644f7cfdaae1805b",
979
+ "msg" : "f1d300",
980
+ "tag" : "2ec85a2a3867f613184ce3493c250964",
981
+ "result" : "valid"
982
+ },
983
+ {
984
+ "tcId" : 87,
985
+ "comment" : "short message",
986
+ "flags" : [
987
+ "Pseudorandom"
988
+ ],
989
+ "key" : "d5c81b399d4c0d1583a13da56de6d2dc45a66e7b47c24ab1192e246dc961dd77",
990
+ "msg" : "2ae63cbf",
991
+ "tag" : "fad84b8631a89b9cafac065d788ffcfe",
992
+ "result" : "valid"
993
+ },
994
+ {
995
+ "tcId" : 88,
996
+ "comment" : "short message",
997
+ "flags" : [
998
+ "Pseudorandom"
999
+ ],
1000
+ "key" : "2521203fa0dddf59d837b2830f87b1aa61f958155df3ca4d1df2457cb4284dc8",
1001
+ "msg" : "af3a015ea1",
1002
+ "tag" : "35e5ceaf32b221534ac6d9ab786ac3f1",
1003
+ "result" : "valid"
1004
+ },
1005
+ {
1006
+ "tcId" : 89,
1007
+ "comment" : "short message",
1008
+ "flags" : [
1009
+ "Pseudorandom"
1010
+ ],
1011
+ "key" : "665a02bc265a66d01775091da56726b6668bfd903cb7af66fb1b78a8a062e43c",
1012
+ "msg" : "3f56935def3f",
1013
+ "tag" : "08151bc441cf73348a79576e79392737",
1014
+ "result" : "valid"
1015
+ },
1016
+ {
1017
+ "tcId" : 90,
1018
+ "comment" : "short message",
1019
+ "flags" : [
1020
+ "Pseudorandom"
1021
+ ],
1022
+ "key" : "facd75b22221380047305bc981f570e2a1af38928ea7e2059e3af5fc6b82b493",
1023
+ "msg" : "57bb86beed156f",
1024
+ "tag" : "b905064ddd9b6e626cc9c6342ff2f315",
1025
+ "result" : "valid"
1026
+ },
1027
+ {
1028
+ "tcId" : 91,
1029
+ "comment" : "short message",
1030
+ "flags" : [
1031
+ "Pseudorandom"
1032
+ ],
1033
+ "key" : "505aa98819809ef63b9a368a1e8bc2e922da45b03ce02d9a7966b15006dba2d5",
1034
+ "msg" : "2e4e7ef728fe11af",
1035
+ "tag" : "8e510fd967f69f9cc49e834ddf624399",
1036
+ "result" : "valid"
1037
+ },
1038
+ {
1039
+ "tcId" : 92,
1040
+ "comment" : "short message",
1041
+ "flags" : [
1042
+ "Pseudorandom"
1043
+ ],
1044
+ "key" : "f942093842808ba47f64e427f7351dde6b9546e66de4e7d60aa6f328182712cf",
1045
+ "msg" : "852a21d92848e627c7",
1046
+ "tag" : "09fe45cf3d0003c306886904474fc698",
1047
+ "result" : "valid"
1048
+ },
1049
+ {
1050
+ "tcId" : 93,
1051
+ "comment" : "short message",
1052
+ "flags" : [
1053
+ "Pseudorandom"
1054
+ ],
1055
+ "key" : "64be162b39c6e5f1fed9c32d9f674d9a8cde6eaa2443214d86bd4a1fb53b81b4",
1056
+ "msg" : "195a3b292f93baff0a2c",
1057
+ "tag" : "142da85605caa57a667415e62b0e420f",
1058
+ "result" : "valid"
1059
+ },
1060
+ {
1061
+ "tcId" : 94,
1062
+ "comment" : "short message",
1063
+ "flags" : [
1064
+ "Pseudorandom"
1065
+ ],
1066
+ "key" : "b259a555d44b8a20c5489e2f38392ddaa6be9e35b9833b67e1b5fdf6cb3e4c6c",
1067
+ "msg" : "afd73117330c6e8528a6e4",
1068
+ "tag" : "9623f00ec64c2d49863972a90ff7c517",
1069
+ "result" : "valid"
1070
+ },
1071
+ {
1072
+ "tcId" : 95,
1073
+ "comment" : "short message",
1074
+ "flags" : [
1075
+ "Pseudorandom"
1076
+ ],
1077
+ "key" : "2c6fc62daa77ba8c6881b3dd6989898fef646663cc7b0a3db8228a707b85f2dc",
1078
+ "msg" : "0ff54d6b6759120c2e8a51e3",
1079
+ "tag" : "b368cf82ae3b0b853a7bc56383030576",
1080
+ "result" : "valid"
1081
+ },
1082
+ {
1083
+ "tcId" : 96,
1084
+ "comment" : "short message",
1085
+ "flags" : [
1086
+ "Pseudorandom"
1087
+ ],
1088
+ "key" : "abab815d51df29f740e4e2079fb798e0152836e6ab57d1536ae8929e52c06eb8",
1089
+ "msg" : "f0058d412a104e53d820b95a7f",
1090
+ "tag" : "1ee4ee38698299221682e64fd6d34469",
1091
+ "result" : "valid"
1092
+ },
1093
+ {
1094
+ "tcId" : 97,
1095
+ "comment" : "short message",
1096
+ "flags" : [
1097
+ "Pseudorandom"
1098
+ ],
1099
+ "key" : "3d5da1af83f7287458bff7a7651ea5d8db72259401333f6b82096996dd7eaf19",
1100
+ "msg" : "aacc36972f183057919ff57b49e1",
1101
+ "tag" : "a8c810be7051080126f502a98aa32b68",
1102
+ "result" : "valid"
1103
+ },
1104
+ {
1105
+ "tcId" : 98,
1106
+ "comment" : "short message",
1107
+ "flags" : [
1108
+ "Pseudorandom"
1109
+ ],
1110
+ "key" : "c19bdf314c6cf64381425467f42aefa17c1cc9358be16ce31b1d214859ce86aa",
1111
+ "msg" : "5d066a92c300e9b6ddd63a7c13ae33",
1112
+ "tag" : "1a38156d8b622cbf2436c3dffdf279ac",
1113
+ "result" : "valid"
1114
+ },
1115
+ {
1116
+ "tcId" : 99,
1117
+ "comment" : "",
1118
+ "flags" : [
1119
+ "Pseudorandom"
1120
+ ],
1121
+ "key" : "612e837843ceae7f61d49625faa7e7494f9253e20cb3adcea686512b043936cd",
1122
+ "msg" : "cc37fae15f745a2f40e2c8b192f2b38d",
1123
+ "tag" : "705c80da3c3166dbec0a3ae959f598f8",
1124
+ "result" : "valid"
1125
+ },
1126
+ {
1127
+ "tcId" : 100,
1128
+ "comment" : "",
1129
+ "flags" : [
1130
+ "Pseudorandom"
1131
+ ],
1132
+ "key" : "73216fafd0022d0d6ee27198b2272578fa8f04dd9f44467fbb6437aa45641bf7",
1133
+ "msg" : "d5247b8f6c3edcbfb1d591d13ece23d2f5",
1134
+ "tag" : "afdb30a48f80e415ca75f8b2d3358df1",
1135
+ "result" : "valid"
1136
+ },
1137
+ {
1138
+ "tcId" : 101,
1139
+ "comment" : "",
1140
+ "flags" : [
1141
+ "Pseudorandom"
1142
+ ],
1143
+ "key" : "0427a70e257528f3ab70640bba1a5de12cf3885dd4c8e284fbbb55feb35294a5",
1144
+ "msg" : "13937f8544f44270d01175a011f7670e93fa6ba7ef02336e",
1145
+ "tag" : "263dc73eb64add7a9019b64255f2a8f8",
1146
+ "result" : "valid"
1147
+ },
1148
+ {
1149
+ "tcId" : 102,
1150
+ "comment" : "",
1151
+ "flags" : [
1152
+ "Pseudorandom"
1153
+ ],
1154
+ "key" : "96e1e4896fb2cd05f133a6a100bc5609a7ac3ca6d81721e922dadd69ad07a892",
1155
+ "msg" : "91a17e4dfcc3166a1add26ff0e7c12056e8a654f28a6de24f4ba739ceb5b5b18",
1156
+ "tag" : "8c294a89504ef2f79971a4ff70bb79ee",
1157
+ "result" : "valid"
1158
+ },
1159
+ {
1160
+ "tcId" : 103,
1161
+ "comment" : "long message",
1162
+ "flags" : [
1163
+ "Pseudorandom"
1164
+ ],
1165
+ "key" : "41201567be4e6ea06de2295fd0e6e8a7d862bb57311894f525d8adeabba4a3e4",
1166
+ "msg" : "58c8c73bdd3f350c97477816eae4d0789c9369c0e99c248902c700bc29ed986425985eb3fa55709b73bf620cd9b1cb",
1167
+ "tag" : "5019c69ebfa62356726f4543446758f0",
1168
+ "result" : "valid"
1169
+ },
1170
+ {
1171
+ "tcId" : 104,
1172
+ "comment" : "long message",
1173
+ "flags" : [
1174
+ "Pseudorandom"
1175
+ ],
1176
+ "key" : "649e373e681ef52e3c10ac265484750932a9918f28fb824f7cb50adab39781fe",
1177
+ "msg" : "39b447bd3a01983c1cb761b456d69000948ceb870562a536126a0d18a8e7e49b16de8fe672f13d0808d8b7d957899917",
1178
+ "tag" : "55f23db259bc635115aeef59258c838b",
1179
+ "result" : "valid"
1180
+ },
1181
+ {
1182
+ "tcId" : 105,
1183
+ "comment" : "long message",
1184
+ "flags" : [
1185
+ "Pseudorandom"
1186
+ ],
1187
+ "key" : "7b0d237f7b536e2c6950990e61b361b384333dda690045c591321a4e3f79747f",
1188
+ "msg" : "3d6283d11c0219b525620e9bf5b9fd887d3f0f707acb1fbdffab0d97a5c6d07fc547762e0e7dd7c43ad35fab1c790f8047",
1189
+ "tag" : "bab79ecf91bad0ac1badbf9aab2137ab",
1190
+ "result" : "valid"
1191
+ },
1192
+ {
1193
+ "tcId" : 106,
1194
+ "comment" : "long message",
1195
+ "flags" : [
1196
+ "Pseudorandom"
1197
+ ],
1198
+ "key" : "17c92663741f012e5bb6714e614c2d155948617f10936269d954c58aba2ae62d",
1199
+ "msg" : "7fdd6a15c861d0313f6635d77dc55e115ff18c8ab063b5d03eab472eeca87a378188f25813515cf90b6cffa94a8ff36b29d65603eab3fbd2aa9500b261e184049893dc6ca2010becac163053f211070bdda621b8bd8af77e450268603b52db34c90be836dfebddef42303f724e63bf0f",
1200
+ "tag" : "4b87f61c68360dbf845039b15e0c5dde",
1201
+ "result" : "valid"
1202
+ },
1203
+ {
1204
+ "tcId" : 107,
1205
+ "comment" : "long message",
1206
+ "flags" : [
1207
+ "Pseudorandom"
1208
+ ],
1209
+ "key" : "424c6b22606fcc094ae82fc5d3cbe484174c2211b3ec778091cac34a8e38a152",
1210
+ "msg" : "d96ff062e2490e8e0c54c5a8b89e85b25a66d93d7c2b93bdfef846b70d38672746a4b988d08f15a5c527ca4f2c80e53f7c6ac0521bc57ebe38209180cbf934e0bbeb58cfb63d75da64af41d09ce174af1896f42522910fced35ea000402e95fd3ac7aa6d5e0a6b533b0879bc466019b3a5e6b16e4bd1ea6cdfc9ccc1d6f0f0",
1211
+ "tag" : "10e5402f82acc86e3d200ca36e69c191",
1212
+ "result" : "valid"
1213
+ },
1214
+ {
1215
+ "tcId" : 108,
1216
+ "comment" : "long message",
1217
+ "flags" : [
1218
+ "Pseudorandom"
1219
+ ],
1220
+ "key" : "15d553c8da433d53cdc7f15087a70349caab57b379a4078928ce9b99302e31a6",
1221
+ "msg" : "d6c0c53b73f74fb426adfdc143d70db7f7a8f8ed32a2faef263cf9ab117537b6b9d1728bd1000c1f28906c6ce6ad21862bfa4d689c1a8ebe3868b992098b7f981b2af5189a6adedff53a6c70c83693f5c8d6385a9a8a4dca017c5716ac4d5b9765c5ca2ab5f9867e02795198c0b9527e07d08af52dbcb91ceb3d8b412a2b2402",
1222
+ "tag" : "8c95675eab75e627c5a55db4c09a4a62",
1223
+ "result" : "valid"
1224
+ },
1225
+ {
1226
+ "tcId" : 109,
1227
+ "comment" : "long message",
1228
+ "flags" : [
1229
+ "Pseudorandom"
1230
+ ],
1231
+ "key" : "ffe559468a1031dfb3ced2e381e74b5821a36d9abf5f2e59895a7fdca0fa56a0",
1232
+ "msg" : "238899a84a3cf15202a1fbef4741e133fb24c009a0cd83854c6d1d7c9266d4c3eafe6d1dfc18f13845ccdad7fe277627b5fd5ff2555ce6dfde1ee078540a0a3590c6d9bf2fb63ba9afbe9380e797be7cd017645c5a3613eef38ef89e3b7461e6e700ff2b4deef5636c9d2198b143f797ca1820a3dcc5d462ebf4a8c4c09eb202a23592eb9524082c79adda8fcd56d256041a26bf8f523962ba911ce5a5786570d65be3c4df722ed8830302065febdf944715298a1fbb7d10b68d7da2bf889324314ce51e815c7fbf03aa0a8358aff3a86eb7a33f9a4923660db3047e793bebb0c6918f4395d400381723fdae2832c36efc8e368a68f30f6351c3bc942cd560",
1233
+ "tag" : "98cdd47d3bfdb3ecdabe5e3abaed2058",
1234
+ "result" : "valid"
1235
+ },
1236
+ {
1237
+ "tcId" : 110,
1238
+ "comment" : "Flipped bit 0 in tag",
1239
+ "flags" : [
1240
+ "ModifiedTag"
1241
+ ],
1242
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1243
+ "msg" : "",
1244
+ "tag" : "63d06962dd2c4114a07d0b1ef16df27c",
1245
+ "result" : "invalid"
1246
+ },
1247
+ {
1248
+ "tcId" : 111,
1249
+ "comment" : "Flipped bit 0 in tag",
1250
+ "flags" : [
1251
+ "ModifiedTag"
1252
+ ],
1253
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1254
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1255
+ "tag" : "8bd41561cada5abccc606f00c4a35931",
1256
+ "result" : "invalid"
1257
+ },
1258
+ {
1259
+ "tcId" : 112,
1260
+ "comment" : "Flipped bit 1 in tag",
1261
+ "flags" : [
1262
+ "ModifiedTag"
1263
+ ],
1264
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1265
+ "msg" : "",
1266
+ "tag" : "60d06962dd2c4114a07d0b1ef16df27c",
1267
+ "result" : "invalid"
1268
+ },
1269
+ {
1270
+ "tcId" : 113,
1271
+ "comment" : "Flipped bit 1 in tag",
1272
+ "flags" : [
1273
+ "ModifiedTag"
1274
+ ],
1275
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1276
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1277
+ "tag" : "88d41561cada5abccc606f00c4a35931",
1278
+ "result" : "invalid"
1279
+ },
1280
+ {
1281
+ "tcId" : 114,
1282
+ "comment" : "Flipped bit 7 in tag",
1283
+ "flags" : [
1284
+ "ModifiedTag"
1285
+ ],
1286
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1287
+ "msg" : "",
1288
+ "tag" : "e2d06962dd2c4114a07d0b1ef16df27c",
1289
+ "result" : "invalid"
1290
+ },
1291
+ {
1292
+ "tcId" : 115,
1293
+ "comment" : "Flipped bit 7 in tag",
1294
+ "flags" : [
1295
+ "ModifiedTag"
1296
+ ],
1297
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1298
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1299
+ "tag" : "0ad41561cada5abccc606f00c4a35931",
1300
+ "result" : "invalid"
1301
+ },
1302
+ {
1303
+ "tcId" : 116,
1304
+ "comment" : "Flipped bit 8 in tag",
1305
+ "flags" : [
1306
+ "ModifiedTag"
1307
+ ],
1308
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1309
+ "msg" : "",
1310
+ "tag" : "62d16962dd2c4114a07d0b1ef16df27c",
1311
+ "result" : "invalid"
1312
+ },
1313
+ {
1314
+ "tcId" : 117,
1315
+ "comment" : "Flipped bit 8 in tag",
1316
+ "flags" : [
1317
+ "ModifiedTag"
1318
+ ],
1319
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1320
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1321
+ "tag" : "8ad51561cada5abccc606f00c4a35931",
1322
+ "result" : "invalid"
1323
+ },
1324
+ {
1325
+ "tcId" : 118,
1326
+ "comment" : "Flipped bit 31 in tag",
1327
+ "flags" : [
1328
+ "ModifiedTag"
1329
+ ],
1330
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1331
+ "msg" : "",
1332
+ "tag" : "62d069e2dd2c4114a07d0b1ef16df27c",
1333
+ "result" : "invalid"
1334
+ },
1335
+ {
1336
+ "tcId" : 119,
1337
+ "comment" : "Flipped bit 31 in tag",
1338
+ "flags" : [
1339
+ "ModifiedTag"
1340
+ ],
1341
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1342
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1343
+ "tag" : "8ad415e1cada5abccc606f00c4a35931",
1344
+ "result" : "invalid"
1345
+ },
1346
+ {
1347
+ "tcId" : 120,
1348
+ "comment" : "Flipped bit 32 in tag",
1349
+ "flags" : [
1350
+ "ModifiedTag"
1351
+ ],
1352
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1353
+ "msg" : "",
1354
+ "tag" : "62d06962dc2c4114a07d0b1ef16df27c",
1355
+ "result" : "invalid"
1356
+ },
1357
+ {
1358
+ "tcId" : 121,
1359
+ "comment" : "Flipped bit 32 in tag",
1360
+ "flags" : [
1361
+ "ModifiedTag"
1362
+ ],
1363
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1364
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1365
+ "tag" : "8ad41561cbda5abccc606f00c4a35931",
1366
+ "result" : "invalid"
1367
+ },
1368
+ {
1369
+ "tcId" : 122,
1370
+ "comment" : "Flipped bit 33 in tag",
1371
+ "flags" : [
1372
+ "ModifiedTag"
1373
+ ],
1374
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1375
+ "msg" : "",
1376
+ "tag" : "62d06962df2c4114a07d0b1ef16df27c",
1377
+ "result" : "invalid"
1378
+ },
1379
+ {
1380
+ "tcId" : 123,
1381
+ "comment" : "Flipped bit 33 in tag",
1382
+ "flags" : [
1383
+ "ModifiedTag"
1384
+ ],
1385
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1386
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1387
+ "tag" : "8ad41561c8da5abccc606f00c4a35931",
1388
+ "result" : "invalid"
1389
+ },
1390
+ {
1391
+ "tcId" : 124,
1392
+ "comment" : "Flipped bit 63 in tag",
1393
+ "flags" : [
1394
+ "ModifiedTag"
1395
+ ],
1396
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1397
+ "msg" : "",
1398
+ "tag" : "62d06962dd2c4194a07d0b1ef16df27c",
1399
+ "result" : "invalid"
1400
+ },
1401
+ {
1402
+ "tcId" : 125,
1403
+ "comment" : "Flipped bit 63 in tag",
1404
+ "flags" : [
1405
+ "ModifiedTag"
1406
+ ],
1407
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1408
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1409
+ "tag" : "8ad41561cada5a3ccc606f00c4a35931",
1410
+ "result" : "invalid"
1411
+ },
1412
+ {
1413
+ "tcId" : 126,
1414
+ "comment" : "Flipped bit 64 in tag",
1415
+ "flags" : [
1416
+ "ModifiedTag"
1417
+ ],
1418
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1419
+ "msg" : "",
1420
+ "tag" : "62d06962dd2c4114a17d0b1ef16df27c",
1421
+ "result" : "invalid"
1422
+ },
1423
+ {
1424
+ "tcId" : 127,
1425
+ "comment" : "Flipped bit 64 in tag",
1426
+ "flags" : [
1427
+ "ModifiedTag"
1428
+ ],
1429
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1430
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1431
+ "tag" : "8ad41561cada5abccd606f00c4a35931",
1432
+ "result" : "invalid"
1433
+ },
1434
+ {
1435
+ "tcId" : 128,
1436
+ "comment" : "Flipped bit 71 in tag",
1437
+ "flags" : [
1438
+ "ModifiedTag"
1439
+ ],
1440
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1441
+ "msg" : "",
1442
+ "tag" : "62d06962dd2c4114207d0b1ef16df27c",
1443
+ "result" : "invalid"
1444
+ },
1445
+ {
1446
+ "tcId" : 129,
1447
+ "comment" : "Flipped bit 71 in tag",
1448
+ "flags" : [
1449
+ "ModifiedTag"
1450
+ ],
1451
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1452
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1453
+ "tag" : "8ad41561cada5abc4c606f00c4a35931",
1454
+ "result" : "invalid"
1455
+ },
1456
+ {
1457
+ "tcId" : 130,
1458
+ "comment" : "Flipped bit 77 in tag",
1459
+ "flags" : [
1460
+ "ModifiedTag"
1461
+ ],
1462
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1463
+ "msg" : "",
1464
+ "tag" : "62d06962dd2c4114a05d0b1ef16df27c",
1465
+ "result" : "invalid"
1466
+ },
1467
+ {
1468
+ "tcId" : 131,
1469
+ "comment" : "Flipped bit 77 in tag",
1470
+ "flags" : [
1471
+ "ModifiedTag"
1472
+ ],
1473
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1474
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1475
+ "tag" : "8ad41561cada5abccc406f00c4a35931",
1476
+ "result" : "invalid"
1477
+ },
1478
+ {
1479
+ "tcId" : 132,
1480
+ "comment" : "Flipped bit 80 in tag",
1481
+ "flags" : [
1482
+ "ModifiedTag"
1483
+ ],
1484
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1485
+ "msg" : "",
1486
+ "tag" : "62d06962dd2c4114a07d0a1ef16df27c",
1487
+ "result" : "invalid"
1488
+ },
1489
+ {
1490
+ "tcId" : 133,
1491
+ "comment" : "Flipped bit 80 in tag",
1492
+ "flags" : [
1493
+ "ModifiedTag"
1494
+ ],
1495
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1496
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1497
+ "tag" : "8ad41561cada5abccc606e00c4a35931",
1498
+ "result" : "invalid"
1499
+ },
1500
+ {
1501
+ "tcId" : 134,
1502
+ "comment" : "Flipped bit 96 in tag",
1503
+ "flags" : [
1504
+ "ModifiedTag"
1505
+ ],
1506
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1507
+ "msg" : "",
1508
+ "tag" : "62d06962dd2c4114a07d0b1ef06df27c",
1509
+ "result" : "invalid"
1510
+ },
1511
+ {
1512
+ "tcId" : 135,
1513
+ "comment" : "Flipped bit 96 in tag",
1514
+ "flags" : [
1515
+ "ModifiedTag"
1516
+ ],
1517
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1518
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1519
+ "tag" : "8ad41561cada5abccc606f00c5a35931",
1520
+ "result" : "invalid"
1521
+ },
1522
+ {
1523
+ "tcId" : 136,
1524
+ "comment" : "Flipped bit 97 in tag",
1525
+ "flags" : [
1526
+ "ModifiedTag"
1527
+ ],
1528
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1529
+ "msg" : "",
1530
+ "tag" : "62d06962dd2c4114a07d0b1ef36df27c",
1531
+ "result" : "invalid"
1532
+ },
1533
+ {
1534
+ "tcId" : 137,
1535
+ "comment" : "Flipped bit 97 in tag",
1536
+ "flags" : [
1537
+ "ModifiedTag"
1538
+ ],
1539
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1540
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1541
+ "tag" : "8ad41561cada5abccc606f00c6a35931",
1542
+ "result" : "invalid"
1543
+ },
1544
+ {
1545
+ "tcId" : 138,
1546
+ "comment" : "Flipped bit 103 in tag",
1547
+ "flags" : [
1548
+ "ModifiedTag"
1549
+ ],
1550
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1551
+ "msg" : "",
1552
+ "tag" : "62d06962dd2c4114a07d0b1e716df27c",
1553
+ "result" : "invalid"
1554
+ },
1555
+ {
1556
+ "tcId" : 139,
1557
+ "comment" : "Flipped bit 103 in tag",
1558
+ "flags" : [
1559
+ "ModifiedTag"
1560
+ ],
1561
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1562
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1563
+ "tag" : "8ad41561cada5abccc606f0044a35931",
1564
+ "result" : "invalid"
1565
+ },
1566
+ {
1567
+ "tcId" : 140,
1568
+ "comment" : "Flipped bit 120 in tag",
1569
+ "flags" : [
1570
+ "ModifiedTag"
1571
+ ],
1572
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1573
+ "msg" : "",
1574
+ "tag" : "62d06962dd2c4114a07d0b1ef16df27d",
1575
+ "result" : "invalid"
1576
+ },
1577
+ {
1578
+ "tcId" : 141,
1579
+ "comment" : "Flipped bit 120 in tag",
1580
+ "flags" : [
1581
+ "ModifiedTag"
1582
+ ],
1583
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1584
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1585
+ "tag" : "8ad41561cada5abccc606f00c4a35930",
1586
+ "result" : "invalid"
1587
+ },
1588
+ {
1589
+ "tcId" : 142,
1590
+ "comment" : "Flipped bit 121 in tag",
1591
+ "flags" : [
1592
+ "ModifiedTag"
1593
+ ],
1594
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1595
+ "msg" : "",
1596
+ "tag" : "62d06962dd2c4114a07d0b1ef16df27e",
1597
+ "result" : "invalid"
1598
+ },
1599
+ {
1600
+ "tcId" : 143,
1601
+ "comment" : "Flipped bit 121 in tag",
1602
+ "flags" : [
1603
+ "ModifiedTag"
1604
+ ],
1605
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1606
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1607
+ "tag" : "8ad41561cada5abccc606f00c4a35933",
1608
+ "result" : "invalid"
1609
+ },
1610
+ {
1611
+ "tcId" : 144,
1612
+ "comment" : "Flipped bit 126 in tag",
1613
+ "flags" : [
1614
+ "ModifiedTag"
1615
+ ],
1616
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1617
+ "msg" : "",
1618
+ "tag" : "62d06962dd2c4114a07d0b1ef16df23c",
1619
+ "result" : "invalid"
1620
+ },
1621
+ {
1622
+ "tcId" : 145,
1623
+ "comment" : "Flipped bit 126 in tag",
1624
+ "flags" : [
1625
+ "ModifiedTag"
1626
+ ],
1627
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1628
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1629
+ "tag" : "8ad41561cada5abccc606f00c4a35971",
1630
+ "result" : "invalid"
1631
+ },
1632
+ {
1633
+ "tcId" : 146,
1634
+ "comment" : "Flipped bit 127 in tag",
1635
+ "flags" : [
1636
+ "ModifiedTag"
1637
+ ],
1638
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1639
+ "msg" : "",
1640
+ "tag" : "62d06962dd2c4114a07d0b1ef16df2fc",
1641
+ "result" : "invalid"
1642
+ },
1643
+ {
1644
+ "tcId" : 147,
1645
+ "comment" : "Flipped bit 127 in tag",
1646
+ "flags" : [
1647
+ "ModifiedTag"
1648
+ ],
1649
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1650
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1651
+ "tag" : "8ad41561cada5abccc606f00c4a359b1",
1652
+ "result" : "invalid"
1653
+ },
1654
+ {
1655
+ "tcId" : 148,
1656
+ "comment" : "Flipped bits 0 and 64 in tag",
1657
+ "flags" : [
1658
+ "ModifiedTag"
1659
+ ],
1660
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1661
+ "msg" : "",
1662
+ "tag" : "63d06962dd2c4114a17d0b1ef16df27c",
1663
+ "result" : "invalid"
1664
+ },
1665
+ {
1666
+ "tcId" : 149,
1667
+ "comment" : "Flipped bits 0 and 64 in tag",
1668
+ "flags" : [
1669
+ "ModifiedTag"
1670
+ ],
1671
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1672
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1673
+ "tag" : "8bd41561cada5abccd606f00c4a35931",
1674
+ "result" : "invalid"
1675
+ },
1676
+ {
1677
+ "tcId" : 150,
1678
+ "comment" : "Flipped bits 31 and 63 in tag",
1679
+ "flags" : [
1680
+ "ModifiedTag"
1681
+ ],
1682
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1683
+ "msg" : "",
1684
+ "tag" : "62d069e2dd2c4194a07d0b1ef16df27c",
1685
+ "result" : "invalid"
1686
+ },
1687
+ {
1688
+ "tcId" : 151,
1689
+ "comment" : "Flipped bits 31 and 63 in tag",
1690
+ "flags" : [
1691
+ "ModifiedTag"
1692
+ ],
1693
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1694
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1695
+ "tag" : "8ad415e1cada5a3ccc606f00c4a35931",
1696
+ "result" : "invalid"
1697
+ },
1698
+ {
1699
+ "tcId" : 152,
1700
+ "comment" : "Flipped bits 63 and 127 in tag",
1701
+ "flags" : [
1702
+ "ModifiedTag"
1703
+ ],
1704
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1705
+ "msg" : "",
1706
+ "tag" : "62d06962dd2c4194a07d0b1ef16df2fc",
1707
+ "result" : "invalid"
1708
+ },
1709
+ {
1710
+ "tcId" : 153,
1711
+ "comment" : "Flipped bits 63 and 127 in tag",
1712
+ "flags" : [
1713
+ "ModifiedTag"
1714
+ ],
1715
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1716
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1717
+ "tag" : "8ad41561cada5a3ccc606f00c4a359b1",
1718
+ "result" : "invalid"
1719
+ },
1720
+ {
1721
+ "tcId" : 154,
1722
+ "comment" : "all bits of tag flipped",
1723
+ "flags" : [
1724
+ "ModifiedTag"
1725
+ ],
1726
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1727
+ "msg" : "",
1728
+ "tag" : "9d2f969d22d3beeb5f82f4e10e920d83",
1729
+ "result" : "invalid"
1730
+ },
1731
+ {
1732
+ "tcId" : 155,
1733
+ "comment" : "all bits of tag flipped",
1734
+ "flags" : [
1735
+ "ModifiedTag"
1736
+ ],
1737
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1738
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1739
+ "tag" : "752bea9e3525a543339f90ff3b5ca6ce",
1740
+ "result" : "invalid"
1741
+ },
1742
+ {
1743
+ "tcId" : 156,
1744
+ "comment" : "Tag changed to all zero",
1745
+ "flags" : [
1746
+ "ModifiedTag"
1747
+ ],
1748
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1749
+ "msg" : "",
1750
+ "tag" : "00000000000000000000000000000000",
1751
+ "result" : "invalid"
1752
+ },
1753
+ {
1754
+ "tcId" : 157,
1755
+ "comment" : "Tag changed to all zero",
1756
+ "flags" : [
1757
+ "ModifiedTag"
1758
+ ],
1759
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1760
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1761
+ "tag" : "00000000000000000000000000000000",
1762
+ "result" : "invalid"
1763
+ },
1764
+ {
1765
+ "tcId" : 158,
1766
+ "comment" : "tag changed to all 1",
1767
+ "flags" : [
1768
+ "ModifiedTag"
1769
+ ],
1770
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1771
+ "msg" : "",
1772
+ "tag" : "ffffffffffffffffffffffffffffffff",
1773
+ "result" : "invalid"
1774
+ },
1775
+ {
1776
+ "tcId" : 159,
1777
+ "comment" : "tag changed to all 1",
1778
+ "flags" : [
1779
+ "ModifiedTag"
1780
+ ],
1781
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1782
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1783
+ "tag" : "ffffffffffffffffffffffffffffffff",
1784
+ "result" : "invalid"
1785
+ },
1786
+ {
1787
+ "tcId" : 160,
1788
+ "comment" : "msbs changed in tag",
1789
+ "flags" : [
1790
+ "ModifiedTag"
1791
+ ],
1792
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1793
+ "msg" : "",
1794
+ "tag" : "e250e9e25dacc19420fd8b9e71ed72fc",
1795
+ "result" : "invalid"
1796
+ },
1797
+ {
1798
+ "tcId" : 161,
1799
+ "comment" : "msbs changed in tag",
1800
+ "flags" : [
1801
+ "ModifiedTag"
1802
+ ],
1803
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1804
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1805
+ "tag" : "0a5495e14a5ada3c4ce0ef804423d9b1",
1806
+ "result" : "invalid"
1807
+ },
1808
+ {
1809
+ "tcId" : 162,
1810
+ "comment" : "lsbs changed in tag",
1811
+ "flags" : [
1812
+ "ModifiedTag"
1813
+ ],
1814
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1815
+ "msg" : "",
1816
+ "tag" : "63d16863dc2d4015a17c0a1ff06cf37d",
1817
+ "result" : "invalid"
1818
+ },
1819
+ {
1820
+ "tcId" : 163,
1821
+ "comment" : "lsbs changed in tag",
1822
+ "flags" : [
1823
+ "ModifiedTag"
1824
+ ],
1825
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
1826
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1827
+ "tag" : "8bd51460cbdb5bbdcd616e01c5a25830",
1828
+ "result" : "invalid"
1829
+ }
1830
+ ]
1831
+ },
1832
+ {
1833
+ "type" : "MacTest",
1834
+ "keySize" : 128,
1835
+ "tagSize" : 256,
1836
+ "tests" : [
1837
+ {
1838
+ "tcId" : 164,
1839
+ "comment" : "short key",
1840
+ "flags" : [
1841
+ "Pseudorandom"
1842
+ ],
1843
+ "key" : "a349ac0a9f9f74e48e099cc3dbf9a9c9",
1844
+ "msg" : "",
1845
+ "tag" : "4a8f573fd11a441f7387bec1c5db992ca8ff0dea08639d25f0479f9d5b73eeee",
1846
+ "result" : "valid"
1847
+ },
1848
+ {
1849
+ "tcId" : 165,
1850
+ "comment" : "short key",
1851
+ "flags" : [
1852
+ "Pseudorandom"
1853
+ ],
1854
+ "key" : "ac686ba0f1a51b4ec4f0b30492b7f556",
1855
+ "msg" : "2fa43a14ae500507deb95ab5bd32b0fe",
1856
+ "tag" : "444ec6f9b3a6afe977a93d080425526cf25367fcea2bc88b534b2e9a0dbe659f",
1857
+ "result" : "valid"
1858
+ },
1859
+ {
1860
+ "tcId" : 166,
1861
+ "comment" : "short key",
1862
+ "flags" : [
1863
+ "Pseudorandom"
1864
+ ],
1865
+ "key" : "73ef9ef1a4225e51e3c1db3ace1fa24f",
1866
+ "msg" : "ffad380d9aabb0acede5c1bf112925cdfc3d379fc2376a4fe2644490d0430ac3",
1867
+ "tag" : "5b79aae2aa78b9aaa6ffbbaebb71fb6e622d49f7e7d6275178c879d9fbc0a7d6",
1868
+ "result" : "valid"
1869
+ }
1870
+ ]
1871
+ },
1872
+ {
1873
+ "type" : "MacTest",
1874
+ "keySize" : 128,
1875
+ "tagSize" : 128,
1876
+ "tests" : [
1877
+ {
1878
+ "tcId" : 167,
1879
+ "comment" : "short key",
1880
+ "flags" : [
1881
+ "Pseudorandom"
1882
+ ],
1883
+ "key" : "e34f15c7bd819930fe9d66e0c166e61c",
1884
+ "msg" : "",
1885
+ "tag" : "2fd8b5b96fe9ca363c7031310f436bc6",
1886
+ "result" : "valid"
1887
+ },
1888
+ {
1889
+ "tcId" : 168,
1890
+ "comment" : "short key",
1891
+ "flags" : [
1892
+ "Pseudorandom"
1893
+ ],
1894
+ "key" : "e09eaa5a3f5e56d279d5e7a03373f6ea",
1895
+ "msg" : "ef4eab37181f98423e53e947e7050fd0",
1896
+ "tag" : "9033b0a30e67e22f2a255486dbb87097",
1897
+ "result" : "valid"
1898
+ },
1899
+ {
1900
+ "tcId" : 169,
1901
+ "comment" : "short key",
1902
+ "flags" : [
1903
+ "Pseudorandom"
1904
+ ],
1905
+ "key" : "9bd3902ed0996c869b572272e76f3889",
1906
+ "msg" : "a7ba19d49ee1ea02f098aa8e30c740d893a4456ccc294040484ed8a00a55f93e",
1907
+ "tag" : "e4a8eb8bb6fc019258048e069919dd03",
1908
+ "result" : "valid"
1909
+ }
1910
+ ]
1911
+ },
1912
+ {
1913
+ "type" : "MacTest",
1914
+ "keySize" : 520,
1915
+ "tagSize" : 256,
1916
+ "tests" : [
1917
+ {
1918
+ "tcId" : 170,
1919
+ "comment" : "long key",
1920
+ "flags" : [
1921
+ "Pseudorandom"
1922
+ ],
1923
+ "key" : "8a0c46eb8a2959e39865330079763341e7439dab149694ee57e0d61ec73d947e1d5301cd974e18a5e0d1cf0d2c37e8aadd9fd589d57ef32e47024a99bc3f70c077",
1924
+ "msg" : "",
1925
+ "tag" : "05a64be452f9c6e190113eea89bd4ca6ecd14e8fe924a3adf41a53a381615f34",
1926
+ "result" : "valid"
1927
+ },
1928
+ {
1929
+ "tcId" : 171,
1930
+ "comment" : "long key",
1931
+ "flags" : [
1932
+ "Pseudorandom"
1933
+ ],
1934
+ "key" : "2877ebb81f80334fd00516337446c5cf5ad4a3a2e197269e5b0ad1889dfe2b4b0aaa676fac55b36ce3affc7f1092ab89c53273a837bd5bc94d1a9d9e5b02e9856f",
1935
+ "msg" : "ba448db88f154f775028fdecf9e6752d",
1936
+ "tag" : "786b60be5e986337f1c64a67704a180c65d8b0d6e8befe4abb7979d8a114bd38",
1937
+ "result" : "valid"
1938
+ },
1939
+ {
1940
+ "tcId" : 172,
1941
+ "comment" : "long key",
1942
+ "flags" : [
1943
+ "Pseudorandom"
1944
+ ],
1945
+ "key" : "21178e26bc28ffc27c06f762ba190a627075856d7ca6feab79ac63149b17126e34fd9e5590e0e90aac801df09505d8af2dd0a2703b352c573ac9d2cb063927f2af",
1946
+ "msg" : "7d5f1d6b993452b1b53a4375760d10a20d46a0ab9ec3943fc4b07a2ce735e731",
1947
+ "tag" : "9bae00d08a9dfc0eb02c225a57e9ffb3ae38a096da54f025dc901cd174a9212f",
1948
+ "result" : "valid"
1949
+ }
1950
+ ]
1951
+ },
1952
+ {
1953
+ "type" : "MacTest",
1954
+ "keySize" : 520,
1955
+ "tagSize" : 128,
1956
+ "tests" : [
1957
+ {
1958
+ "tcId" : 173,
1959
+ "comment" : "long key",
1960
+ "flags" : [
1961
+ "Pseudorandom"
1962
+ ],
1963
+ "key" : "813e0c078c221375e80590ace6774eafd2d2c242350988d02efa550e05aecbe100c1b8bf154c932cf9e57177015c816c42bc7fbc71ceaa5328c7316b7f0f30330f",
1964
+ "msg" : "",
1965
+ "tag" : "87ba20fe77815786e5159ab713c1bab5",
1966
+ "result" : "valid"
1967
+ },
1968
+ {
1969
+ "tcId" : 174,
1970
+ "comment" : "long key",
1971
+ "flags" : [
1972
+ "Pseudorandom"
1973
+ ],
1974
+ "key" : "5713343096b0aaf0562a6b92c1a15535924160475a4e4233589159728c562e3b2ad96f740c6a4da2bc3f768ce98c9bd66bac28d1646ff592028c940d455f35eeb4",
1975
+ "msg" : "71712de2fac1fb855673bff72af64257",
1976
+ "tag" : "2db582e6ceaadb885a36e27a2bf50dea",
1977
+ "result" : "valid"
1978
+ },
1979
+ {
1980
+ "tcId" : 175,
1981
+ "comment" : "long key",
1982
+ "flags" : [
1983
+ "Pseudorandom"
1984
+ ],
1985
+ "key" : "7208afbecf5f1f34828f98b719414e280716de64f5edd1ae1c774153cd2022337bb20fade1b7856f1dbfd40e2b4307f1293ceff1692ee90d8c90b5fdf953ab01a5",
1986
+ "msg" : "43b53302b604d613e62db002044a4782d572ac8fbd3cd0ece91b43bc52e18e98",
1987
+ "tag" : "75531ead9c8db199ba2b1ec6b7e00d60",
1988
+ "result" : "valid"
1989
+ }
1990
+ ]
1991
+ }
1992
+ ]
1993
+ }