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,1978 @@
1
+ {
2
+ "algorithm" : "HMACSHA512/224",
3
+ "schema" : "mac_test_schema.json",
4
+ "generatorVersion" : "0.9",
5
+ "numberOfTests" : 173,
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" : 224,
29
+ "tests" : [
30
+ {
31
+ "tcId" : 1,
32
+ "comment" : "using SHA-512 instead of SHA-512/224",
33
+ "flags" : [
34
+ "TruncatedHmac"
35
+ ],
36
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
37
+ "msg" : "313233343030",
38
+ "tag" : "61d2fbea647212738aeb15d76ef078c3b66b0daa3bfdd55ce600145d",
39
+ "result" : "invalid"
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "type" : "MacTest",
45
+ "keySize" : 224,
46
+ "tagSize" : 224,
47
+ "tests" : [
48
+ {
49
+ "tcId" : 2,
50
+ "comment" : "empty message",
51
+ "flags" : [
52
+ "Pseudorandom"
53
+ ],
54
+ "key" : "7eef1e40253350eb9307cc6bd8ab8df434bc2faf7095e45b50ffdd64",
55
+ "msg" : "",
56
+ "tag" : "de1ea6d2880770285591af1f04be43e44fd55ae0c5130b5a18af7d9b",
57
+ "result" : "valid"
58
+ },
59
+ {
60
+ "tcId" : 3,
61
+ "comment" : "short message",
62
+ "flags" : [
63
+ "Pseudorandom"
64
+ ],
65
+ "key" : "8648ee936c6ebc5ae4bb48c1139a54e3ac5d897beec492dc4d740752",
66
+ "msg" : "2e",
67
+ "tag" : "5979cc5dcdaf49daaadfc3388de3f5a04d183ebc896fd4f9dbdcc513",
68
+ "result" : "valid"
69
+ },
70
+ {
71
+ "tcId" : 4,
72
+ "comment" : "short message",
73
+ "flags" : [
74
+ "Pseudorandom"
75
+ ],
76
+ "key" : "2297d78cc45faf9b885b36ac80205cc08e1b730f264f23f4edbbb406",
77
+ "msg" : "329f",
78
+ "tag" : "ed41089eb265e7b3c265c13426cefd0b934dfd05b3a8b0cd6962539e",
79
+ "result" : "valid"
80
+ },
81
+ {
82
+ "tcId" : 5,
83
+ "comment" : "short message",
84
+ "flags" : [
85
+ "Pseudorandom"
86
+ ],
87
+ "key" : "0361a904f7cbd107a617614ab69d11208ee6d423b3ae90e2bb6d7e54",
88
+ "msg" : "e6e765",
89
+ "tag" : "742bfa0582e39a539a98068b989507f63bcbd8f99798746686846f53",
90
+ "result" : "valid"
91
+ },
92
+ {
93
+ "tcId" : 6,
94
+ "comment" : "short message",
95
+ "flags" : [
96
+ "Pseudorandom"
97
+ ],
98
+ "key" : "264a8d2128e8fd0972d9acc66dc275b1286beeb0aff7ce8e97c7b96c",
99
+ "msg" : "25838e50",
100
+ "tag" : "bebb169e5470c13fcae6e3f9726a6d8894bf22e72dcddf6ebc669345",
101
+ "result" : "valid"
102
+ },
103
+ {
104
+ "tcId" : 7,
105
+ "comment" : "short message",
106
+ "flags" : [
107
+ "Pseudorandom"
108
+ ],
109
+ "key" : "6dde8828f09b7aa981082aa116fca3b7341721c0440803f52cc9732e",
110
+ "msg" : "be81602da7",
111
+ "tag" : "91379c58125c721afc3e47813bc5f6946a22413f05becfbf0faf85d0",
112
+ "result" : "valid"
113
+ },
114
+ {
115
+ "tcId" : 8,
116
+ "comment" : "short message",
117
+ "flags" : [
118
+ "Pseudorandom"
119
+ ],
120
+ "key" : "3ba156ffdc55d155bd085105aca64d13044db60c82cf2cd9d61d098f",
121
+ "msg" : "69c76c8937a0",
122
+ "tag" : "4c9d5622bebf233b68b087ad802736b5027f013ca6382b11ac4cc992",
123
+ "result" : "valid"
124
+ },
125
+ {
126
+ "tcId" : 9,
127
+ "comment" : "short message",
128
+ "flags" : [
129
+ "Pseudorandom"
130
+ ],
131
+ "key" : "9c2739bae2a863fb0236466ba3408f4eec8d43206d56bb7aa2f8f75e",
132
+ "msg" : "aaf4c9146db948",
133
+ "tag" : "543d1984aec6d26085c4fb62e1684a0b93d1f94ca22a6252324bae2b",
134
+ "result" : "valid"
135
+ },
136
+ {
137
+ "tcId" : 10,
138
+ "comment" : "short message",
139
+ "flags" : [
140
+ "Pseudorandom"
141
+ ],
142
+ "key" : "31d9cae2c3df064018209b121f9e883976ea757942ecda9d92fdadfd",
143
+ "msg" : "b844289529206f5a",
144
+ "tag" : "9f7209e0d880c1bcd9af1379ac84bf0d10230b8a2f84fd653bddda9e",
145
+ "result" : "valid"
146
+ },
147
+ {
148
+ "tcId" : 11,
149
+ "comment" : "short message",
150
+ "flags" : [
151
+ "Pseudorandom"
152
+ ],
153
+ "key" : "89a1b9e9004444c1d4e967570c21a05512d3f618ec168fc3e13ea5a2",
154
+ "msg" : "6b42eb6d84e90c70c2",
155
+ "tag" : "685e480dfd6c29f8fb87e616c18ec6d5a9405777dd092e03dca1a67a",
156
+ "result" : "valid"
157
+ },
158
+ {
159
+ "tcId" : 12,
160
+ "comment" : "short message",
161
+ "flags" : [
162
+ "Pseudorandom"
163
+ ],
164
+ "key" : "4398731752fd7af1db86ebccbee0ad65eb5faf00ace6c9aa35441faa",
165
+ "msg" : "1ae2e7d917c48026570d",
166
+ "tag" : "07f2a5d4fde17d5b4fe1b97fbb96fac05863bf45a963702e2c51b045",
167
+ "result" : "valid"
168
+ },
169
+ {
170
+ "tcId" : 13,
171
+ "comment" : "short message",
172
+ "flags" : [
173
+ "Pseudorandom"
174
+ ],
175
+ "key" : "339460d6bb26ca60ebcef10c38587b9e575c398491782ccf9e8f6803",
176
+ "msg" : "ca03eb4f37536b2377738e",
177
+ "tag" : "354c2bdedcf3c7d22054435391984c4ced92f4c6de20d2d057cc3ea1",
178
+ "result" : "valid"
179
+ },
180
+ {
181
+ "tcId" : 14,
182
+ "comment" : "short message",
183
+ "flags" : [
184
+ "Pseudorandom"
185
+ ],
186
+ "key" : "025f8380d10b8207b3623e4a90f79c3e753b1be6a35b88b68330a40c",
187
+ "msg" : "e57daef9ede4e915c3a9eece",
188
+ "tag" : "01d8f38ff5e10f7497cb76846245cc7d25a139f31ec8b40f055b7c50",
189
+ "result" : "valid"
190
+ },
191
+ {
192
+ "tcId" : 15,
193
+ "comment" : "short message",
194
+ "flags" : [
195
+ "Pseudorandom"
196
+ ],
197
+ "key" : "0bdc5f51f8a1a35d75554be70efbcdf51e54f30fa4696f727431941f",
198
+ "msg" : "cc3dd1eb0690f7af09ad408f9c",
199
+ "tag" : "c08767ccaae2148b2c7f5a19ccbe0c59993d5b3401ee2a3e50f0bc5b",
200
+ "result" : "valid"
201
+ },
202
+ {
203
+ "tcId" : 16,
204
+ "comment" : "short message",
205
+ "flags" : [
206
+ "Pseudorandom"
207
+ ],
208
+ "key" : "5ada97d90a74a7d4a68c5464fff25a9b7fa2e75d6acf0a59f143a2e9",
209
+ "msg" : "3fe4ede158af108e09f543e14ab7",
210
+ "tag" : "15c164bd2d2e729bdf205a78ef3a2ae2d9c24d963b04995411a22b31",
211
+ "result" : "valid"
212
+ },
213
+ {
214
+ "tcId" : 17,
215
+ "comment" : "short message",
216
+ "flags" : [
217
+ "Pseudorandom"
218
+ ],
219
+ "key" : "007afe6b7c0701c30cb76b431afa3510c8b31d21cfe0bbaa5289cd08",
220
+ "msg" : "c2cf80005c591c1f737369fcc212f0",
221
+ "tag" : "d97c88423ad64a10a66c471979589f155f2020d6cde7adfda5b76487",
222
+ "result" : "valid"
223
+ },
224
+ {
225
+ "tcId" : 18,
226
+ "comment" : "",
227
+ "flags" : [
228
+ "Pseudorandom"
229
+ ],
230
+ "key" : "26491168a32ce8cbc4c0cd64107e4fcc432f07d59c992862e1e55b1e",
231
+ "msg" : "15e51091b4f424ba1fdecb5e2fba11f6",
232
+ "tag" : "7820d75782cbcb699bdf3a46a5be7b4ec43a00b2b78000ea738345a2",
233
+ "result" : "valid"
234
+ },
235
+ {
236
+ "tcId" : 19,
237
+ "comment" : "",
238
+ "flags" : [
239
+ "Pseudorandom"
240
+ ],
241
+ "key" : "6978b6c134dd6949832d65e4cb9c1e1dc36beae4a134907c80da0f44",
242
+ "msg" : "6641d834b3fbfdb5d178007801f7b4e7b1",
243
+ "tag" : "3b76bfd395df3bfd1e26e8c97639ee2a1549f44327a6cbdea2c320d2",
244
+ "result" : "valid"
245
+ },
246
+ {
247
+ "tcId" : 20,
248
+ "comment" : "",
249
+ "flags" : [
250
+ "Pseudorandom"
251
+ ],
252
+ "key" : "9f9fb280adf12e739548b1d676cb794d685b9104e63b619b055cb60f",
253
+ "msg" : "91513dd6de40a1c23f8d1eb0ab8f5ea6f6835506ec750894",
254
+ "tag" : "ef1c83ce9ebbc0b210bf488534d56149d1e67f6f13e0b3b5c0eff85c",
255
+ "result" : "valid"
256
+ },
257
+ {
258
+ "tcId" : 21,
259
+ "comment" : "",
260
+ "flags" : [
261
+ "Pseudorandom"
262
+ ],
263
+ "key" : "3b1b16e6dd2e69559dbeb964e10fc94c068471b2374d3a2d24d2d466",
264
+ "msg" : "8ecd55b56c668dcb8e8b1efd699c0e4a464204d29af140f87d3f5075495378a3",
265
+ "tag" : "79960b85cf3b9c36e36e98a8438253a7ac42fa700029323a671725c0",
266
+ "result" : "valid"
267
+ },
268
+ {
269
+ "tcId" : 22,
270
+ "comment" : "long message",
271
+ "flags" : [
272
+ "Pseudorandom"
273
+ ],
274
+ "key" : "fc296398845063e661bdf36ff3615926eaccbf06947cd31e6677f710",
275
+ "msg" : "62bd0ad75d64c554cb2cc109c6e4019fc601c61cabdf99f8de871edc17a301b4c1f55a15ed66f91eb4666dd08bc59c",
276
+ "tag" : "8714e7993140c4811cfa66565d10f2e7f12a64e92fbce35243b2bb93",
277
+ "result" : "valid"
278
+ },
279
+ {
280
+ "tcId" : 23,
281
+ "comment" : "long message",
282
+ "flags" : [
283
+ "Pseudorandom"
284
+ ],
285
+ "key" : "6c98d1feafff9861351966bc6ed19ed467f9dc767fa0df6b56955554",
286
+ "msg" : "e99d51a1d9a25c5842501a5383133578c8debe501581b1610f7575519bbd26f01ab7cbe069bfd5df3699a2fea5b461a3",
287
+ "tag" : "2d14e4be0d01fc2d8672d99100c00e8e04189163e4c933b6354b880f",
288
+ "result" : "valid"
289
+ },
290
+ {
291
+ "tcId" : 24,
292
+ "comment" : "long message",
293
+ "flags" : [
294
+ "Pseudorandom"
295
+ ],
296
+ "key" : "42a164f94e33d574118e0f8c938bbc2874bab219ee7a179f21e13b02",
297
+ "msg" : "e895639631f8b5d48e3ce00eb310bf129976ffced96a6f30a09d6ac1c291f73e93690526d86cc4d1a8e21c11f5a8979308",
298
+ "tag" : "a097c8fef5ac1138bc3aafb208d62dcbdc7ff9269edf0d2f17d37ad4",
299
+ "result" : "valid"
300
+ },
301
+ {
302
+ "tcId" : 25,
303
+ "comment" : "long message",
304
+ "flags" : [
305
+ "Pseudorandom"
306
+ ],
307
+ "key" : "c1b5b91210667e72aa510346e1811358815a3330c5ed27a695c39451",
308
+ "msg" : "bf1086c3ea8b8840418c690c92152c73a6730bd1a0210c8b1d25c43a2193e739684f04a25a52cc305599f22ba6f70c8ed00d10b914a9522a25e06c471ebca2ff1bb4fa6799b85122020978dfa66ef12ed26ad38331b26eaf591afceac96d8c771eae50fb7f46242337dd0029f4813b53",
309
+ "tag" : "09877e2602fefd379afe23f0e75a3979f11ad516bd11d0c04e77ec64",
310
+ "result" : "valid"
311
+ },
312
+ {
313
+ "tcId" : 26,
314
+ "comment" : "long message",
315
+ "flags" : [
316
+ "Pseudorandom"
317
+ ],
318
+ "key" : "4f09d14d40e475b68288c080668ebb1bc8c6be3191f6664d91a23fcd",
319
+ "msg" : "ae8b6ecc219b368d22fb596e42652d0bffee0b20d69cfd089ce3dc9303ba2f054ccaf5f5147c7968a028b140f5e3c9274eae2afc61c3bb6298dc598df77dec1cd2dd84212693b082b8132ad0f0b19f66db69fa7f6bf352b4feac724ce048440d2a42b44d53bb62fe2ab25f7f54bedf9ce7ddafd8e09330dacc6d52ee9b65f5",
320
+ "tag" : "b4ad5a816e5e7f93cd357b7d9c3ff8fa46f4440c39a0d2c19b4ee1f3",
321
+ "result" : "valid"
322
+ },
323
+ {
324
+ "tcId" : 27,
325
+ "comment" : "long message",
326
+ "flags" : [
327
+ "Pseudorandom"
328
+ ],
329
+ "key" : "613f414cd94130bb8a6243e12eccd90836808428b4a7177867934da0",
330
+ "msg" : "f696b9063b64816a45064f48ca05ffe4d5cc3d0b3beb0dd4057b6ada994969bf039bfbb72ce197101cc4e4b3959b3702f045afb7fb3113c997606dcaf2aaab31e02ac6ee597dfc0f9143d0effedc9ae7ea10e7ddb1db860a91afec62c48ed9c0a6c10b4da1de748caf7f7a5e01799ac57090daf4e3352fe859c5131c205d262d",
331
+ "tag" : "c6912ef24a670cd423391ff7cff4c44329c5e604cf6d8bd9a5acffa1",
332
+ "result" : "valid"
333
+ },
334
+ {
335
+ "tcId" : 28,
336
+ "comment" : "long message",
337
+ "flags" : [
338
+ "Pseudorandom"
339
+ ],
340
+ "key" : "5b88275307aaf691a0cf0c51f50553dda972d14f8afff98e62c2d972",
341
+ "msg" : "57e4efbde1ce9fee2e29db19dfc6ba3bcb17f33765af7f20133bbd1910d542145c7def187a304517b8d8954454a90a717f67f9c8cc587965fd9b43f41ecc50b3458d8ce9f66b475f1eaef4a29ba89a3d58e5011c92acd1536fcd18abec29411b389b64f7f344777ed6deae32127abaa69a50ba22a11d6e59354f2ff0e3c3e3293cdc335411cf55b180bab59da36903a6fba91df34d2aadf7017ff49a4fbd73c9c74469f225dafc0a0c7048c2b824cc0cba8cad8aced11b8cdac3243cdb5b654f7a15ce2014e92ee287d06904d778512a1b1f5ec0c9b090b9ab439c44266b6be3d6a98947d26d079e4f7e849f3c6d93de98624e6c5f53ec02dbd368bc24a300",
342
+ "tag" : "3699b1e0af2aedb5eb7db914df2267d7ec8982869ad2117dab613297",
343
+ "result" : "valid"
344
+ },
345
+ {
346
+ "tcId" : 29,
347
+ "comment" : "Flipped bit 0 in tag",
348
+ "flags" : [
349
+ "ModifiedTag"
350
+ ],
351
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
352
+ "msg" : "",
353
+ "tag" : "49efbd72991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
354
+ "result" : "invalid"
355
+ },
356
+ {
357
+ "tcId" : 30,
358
+ "comment" : "Flipped bit 0 in tag",
359
+ "flags" : [
360
+ "ModifiedTag"
361
+ ],
362
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
363
+ "msg" : "000102030405060708090a0b0c0d0e0f",
364
+ "tag" : "879315366722fe790cae426b35a9354196cee5f968db30eb0b5163b2",
365
+ "result" : "invalid"
366
+ },
367
+ {
368
+ "tcId" : 31,
369
+ "comment" : "Flipped bit 1 in tag",
370
+ "flags" : [
371
+ "ModifiedTag"
372
+ ],
373
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
374
+ "msg" : "",
375
+ "tag" : "4aefbd72991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
376
+ "result" : "invalid"
377
+ },
378
+ {
379
+ "tcId" : 32,
380
+ "comment" : "Flipped bit 1 in tag",
381
+ "flags" : [
382
+ "ModifiedTag"
383
+ ],
384
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
385
+ "msg" : "000102030405060708090a0b0c0d0e0f",
386
+ "tag" : "849315366722fe790cae426b35a9354196cee5f968db30eb0b5163b2",
387
+ "result" : "invalid"
388
+ },
389
+ {
390
+ "tcId" : 33,
391
+ "comment" : "Flipped bit 7 in tag",
392
+ "flags" : [
393
+ "ModifiedTag"
394
+ ],
395
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
396
+ "msg" : "",
397
+ "tag" : "c8efbd72991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
398
+ "result" : "invalid"
399
+ },
400
+ {
401
+ "tcId" : 34,
402
+ "comment" : "Flipped bit 7 in tag",
403
+ "flags" : [
404
+ "ModifiedTag"
405
+ ],
406
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
407
+ "msg" : "000102030405060708090a0b0c0d0e0f",
408
+ "tag" : "069315366722fe790cae426b35a9354196cee5f968db30eb0b5163b2",
409
+ "result" : "invalid"
410
+ },
411
+ {
412
+ "tcId" : 35,
413
+ "comment" : "Flipped bit 8 in tag",
414
+ "flags" : [
415
+ "ModifiedTag"
416
+ ],
417
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
418
+ "msg" : "",
419
+ "tag" : "48eebd72991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
420
+ "result" : "invalid"
421
+ },
422
+ {
423
+ "tcId" : 36,
424
+ "comment" : "Flipped bit 8 in tag",
425
+ "flags" : [
426
+ "ModifiedTag"
427
+ ],
428
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
429
+ "msg" : "000102030405060708090a0b0c0d0e0f",
430
+ "tag" : "869215366722fe790cae426b35a9354196cee5f968db30eb0b5163b2",
431
+ "result" : "invalid"
432
+ },
433
+ {
434
+ "tcId" : 37,
435
+ "comment" : "Flipped bit 31 in tag",
436
+ "flags" : [
437
+ "ModifiedTag"
438
+ ],
439
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
440
+ "msg" : "",
441
+ "tag" : "48efbdf2991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
442
+ "result" : "invalid"
443
+ },
444
+ {
445
+ "tcId" : 38,
446
+ "comment" : "Flipped bit 31 in tag",
447
+ "flags" : [
448
+ "ModifiedTag"
449
+ ],
450
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
451
+ "msg" : "000102030405060708090a0b0c0d0e0f",
452
+ "tag" : "869315b66722fe790cae426b35a9354196cee5f968db30eb0b5163b2",
453
+ "result" : "invalid"
454
+ },
455
+ {
456
+ "tcId" : 39,
457
+ "comment" : "Flipped bit 32 in tag",
458
+ "flags" : [
459
+ "ModifiedTag"
460
+ ],
461
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
462
+ "msg" : "",
463
+ "tag" : "48efbd72981a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
464
+ "result" : "invalid"
465
+ },
466
+ {
467
+ "tcId" : 40,
468
+ "comment" : "Flipped bit 32 in tag",
469
+ "flags" : [
470
+ "ModifiedTag"
471
+ ],
472
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
473
+ "msg" : "000102030405060708090a0b0c0d0e0f",
474
+ "tag" : "869315366622fe790cae426b35a9354196cee5f968db30eb0b5163b2",
475
+ "result" : "invalid"
476
+ },
477
+ {
478
+ "tcId" : 41,
479
+ "comment" : "Flipped bit 33 in tag",
480
+ "flags" : [
481
+ "ModifiedTag"
482
+ ],
483
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
484
+ "msg" : "",
485
+ "tag" : "48efbd729b1a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
486
+ "result" : "invalid"
487
+ },
488
+ {
489
+ "tcId" : 42,
490
+ "comment" : "Flipped bit 33 in tag",
491
+ "flags" : [
492
+ "ModifiedTag"
493
+ ],
494
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
495
+ "msg" : "000102030405060708090a0b0c0d0e0f",
496
+ "tag" : "869315366522fe790cae426b35a9354196cee5f968db30eb0b5163b2",
497
+ "result" : "invalid"
498
+ },
499
+ {
500
+ "tcId" : 43,
501
+ "comment" : "Flipped bit 63 in tag",
502
+ "flags" : [
503
+ "ModifiedTag"
504
+ ],
505
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
506
+ "msg" : "",
507
+ "tag" : "48efbd72991a1bec1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
508
+ "result" : "invalid"
509
+ },
510
+ {
511
+ "tcId" : 44,
512
+ "comment" : "Flipped bit 63 in tag",
513
+ "flags" : [
514
+ "ModifiedTag"
515
+ ],
516
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
517
+ "msg" : "000102030405060708090a0b0c0d0e0f",
518
+ "tag" : "869315366722fef90cae426b35a9354196cee5f968db30eb0b5163b2",
519
+ "result" : "invalid"
520
+ },
521
+ {
522
+ "tcId" : 45,
523
+ "comment" : "Flipped bit 64 in tag",
524
+ "flags" : [
525
+ "ModifiedTag"
526
+ ],
527
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
528
+ "msg" : "",
529
+ "tag" : "48efbd72991a1b6c1b276d5f37b62e55deaddbe0bd107e4bfa366c66",
530
+ "result" : "invalid"
531
+ },
532
+ {
533
+ "tcId" : 46,
534
+ "comment" : "Flipped bit 64 in tag",
535
+ "flags" : [
536
+ "ModifiedTag"
537
+ ],
538
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
539
+ "msg" : "000102030405060708090a0b0c0d0e0f",
540
+ "tag" : "869315366722fe790dae426b35a9354196cee5f968db30eb0b5163b2",
541
+ "result" : "invalid"
542
+ },
543
+ {
544
+ "tcId" : 47,
545
+ "comment" : "Flipped bit 71 in tag",
546
+ "flags" : [
547
+ "ModifiedTag"
548
+ ],
549
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
550
+ "msg" : "",
551
+ "tag" : "48efbd72991a1b6c9a276d5f37b62e55deaddbe0bd107e4bfa366c66",
552
+ "result" : "invalid"
553
+ },
554
+ {
555
+ "tcId" : 48,
556
+ "comment" : "Flipped bit 71 in tag",
557
+ "flags" : [
558
+ "ModifiedTag"
559
+ ],
560
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
561
+ "msg" : "000102030405060708090a0b0c0d0e0f",
562
+ "tag" : "869315366722fe798cae426b35a9354196cee5f968db30eb0b5163b2",
563
+ "result" : "invalid"
564
+ },
565
+ {
566
+ "tcId" : 49,
567
+ "comment" : "Flipped bit 77 in tag",
568
+ "flags" : [
569
+ "ModifiedTag"
570
+ ],
571
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
572
+ "msg" : "",
573
+ "tag" : "48efbd72991a1b6c1a076d5f37b62e55deaddbe0bd107e4bfa366c66",
574
+ "result" : "invalid"
575
+ },
576
+ {
577
+ "tcId" : 50,
578
+ "comment" : "Flipped bit 77 in tag",
579
+ "flags" : [
580
+ "ModifiedTag"
581
+ ],
582
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
583
+ "msg" : "000102030405060708090a0b0c0d0e0f",
584
+ "tag" : "869315366722fe790c8e426b35a9354196cee5f968db30eb0b5163b2",
585
+ "result" : "invalid"
586
+ },
587
+ {
588
+ "tcId" : 51,
589
+ "comment" : "Flipped bit 80 in tag",
590
+ "flags" : [
591
+ "ModifiedTag"
592
+ ],
593
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
594
+ "msg" : "",
595
+ "tag" : "48efbd72991a1b6c1a276c5f37b62e55deaddbe0bd107e4bfa366c66",
596
+ "result" : "invalid"
597
+ },
598
+ {
599
+ "tcId" : 52,
600
+ "comment" : "Flipped bit 80 in tag",
601
+ "flags" : [
602
+ "ModifiedTag"
603
+ ],
604
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
605
+ "msg" : "000102030405060708090a0b0c0d0e0f",
606
+ "tag" : "869315366722fe790cae436b35a9354196cee5f968db30eb0b5163b2",
607
+ "result" : "invalid"
608
+ },
609
+ {
610
+ "tcId" : 53,
611
+ "comment" : "Flipped bit 96 in tag",
612
+ "flags" : [
613
+ "ModifiedTag"
614
+ ],
615
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
616
+ "msg" : "",
617
+ "tag" : "48efbd72991a1b6c1a276d5f36b62e55deaddbe0bd107e4bfa366c66",
618
+ "result" : "invalid"
619
+ },
620
+ {
621
+ "tcId" : 54,
622
+ "comment" : "Flipped bit 96 in tag",
623
+ "flags" : [
624
+ "ModifiedTag"
625
+ ],
626
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
627
+ "msg" : "000102030405060708090a0b0c0d0e0f",
628
+ "tag" : "869315366722fe790cae426b34a9354196cee5f968db30eb0b5163b2",
629
+ "result" : "invalid"
630
+ },
631
+ {
632
+ "tcId" : 55,
633
+ "comment" : "Flipped bit 97 in tag",
634
+ "flags" : [
635
+ "ModifiedTag"
636
+ ],
637
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
638
+ "msg" : "",
639
+ "tag" : "48efbd72991a1b6c1a276d5f35b62e55deaddbe0bd107e4bfa366c66",
640
+ "result" : "invalid"
641
+ },
642
+ {
643
+ "tcId" : 56,
644
+ "comment" : "Flipped bit 97 in tag",
645
+ "flags" : [
646
+ "ModifiedTag"
647
+ ],
648
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
649
+ "msg" : "000102030405060708090a0b0c0d0e0f",
650
+ "tag" : "869315366722fe790cae426b37a9354196cee5f968db30eb0b5163b2",
651
+ "result" : "invalid"
652
+ },
653
+ {
654
+ "tcId" : 57,
655
+ "comment" : "Flipped bit 103 in tag",
656
+ "flags" : [
657
+ "ModifiedTag"
658
+ ],
659
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
660
+ "msg" : "",
661
+ "tag" : "48efbd72991a1b6c1a276d5fb7b62e55deaddbe0bd107e4bfa366c66",
662
+ "result" : "invalid"
663
+ },
664
+ {
665
+ "tcId" : 58,
666
+ "comment" : "Flipped bit 103 in tag",
667
+ "flags" : [
668
+ "ModifiedTag"
669
+ ],
670
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
671
+ "msg" : "000102030405060708090a0b0c0d0e0f",
672
+ "tag" : "869315366722fe790cae426bb5a9354196cee5f968db30eb0b5163b2",
673
+ "result" : "invalid"
674
+ },
675
+ {
676
+ "tcId" : 59,
677
+ "comment" : "Flipped bit 216 in tag",
678
+ "flags" : [
679
+ "ModifiedTag"
680
+ ],
681
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
682
+ "msg" : "",
683
+ "tag" : "48efbd72991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c67",
684
+ "result" : "invalid"
685
+ },
686
+ {
687
+ "tcId" : 60,
688
+ "comment" : "Flipped bit 216 in tag",
689
+ "flags" : [
690
+ "ModifiedTag"
691
+ ],
692
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
693
+ "msg" : "000102030405060708090a0b0c0d0e0f",
694
+ "tag" : "869315366722fe790cae426b35a9354196cee5f968db30eb0b5163b3",
695
+ "result" : "invalid"
696
+ },
697
+ {
698
+ "tcId" : 61,
699
+ "comment" : "Flipped bit 217 in tag",
700
+ "flags" : [
701
+ "ModifiedTag"
702
+ ],
703
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
704
+ "msg" : "",
705
+ "tag" : "48efbd72991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c64",
706
+ "result" : "invalid"
707
+ },
708
+ {
709
+ "tcId" : 62,
710
+ "comment" : "Flipped bit 217 in tag",
711
+ "flags" : [
712
+ "ModifiedTag"
713
+ ],
714
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
715
+ "msg" : "000102030405060708090a0b0c0d0e0f",
716
+ "tag" : "869315366722fe790cae426b35a9354196cee5f968db30eb0b5163b0",
717
+ "result" : "invalid"
718
+ },
719
+ {
720
+ "tcId" : 63,
721
+ "comment" : "Flipped bit 222 in tag",
722
+ "flags" : [
723
+ "ModifiedTag"
724
+ ],
725
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
726
+ "msg" : "",
727
+ "tag" : "48efbd72991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366c26",
728
+ "result" : "invalid"
729
+ },
730
+ {
731
+ "tcId" : 64,
732
+ "comment" : "Flipped bit 222 in tag",
733
+ "flags" : [
734
+ "ModifiedTag"
735
+ ],
736
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
737
+ "msg" : "000102030405060708090a0b0c0d0e0f",
738
+ "tag" : "869315366722fe790cae426b35a9354196cee5f968db30eb0b5163f2",
739
+ "result" : "invalid"
740
+ },
741
+ {
742
+ "tcId" : 65,
743
+ "comment" : "Flipped bit 223 in tag",
744
+ "flags" : [
745
+ "ModifiedTag"
746
+ ],
747
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
748
+ "msg" : "",
749
+ "tag" : "48efbd72991a1b6c1a276d5f37b62e55deaddbe0bd107e4bfa366ce6",
750
+ "result" : "invalid"
751
+ },
752
+ {
753
+ "tcId" : 66,
754
+ "comment" : "Flipped bit 223 in tag",
755
+ "flags" : [
756
+ "ModifiedTag"
757
+ ],
758
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
759
+ "msg" : "000102030405060708090a0b0c0d0e0f",
760
+ "tag" : "869315366722fe790cae426b35a9354196cee5f968db30eb0b516332",
761
+ "result" : "invalid"
762
+ },
763
+ {
764
+ "tcId" : 67,
765
+ "comment" : "Flipped bits 0 and 64 in tag",
766
+ "flags" : [
767
+ "ModifiedTag"
768
+ ],
769
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
770
+ "msg" : "",
771
+ "tag" : "49efbd72991a1b6c1b276d5f37b62e55deaddbe0bd107e4bfa366c66",
772
+ "result" : "invalid"
773
+ },
774
+ {
775
+ "tcId" : 68,
776
+ "comment" : "Flipped bits 0 and 64 in tag",
777
+ "flags" : [
778
+ "ModifiedTag"
779
+ ],
780
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
781
+ "msg" : "000102030405060708090a0b0c0d0e0f",
782
+ "tag" : "879315366722fe790dae426b35a9354196cee5f968db30eb0b5163b2",
783
+ "result" : "invalid"
784
+ },
785
+ {
786
+ "tcId" : 69,
787
+ "comment" : "Flipped bits 31 and 63 in tag",
788
+ "flags" : [
789
+ "ModifiedTag"
790
+ ],
791
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
792
+ "msg" : "",
793
+ "tag" : "48efbdf2991a1bec1a276d5f37b62e55deaddbe0bd107e4bfa366c66",
794
+ "result" : "invalid"
795
+ },
796
+ {
797
+ "tcId" : 70,
798
+ "comment" : "Flipped bits 31 and 63 in tag",
799
+ "flags" : [
800
+ "ModifiedTag"
801
+ ],
802
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
803
+ "msg" : "000102030405060708090a0b0c0d0e0f",
804
+ "tag" : "869315b66722fef90cae426b35a9354196cee5f968db30eb0b5163b2",
805
+ "result" : "invalid"
806
+ },
807
+ {
808
+ "tcId" : 71,
809
+ "comment" : "Flipped bits 63 and 127 in tag",
810
+ "flags" : [
811
+ "ModifiedTag"
812
+ ],
813
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
814
+ "msg" : "",
815
+ "tag" : "48efbd72991a1bec1a276d5f37b62ed5deaddbe0bd107e4bfa366c66",
816
+ "result" : "invalid"
817
+ },
818
+ {
819
+ "tcId" : 72,
820
+ "comment" : "Flipped bits 63 and 127 in tag",
821
+ "flags" : [
822
+ "ModifiedTag"
823
+ ],
824
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
825
+ "msg" : "000102030405060708090a0b0c0d0e0f",
826
+ "tag" : "869315366722fef90cae426b35a935c196cee5f968db30eb0b5163b2",
827
+ "result" : "invalid"
828
+ },
829
+ {
830
+ "tcId" : 73,
831
+ "comment" : "all bits of tag flipped",
832
+ "flags" : [
833
+ "ModifiedTag"
834
+ ],
835
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
836
+ "msg" : "",
837
+ "tag" : "b710428d66e5e493e5d892a0c849d1aa2152241f42ef81b405c99399",
838
+ "result" : "invalid"
839
+ },
840
+ {
841
+ "tcId" : 74,
842
+ "comment" : "all bits of tag flipped",
843
+ "flags" : [
844
+ "ModifiedTag"
845
+ ],
846
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
847
+ "msg" : "000102030405060708090a0b0c0d0e0f",
848
+ "tag" : "796ceac998dd0186f351bd94ca56cabe69311a069724cf14f4ae9c4d",
849
+ "result" : "invalid"
850
+ },
851
+ {
852
+ "tcId" : 75,
853
+ "comment" : "Tag changed to all zero",
854
+ "flags" : [
855
+ "ModifiedTag"
856
+ ],
857
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
858
+ "msg" : "",
859
+ "tag" : "00000000000000000000000000000000000000000000000000000000",
860
+ "result" : "invalid"
861
+ },
862
+ {
863
+ "tcId" : 76,
864
+ "comment" : "Tag changed to all zero",
865
+ "flags" : [
866
+ "ModifiedTag"
867
+ ],
868
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
869
+ "msg" : "000102030405060708090a0b0c0d0e0f",
870
+ "tag" : "00000000000000000000000000000000000000000000000000000000",
871
+ "result" : "invalid"
872
+ },
873
+ {
874
+ "tcId" : 77,
875
+ "comment" : "tag changed to all 1",
876
+ "flags" : [
877
+ "ModifiedTag"
878
+ ],
879
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
880
+ "msg" : "",
881
+ "tag" : "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
882
+ "result" : "invalid"
883
+ },
884
+ {
885
+ "tcId" : 78,
886
+ "comment" : "tag changed to all 1",
887
+ "flags" : [
888
+ "ModifiedTag"
889
+ ],
890
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
891
+ "msg" : "000102030405060708090a0b0c0d0e0f",
892
+ "tag" : "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
893
+ "result" : "invalid"
894
+ },
895
+ {
896
+ "tcId" : 79,
897
+ "comment" : "msbs changed in tag",
898
+ "flags" : [
899
+ "ModifiedTag"
900
+ ],
901
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
902
+ "msg" : "",
903
+ "tag" : "c86f3df2199a9bec9aa7eddfb736aed55e2d5b603d90fecb7ab6ece6",
904
+ "result" : "invalid"
905
+ },
906
+ {
907
+ "tcId" : 80,
908
+ "comment" : "msbs changed in tag",
909
+ "flags" : [
910
+ "ModifiedTag"
911
+ ],
912
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
913
+ "msg" : "000102030405060708090a0b0c0d0e0f",
914
+ "tag" : "061395b6e7a27ef98c2ec2ebb529b5c1164e6579e85bb06b8bd1e332",
915
+ "result" : "invalid"
916
+ },
917
+ {
918
+ "tcId" : 81,
919
+ "comment" : "lsbs changed in tag",
920
+ "flags" : [
921
+ "ModifiedTag"
922
+ ],
923
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
924
+ "msg" : "",
925
+ "tag" : "49eebc73981b1a6d1b266c5e36b72f54dfacdae1bc117f4afb376d67",
926
+ "result" : "invalid"
927
+ },
928
+ {
929
+ "tcId" : 82,
930
+ "comment" : "lsbs changed in tag",
931
+ "flags" : [
932
+ "ModifiedTag"
933
+ ],
934
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
935
+ "msg" : "000102030405060708090a0b0c0d0e0f",
936
+ "tag" : "879214376623ff780daf436a34a8344097cfe4f869da31ea0a5062b3",
937
+ "result" : "invalid"
938
+ }
939
+ ]
940
+ },
941
+ {
942
+ "type" : "MacTest",
943
+ "keySize" : 224,
944
+ "tagSize" : 112,
945
+ "tests" : [
946
+ {
947
+ "tcId" : 83,
948
+ "comment" : "empty message",
949
+ "flags" : [
950
+ "Pseudorandom"
951
+ ],
952
+ "key" : "26f314170b054daef5349804da18f969c94174baca2beeb009d47a23",
953
+ "msg" : "",
954
+ "tag" : "a27305b736f48c15db5a8b4c99e2",
955
+ "result" : "valid"
956
+ },
957
+ {
958
+ "tcId" : 84,
959
+ "comment" : "short message",
960
+ "flags" : [
961
+ "Pseudorandom"
962
+ ],
963
+ "key" : "17429a622dc18d38715b31f8f2b963108e952a6708f3e52d5b25848a",
964
+ "msg" : "da",
965
+ "tag" : "4e44747b2af2ec7d4c2f3eaee226",
966
+ "result" : "valid"
967
+ },
968
+ {
969
+ "tcId" : 85,
970
+ "comment" : "short message",
971
+ "flags" : [
972
+ "Pseudorandom"
973
+ ],
974
+ "key" : "0acfe12d89acd7d9ca49bae6318f35b2fbbfc84e5d2c9d4954beded7",
975
+ "msg" : "03a8",
976
+ "tag" : "52ddf94b5f544840ded36fae52ef",
977
+ "result" : "valid"
978
+ },
979
+ {
980
+ "tcId" : 86,
981
+ "comment" : "short message",
982
+ "flags" : [
983
+ "Pseudorandom"
984
+ ],
985
+ "key" : "5a0680f112354bd467865b19ae956b2719e21ecee1a913bdca294339",
986
+ "msg" : "a0fb73",
987
+ "tag" : "5c0448f858fca81d5fb874d0d9eb",
988
+ "result" : "valid"
989
+ },
990
+ {
991
+ "tcId" : 87,
992
+ "comment" : "short message",
993
+ "flags" : [
994
+ "Pseudorandom"
995
+ ],
996
+ "key" : "46fa59aa524fe30a0f4e39561b5666854440dbd970bb59925ce0ae1a",
997
+ "msg" : "c8b2f557",
998
+ "tag" : "3ec7e0c6da0faa258e6eaf15b115",
999
+ "result" : "valid"
1000
+ },
1001
+ {
1002
+ "tcId" : 88,
1003
+ "comment" : "short message",
1004
+ "flags" : [
1005
+ "Pseudorandom"
1006
+ ],
1007
+ "key" : "29efc5ab5d30e535357603f2711b6e0aa6cf4613546c23144436d213",
1008
+ "msg" : "c8d9f5b373",
1009
+ "tag" : "95bdce6766b6aadd3dd42551f14d",
1010
+ "result" : "valid"
1011
+ },
1012
+ {
1013
+ "tcId" : 89,
1014
+ "comment" : "short message",
1015
+ "flags" : [
1016
+ "Pseudorandom"
1017
+ ],
1018
+ "key" : "fe60e0322035538f2b1de9de380cde35f291deeb6e027b5d829ecd1e",
1019
+ "msg" : "185e4cada4f4",
1020
+ "tag" : "bed5a5e44558a8994d786ba9b3d2",
1021
+ "result" : "valid"
1022
+ },
1023
+ {
1024
+ "tcId" : 90,
1025
+ "comment" : "short message",
1026
+ "flags" : [
1027
+ "Pseudorandom"
1028
+ ],
1029
+ "key" : "1bf7fcdf3742fa77991528cc1c678b98be9876a8c8c5b809beab7d9c",
1030
+ "msg" : "9c0f34a5654279",
1031
+ "tag" : "6cccde17c6681e556ec608a356eb",
1032
+ "result" : "valid"
1033
+ },
1034
+ {
1035
+ "tcId" : 91,
1036
+ "comment" : "short message",
1037
+ "flags" : [
1038
+ "Pseudorandom"
1039
+ ],
1040
+ "key" : "32533c16f792ed0acf8e9e60f54aa173937c7194b882ecc3e671009f",
1041
+ "msg" : "f968dc7a19afe339",
1042
+ "tag" : "2ecc97ae579f761908dd63cabcc5",
1043
+ "result" : "valid"
1044
+ },
1045
+ {
1046
+ "tcId" : 92,
1047
+ "comment" : "short message",
1048
+ "flags" : [
1049
+ "Pseudorandom"
1050
+ ],
1051
+ "key" : "3cf28a476ce7eaecfc3fbf1b0859a042a568740a584c77cb8f9603ac",
1052
+ "msg" : "dbca9e4bdd84b38934",
1053
+ "tag" : "735cf724c76e81abaf6f2ffac034",
1054
+ "result" : "valid"
1055
+ },
1056
+ {
1057
+ "tcId" : 93,
1058
+ "comment" : "short message",
1059
+ "flags" : [
1060
+ "Pseudorandom"
1061
+ ],
1062
+ "key" : "a2a8090aef69277f92830ec7404c032f8fdebfbceabb9e590968a77f",
1063
+ "msg" : "6b790a946a83364c79d7",
1064
+ "tag" : "86415126c1fc8ebfea4b9027415f",
1065
+ "result" : "valid"
1066
+ },
1067
+ {
1068
+ "tcId" : 94,
1069
+ "comment" : "short message",
1070
+ "flags" : [
1071
+ "Pseudorandom"
1072
+ ],
1073
+ "key" : "6f999929e91672bac35ea70f8ff8b9aeefa5489493c99b0d27797207",
1074
+ "msg" : "b7dabb237aeae2be8b5e19",
1075
+ "tag" : "521d98d1ec2e55b5df46e3e2dcb1",
1076
+ "result" : "valid"
1077
+ },
1078
+ {
1079
+ "tcId" : 95,
1080
+ "comment" : "short message",
1081
+ "flags" : [
1082
+ "Pseudorandom"
1083
+ ],
1084
+ "key" : "4525b96c263e4d2dab2890aa55f3cc503dc1206d9f1915a6fba5ae61",
1085
+ "msg" : "ef858f496fcb7c3fabbfb52e",
1086
+ "tag" : "f57cda8a74b524d1271c8b979249",
1087
+ "result" : "valid"
1088
+ },
1089
+ {
1090
+ "tcId" : 96,
1091
+ "comment" : "short message",
1092
+ "flags" : [
1093
+ "Pseudorandom"
1094
+ ],
1095
+ "key" : "f89401acb0a60d07fd733ed563f2ee241f4ecfea8114587a44dfdb0c",
1096
+ "msg" : "7d3c0918085984df95097afa81",
1097
+ "tag" : "4374d99e54cd51ea7efb4db69fc1",
1098
+ "result" : "valid"
1099
+ },
1100
+ {
1101
+ "tcId" : 97,
1102
+ "comment" : "short message",
1103
+ "flags" : [
1104
+ "Pseudorandom"
1105
+ ],
1106
+ "key" : "58bce8c0d17fc7131d2fa2262409bb14663a6e68019f88299987893e",
1107
+ "msg" : "1ca50cd6c3f1225eb6c4ec4d6a90",
1108
+ "tag" : "a489401e20b7d456d3db526a1533",
1109
+ "result" : "valid"
1110
+ },
1111
+ {
1112
+ "tcId" : 98,
1113
+ "comment" : "short message",
1114
+ "flags" : [
1115
+ "Pseudorandom"
1116
+ ],
1117
+ "key" : "658e510fba4e2208afac98333f9e242bc118f6e79ef0661d619dd32b",
1118
+ "msg" : "32c385b75ae84558ca302881c51639",
1119
+ "tag" : "0c8a6c34fb28cce7bf39f9c399ee",
1120
+ "result" : "valid"
1121
+ },
1122
+ {
1123
+ "tcId" : 99,
1124
+ "comment" : "",
1125
+ "flags" : [
1126
+ "Pseudorandom"
1127
+ ],
1128
+ "key" : "6a41cc3ca7142ae14e6d979a3f890a331597e592dd74520ce4ea660f",
1129
+ "msg" : "78e3a770a8aaaf039fd4c9b6a1780411",
1130
+ "tag" : "11c226517ace709316e552f5ef92",
1131
+ "result" : "valid"
1132
+ },
1133
+ {
1134
+ "tcId" : 100,
1135
+ "comment" : "",
1136
+ "flags" : [
1137
+ "Pseudorandom"
1138
+ ],
1139
+ "key" : "b8972b93b68302cbaa08d32904eae6375a66f3508ece3c9b22382c7e",
1140
+ "msg" : "3687e6287d73c9e3f679a50e7671247127",
1141
+ "tag" : "7c9fa33e9a8e351538e53711a65c",
1142
+ "result" : "valid"
1143
+ },
1144
+ {
1145
+ "tcId" : 101,
1146
+ "comment" : "",
1147
+ "flags" : [
1148
+ "Pseudorandom"
1149
+ ],
1150
+ "key" : "bc570932abfa11050ad4fc80a6d5afe3271d86aa29dc62738b207d14",
1151
+ "msg" : "d53202acd2ec74d746531bd9ad3016d0980e0166fb427a08",
1152
+ "tag" : "38907c41f54cdc605500a417839e",
1153
+ "result" : "valid"
1154
+ },
1155
+ {
1156
+ "tcId" : 102,
1157
+ "comment" : "",
1158
+ "flags" : [
1159
+ "Pseudorandom"
1160
+ ],
1161
+ "key" : "c92a0665c12e87026e1b344f971fdb0e474d450cba834aae40e2d21e",
1162
+ "msg" : "4a3a85ac09f5190ab94f73fd91d98f056015263c89ed5da223fc4675cab25cdd",
1163
+ "tag" : "394248ebf929c3b5caf3c66a2be2",
1164
+ "result" : "valid"
1165
+ },
1166
+ {
1167
+ "tcId" : 103,
1168
+ "comment" : "long message",
1169
+ "flags" : [
1170
+ "Pseudorandom"
1171
+ ],
1172
+ "key" : "6fbef67cfbacc98c63252b1ca009a60e8e3479769a2d449fb4639064",
1173
+ "msg" : "006e179eacfa9e1e628bb7823ee9609ae7968b6df90e176f772a79088d37e9b15cab312922aaf8fc6583a341002bda",
1174
+ "tag" : "7c30f2ddfd88a67b4d248feac3ef",
1175
+ "result" : "valid"
1176
+ },
1177
+ {
1178
+ "tcId" : 104,
1179
+ "comment" : "long message",
1180
+ "flags" : [
1181
+ "Pseudorandom"
1182
+ ],
1183
+ "key" : "700b09908174f1072e31ae8ccbda1c4460fcf21fdf146a11482b210d",
1184
+ "msg" : "f772564ecb109e80eefb1d5a7f1c95e203ba4c980233dd8d13de3046079a6b2ca26dc3521e5e0c807eae7a79877c73e9",
1185
+ "tag" : "4a50251d607bf6b159ab8251278c",
1186
+ "result" : "valid"
1187
+ },
1188
+ {
1189
+ "tcId" : 105,
1190
+ "comment" : "long message",
1191
+ "flags" : [
1192
+ "Pseudorandom"
1193
+ ],
1194
+ "key" : "e18a20246ebe1b5796dbfe35110efc7637d74a355f0a6758d4a00b7d",
1195
+ "msg" : "77720dde530e6eeaa0e9af3311f7e99189d6c4f7d71d0a4207d62c766bee32020c92f5d5d28d5de4d0d9c94b57ec05f0c3",
1196
+ "tag" : "5b7e9454b9a59fc7b63a4f4509ee",
1197
+ "result" : "valid"
1198
+ },
1199
+ {
1200
+ "tcId" : 106,
1201
+ "comment" : "long message",
1202
+ "flags" : [
1203
+ "Pseudorandom"
1204
+ ],
1205
+ "key" : "3c4585a775bec76c7d8b27b87e70a5863a85e6111f3161b3815f59b4",
1206
+ "msg" : "628c0ff8c432d74f4cfb77ba46b7cef67a48ac053cf0c18be41648736abcc8c6fbe4981529babd4b27866e34ced16d8b0bec456e14653a1422f5a62556d20b0fe4e03749d5f6e986375062dbdd82f6e9e1d4ad547c31530c2a31383c25ff57e879eae99d9b3a0da1f3c1dacb975067ac",
1207
+ "tag" : "a17024021a2ea88f885eb1ea63b0",
1208
+ "result" : "valid"
1209
+ },
1210
+ {
1211
+ "tcId" : 107,
1212
+ "comment" : "long message",
1213
+ "flags" : [
1214
+ "Pseudorandom"
1215
+ ],
1216
+ "key" : "acaf94cb1a8ff4677fc586d2bdf981ac3a656b208215e0a7647b420f",
1217
+ "msg" : "314c2c25465de3427279dbc89436505fee6d37d56fbda0e5e2a49449d9dbf003027f2e4ef5c52f7af93fd80155a66a1cd6b9885b56d828058a0de7d247e19580b2e8dcbdef2ae46840565fd8b276569c19d7e185116ea11ad67d5fc27f4a6816ba45be5d14f3ba4315c74d1edb20f217b116be852b62a7f4e32b3e708ff9f7",
1218
+ "tag" : "8abf1099527ceb51ae8adbff4ef8",
1219
+ "result" : "valid"
1220
+ },
1221
+ {
1222
+ "tcId" : 108,
1223
+ "comment" : "long message",
1224
+ "flags" : [
1225
+ "Pseudorandom"
1226
+ ],
1227
+ "key" : "e490348ad78fd2cd5b51f2795b79e5805ce1d9baf1151dbdf995e1b0",
1228
+ "msg" : "f6ff1845842b9e46f79adb1079aff47397391dc269bc0c899ba4087b58a676f5408c3f7637ffc4772af3e41b5cea51058bc528ea09bb4bd797594c798b0f0ff881695e98c08bbb040c12c5cbdb228d61cc99e332e963128d06e97ed2eefded2e1b5a035f3bea68273efac03a894dcf2fcc79a5696218595404b2758deb9a80ee",
1229
+ "tag" : "8af7f1421d15ae9b407b19815e8e",
1230
+ "result" : "valid"
1231
+ },
1232
+ {
1233
+ "tcId" : 109,
1234
+ "comment" : "long message",
1235
+ "flags" : [
1236
+ "Pseudorandom"
1237
+ ],
1238
+ "key" : "c8e099dbb60a8f19d8b86856b21c55f3437ae27f77dff9808f12a1b5",
1239
+ "msg" : "edbc109bf28c8ab32b1238eff1cd14308cdd845fa919bfd8a00c991cf9a8d6b05dd8cc7d2393782949c899de79e771ef7d8567f32287623963048e6c80d91f0778dd63311106e9d0913c08b7a0b7253fa3ce307ac40ec55a4c445f5455a570fec090e251e8646bada1a486d41c3794bce5639732f2c6cfd58081c479a68c515f5d47bc5b2f1622a08d38a596a817f3d4efef8003ae430e6ae93b0a3ae8fa95a2ace3d24d90a9ef861dc04c13e38f6e524b3abdf9cce4fa490707c80c16e254b7a71af00a12dbf473b50b9fe4097ec00ab27e66b6f3022b0f101ee1a9f7fa8652e9f095ca240a446067446867f78e8352c4110794c2e3383dfedfb35e74a33e",
1240
+ "tag" : "ad5b46cdc16ac10c3f027236a44a",
1241
+ "result" : "valid"
1242
+ },
1243
+ {
1244
+ "tcId" : 110,
1245
+ "comment" : "Flipped bit 0 in tag",
1246
+ "flags" : [
1247
+ "ModifiedTag"
1248
+ ],
1249
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1250
+ "msg" : "",
1251
+ "tag" : "49efbd72991a1b6c1a276d5f37b6",
1252
+ "result" : "invalid"
1253
+ },
1254
+ {
1255
+ "tcId" : 111,
1256
+ "comment" : "Flipped bit 0 in tag",
1257
+ "flags" : [
1258
+ "ModifiedTag"
1259
+ ],
1260
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1261
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1262
+ "tag" : "879315366722fe790cae426b35a9",
1263
+ "result" : "invalid"
1264
+ },
1265
+ {
1266
+ "tcId" : 112,
1267
+ "comment" : "Flipped bit 1 in tag",
1268
+ "flags" : [
1269
+ "ModifiedTag"
1270
+ ],
1271
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1272
+ "msg" : "",
1273
+ "tag" : "4aefbd72991a1b6c1a276d5f37b6",
1274
+ "result" : "invalid"
1275
+ },
1276
+ {
1277
+ "tcId" : 113,
1278
+ "comment" : "Flipped bit 1 in tag",
1279
+ "flags" : [
1280
+ "ModifiedTag"
1281
+ ],
1282
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1283
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1284
+ "tag" : "849315366722fe790cae426b35a9",
1285
+ "result" : "invalid"
1286
+ },
1287
+ {
1288
+ "tcId" : 114,
1289
+ "comment" : "Flipped bit 7 in tag",
1290
+ "flags" : [
1291
+ "ModifiedTag"
1292
+ ],
1293
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1294
+ "msg" : "",
1295
+ "tag" : "c8efbd72991a1b6c1a276d5f37b6",
1296
+ "result" : "invalid"
1297
+ },
1298
+ {
1299
+ "tcId" : 115,
1300
+ "comment" : "Flipped bit 7 in tag",
1301
+ "flags" : [
1302
+ "ModifiedTag"
1303
+ ],
1304
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1305
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1306
+ "tag" : "069315366722fe790cae426b35a9",
1307
+ "result" : "invalid"
1308
+ },
1309
+ {
1310
+ "tcId" : 116,
1311
+ "comment" : "Flipped bit 8 in tag",
1312
+ "flags" : [
1313
+ "ModifiedTag"
1314
+ ],
1315
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1316
+ "msg" : "",
1317
+ "tag" : "48eebd72991a1b6c1a276d5f37b6",
1318
+ "result" : "invalid"
1319
+ },
1320
+ {
1321
+ "tcId" : 117,
1322
+ "comment" : "Flipped bit 8 in tag",
1323
+ "flags" : [
1324
+ "ModifiedTag"
1325
+ ],
1326
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1327
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1328
+ "tag" : "869215366722fe790cae426b35a9",
1329
+ "result" : "invalid"
1330
+ },
1331
+ {
1332
+ "tcId" : 118,
1333
+ "comment" : "Flipped bit 31 in tag",
1334
+ "flags" : [
1335
+ "ModifiedTag"
1336
+ ],
1337
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1338
+ "msg" : "",
1339
+ "tag" : "48efbdf2991a1b6c1a276d5f37b6",
1340
+ "result" : "invalid"
1341
+ },
1342
+ {
1343
+ "tcId" : 119,
1344
+ "comment" : "Flipped bit 31 in tag",
1345
+ "flags" : [
1346
+ "ModifiedTag"
1347
+ ],
1348
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1349
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1350
+ "tag" : "869315b66722fe790cae426b35a9",
1351
+ "result" : "invalid"
1352
+ },
1353
+ {
1354
+ "tcId" : 120,
1355
+ "comment" : "Flipped bit 32 in tag",
1356
+ "flags" : [
1357
+ "ModifiedTag"
1358
+ ],
1359
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1360
+ "msg" : "",
1361
+ "tag" : "48efbd72981a1b6c1a276d5f37b6",
1362
+ "result" : "invalid"
1363
+ },
1364
+ {
1365
+ "tcId" : 121,
1366
+ "comment" : "Flipped bit 32 in tag",
1367
+ "flags" : [
1368
+ "ModifiedTag"
1369
+ ],
1370
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1371
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1372
+ "tag" : "869315366622fe790cae426b35a9",
1373
+ "result" : "invalid"
1374
+ },
1375
+ {
1376
+ "tcId" : 122,
1377
+ "comment" : "Flipped bit 33 in tag",
1378
+ "flags" : [
1379
+ "ModifiedTag"
1380
+ ],
1381
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1382
+ "msg" : "",
1383
+ "tag" : "48efbd729b1a1b6c1a276d5f37b6",
1384
+ "result" : "invalid"
1385
+ },
1386
+ {
1387
+ "tcId" : 123,
1388
+ "comment" : "Flipped bit 33 in tag",
1389
+ "flags" : [
1390
+ "ModifiedTag"
1391
+ ],
1392
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1393
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1394
+ "tag" : "869315366522fe790cae426b35a9",
1395
+ "result" : "invalid"
1396
+ },
1397
+ {
1398
+ "tcId" : 124,
1399
+ "comment" : "Flipped bit 63 in tag",
1400
+ "flags" : [
1401
+ "ModifiedTag"
1402
+ ],
1403
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1404
+ "msg" : "",
1405
+ "tag" : "48efbd72991a1bec1a276d5f37b6",
1406
+ "result" : "invalid"
1407
+ },
1408
+ {
1409
+ "tcId" : 125,
1410
+ "comment" : "Flipped bit 63 in tag",
1411
+ "flags" : [
1412
+ "ModifiedTag"
1413
+ ],
1414
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1415
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1416
+ "tag" : "869315366722fef90cae426b35a9",
1417
+ "result" : "invalid"
1418
+ },
1419
+ {
1420
+ "tcId" : 126,
1421
+ "comment" : "Flipped bit 64 in tag",
1422
+ "flags" : [
1423
+ "ModifiedTag"
1424
+ ],
1425
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1426
+ "msg" : "",
1427
+ "tag" : "48efbd72991a1b6c1b276d5f37b6",
1428
+ "result" : "invalid"
1429
+ },
1430
+ {
1431
+ "tcId" : 127,
1432
+ "comment" : "Flipped bit 64 in tag",
1433
+ "flags" : [
1434
+ "ModifiedTag"
1435
+ ],
1436
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1437
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1438
+ "tag" : "869315366722fe790dae426b35a9",
1439
+ "result" : "invalid"
1440
+ },
1441
+ {
1442
+ "tcId" : 128,
1443
+ "comment" : "Flipped bit 71 in tag",
1444
+ "flags" : [
1445
+ "ModifiedTag"
1446
+ ],
1447
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1448
+ "msg" : "",
1449
+ "tag" : "48efbd72991a1b6c9a276d5f37b6",
1450
+ "result" : "invalid"
1451
+ },
1452
+ {
1453
+ "tcId" : 129,
1454
+ "comment" : "Flipped bit 71 in tag",
1455
+ "flags" : [
1456
+ "ModifiedTag"
1457
+ ],
1458
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1459
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1460
+ "tag" : "869315366722fe798cae426b35a9",
1461
+ "result" : "invalid"
1462
+ },
1463
+ {
1464
+ "tcId" : 130,
1465
+ "comment" : "Flipped bit 77 in tag",
1466
+ "flags" : [
1467
+ "ModifiedTag"
1468
+ ],
1469
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1470
+ "msg" : "",
1471
+ "tag" : "48efbd72991a1b6c1a076d5f37b6",
1472
+ "result" : "invalid"
1473
+ },
1474
+ {
1475
+ "tcId" : 131,
1476
+ "comment" : "Flipped bit 77 in tag",
1477
+ "flags" : [
1478
+ "ModifiedTag"
1479
+ ],
1480
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1481
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1482
+ "tag" : "869315366722fe790c8e426b35a9",
1483
+ "result" : "invalid"
1484
+ },
1485
+ {
1486
+ "tcId" : 132,
1487
+ "comment" : "Flipped bit 80 in tag",
1488
+ "flags" : [
1489
+ "ModifiedTag"
1490
+ ],
1491
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1492
+ "msg" : "",
1493
+ "tag" : "48efbd72991a1b6c1a276c5f37b6",
1494
+ "result" : "invalid"
1495
+ },
1496
+ {
1497
+ "tcId" : 133,
1498
+ "comment" : "Flipped bit 80 in tag",
1499
+ "flags" : [
1500
+ "ModifiedTag"
1501
+ ],
1502
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1503
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1504
+ "tag" : "869315366722fe790cae436b35a9",
1505
+ "result" : "invalid"
1506
+ },
1507
+ {
1508
+ "tcId" : 134,
1509
+ "comment" : "Flipped bit 96 in tag",
1510
+ "flags" : [
1511
+ "ModifiedTag"
1512
+ ],
1513
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1514
+ "msg" : "",
1515
+ "tag" : "48efbd72991a1b6c1a276d5f36b6",
1516
+ "result" : "invalid"
1517
+ },
1518
+ {
1519
+ "tcId" : 135,
1520
+ "comment" : "Flipped bit 96 in tag",
1521
+ "flags" : [
1522
+ "ModifiedTag"
1523
+ ],
1524
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1525
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1526
+ "tag" : "869315366722fe790cae426b34a9",
1527
+ "result" : "invalid"
1528
+ },
1529
+ {
1530
+ "tcId" : 136,
1531
+ "comment" : "Flipped bit 97 in tag",
1532
+ "flags" : [
1533
+ "ModifiedTag"
1534
+ ],
1535
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1536
+ "msg" : "",
1537
+ "tag" : "48efbd72991a1b6c1a276d5f35b6",
1538
+ "result" : "invalid"
1539
+ },
1540
+ {
1541
+ "tcId" : 137,
1542
+ "comment" : "Flipped bit 97 in tag",
1543
+ "flags" : [
1544
+ "ModifiedTag"
1545
+ ],
1546
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1547
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1548
+ "tag" : "869315366722fe790cae426b37a9",
1549
+ "result" : "invalid"
1550
+ },
1551
+ {
1552
+ "tcId" : 138,
1553
+ "comment" : "Flipped bit 103 in tag",
1554
+ "flags" : [
1555
+ "ModifiedTag"
1556
+ ],
1557
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1558
+ "msg" : "",
1559
+ "tag" : "48efbd72991a1b6c1a276d5fb7b6",
1560
+ "result" : "invalid"
1561
+ },
1562
+ {
1563
+ "tcId" : 139,
1564
+ "comment" : "Flipped bit 103 in tag",
1565
+ "flags" : [
1566
+ "ModifiedTag"
1567
+ ],
1568
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1569
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1570
+ "tag" : "869315366722fe790cae426bb5a9",
1571
+ "result" : "invalid"
1572
+ },
1573
+ {
1574
+ "tcId" : 140,
1575
+ "comment" : "Flipped bit 104 in tag",
1576
+ "flags" : [
1577
+ "ModifiedTag"
1578
+ ],
1579
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1580
+ "msg" : "",
1581
+ "tag" : "48efbd72991a1b6c1a276d5f37b7",
1582
+ "result" : "invalid"
1583
+ },
1584
+ {
1585
+ "tcId" : 141,
1586
+ "comment" : "Flipped bit 104 in tag",
1587
+ "flags" : [
1588
+ "ModifiedTag"
1589
+ ],
1590
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1591
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1592
+ "tag" : "869315366722fe790cae426b35a8",
1593
+ "result" : "invalid"
1594
+ },
1595
+ {
1596
+ "tcId" : 142,
1597
+ "comment" : "Flipped bit 105 in tag",
1598
+ "flags" : [
1599
+ "ModifiedTag"
1600
+ ],
1601
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1602
+ "msg" : "",
1603
+ "tag" : "48efbd72991a1b6c1a276d5f37b4",
1604
+ "result" : "invalid"
1605
+ },
1606
+ {
1607
+ "tcId" : 143,
1608
+ "comment" : "Flipped bit 105 in tag",
1609
+ "flags" : [
1610
+ "ModifiedTag"
1611
+ ],
1612
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1613
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1614
+ "tag" : "869315366722fe790cae426b35ab",
1615
+ "result" : "invalid"
1616
+ },
1617
+ {
1618
+ "tcId" : 144,
1619
+ "comment" : "Flipped bit 110 in tag",
1620
+ "flags" : [
1621
+ "ModifiedTag"
1622
+ ],
1623
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1624
+ "msg" : "",
1625
+ "tag" : "48efbd72991a1b6c1a276d5f37f6",
1626
+ "result" : "invalid"
1627
+ },
1628
+ {
1629
+ "tcId" : 145,
1630
+ "comment" : "Flipped bit 110 in tag",
1631
+ "flags" : [
1632
+ "ModifiedTag"
1633
+ ],
1634
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1635
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1636
+ "tag" : "869315366722fe790cae426b35e9",
1637
+ "result" : "invalid"
1638
+ },
1639
+ {
1640
+ "tcId" : 146,
1641
+ "comment" : "Flipped bit 111 in tag",
1642
+ "flags" : [
1643
+ "ModifiedTag"
1644
+ ],
1645
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1646
+ "msg" : "",
1647
+ "tag" : "48efbd72991a1b6c1a276d5f3736",
1648
+ "result" : "invalid"
1649
+ },
1650
+ {
1651
+ "tcId" : 147,
1652
+ "comment" : "Flipped bit 111 in tag",
1653
+ "flags" : [
1654
+ "ModifiedTag"
1655
+ ],
1656
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1657
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1658
+ "tag" : "869315366722fe790cae426b3529",
1659
+ "result" : "invalid"
1660
+ },
1661
+ {
1662
+ "tcId" : 148,
1663
+ "comment" : "Flipped bits 0 and 64 in tag",
1664
+ "flags" : [
1665
+ "ModifiedTag"
1666
+ ],
1667
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1668
+ "msg" : "",
1669
+ "tag" : "49efbd72991a1b6c1b276d5f37b6",
1670
+ "result" : "invalid"
1671
+ },
1672
+ {
1673
+ "tcId" : 149,
1674
+ "comment" : "Flipped bits 0 and 64 in tag",
1675
+ "flags" : [
1676
+ "ModifiedTag"
1677
+ ],
1678
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1679
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1680
+ "tag" : "879315366722fe790dae426b35a9",
1681
+ "result" : "invalid"
1682
+ },
1683
+ {
1684
+ "tcId" : 150,
1685
+ "comment" : "Flipped bits 31 and 63 in tag",
1686
+ "flags" : [
1687
+ "ModifiedTag"
1688
+ ],
1689
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1690
+ "msg" : "",
1691
+ "tag" : "48efbdf2991a1bec1a276d5f37b6",
1692
+ "result" : "invalid"
1693
+ },
1694
+ {
1695
+ "tcId" : 151,
1696
+ "comment" : "Flipped bits 31 and 63 in tag",
1697
+ "flags" : [
1698
+ "ModifiedTag"
1699
+ ],
1700
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1701
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1702
+ "tag" : "869315b66722fef90cae426b35a9",
1703
+ "result" : "invalid"
1704
+ },
1705
+ {
1706
+ "tcId" : 152,
1707
+ "comment" : "all bits of tag flipped",
1708
+ "flags" : [
1709
+ "ModifiedTag"
1710
+ ],
1711
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1712
+ "msg" : "",
1713
+ "tag" : "b710428d66e5e493e5d892a0c849",
1714
+ "result" : "invalid"
1715
+ },
1716
+ {
1717
+ "tcId" : 153,
1718
+ "comment" : "all bits of tag flipped",
1719
+ "flags" : [
1720
+ "ModifiedTag"
1721
+ ],
1722
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1723
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1724
+ "tag" : "796ceac998dd0186f351bd94ca56",
1725
+ "result" : "invalid"
1726
+ },
1727
+ {
1728
+ "tcId" : 154,
1729
+ "comment" : "Tag changed to all zero",
1730
+ "flags" : [
1731
+ "ModifiedTag"
1732
+ ],
1733
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1734
+ "msg" : "",
1735
+ "tag" : "0000000000000000000000000000",
1736
+ "result" : "invalid"
1737
+ },
1738
+ {
1739
+ "tcId" : 155,
1740
+ "comment" : "Tag changed to all zero",
1741
+ "flags" : [
1742
+ "ModifiedTag"
1743
+ ],
1744
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1745
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1746
+ "tag" : "0000000000000000000000000000",
1747
+ "result" : "invalid"
1748
+ },
1749
+ {
1750
+ "tcId" : 156,
1751
+ "comment" : "tag changed to all 1",
1752
+ "flags" : [
1753
+ "ModifiedTag"
1754
+ ],
1755
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1756
+ "msg" : "",
1757
+ "tag" : "ffffffffffffffffffffffffffff",
1758
+ "result" : "invalid"
1759
+ },
1760
+ {
1761
+ "tcId" : 157,
1762
+ "comment" : "tag changed to all 1",
1763
+ "flags" : [
1764
+ "ModifiedTag"
1765
+ ],
1766
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1767
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1768
+ "tag" : "ffffffffffffffffffffffffffff",
1769
+ "result" : "invalid"
1770
+ },
1771
+ {
1772
+ "tcId" : 158,
1773
+ "comment" : "msbs changed in tag",
1774
+ "flags" : [
1775
+ "ModifiedTag"
1776
+ ],
1777
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1778
+ "msg" : "",
1779
+ "tag" : "c86f3df2199a9bec9aa7eddfb736",
1780
+ "result" : "invalid"
1781
+ },
1782
+ {
1783
+ "tcId" : 159,
1784
+ "comment" : "msbs changed in tag",
1785
+ "flags" : [
1786
+ "ModifiedTag"
1787
+ ],
1788
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1789
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1790
+ "tag" : "061395b6e7a27ef98c2ec2ebb529",
1791
+ "result" : "invalid"
1792
+ },
1793
+ {
1794
+ "tcId" : 160,
1795
+ "comment" : "lsbs changed in tag",
1796
+ "flags" : [
1797
+ "ModifiedTag"
1798
+ ],
1799
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1800
+ "msg" : "",
1801
+ "tag" : "49eebc73981b1a6d1b266c5e36b7",
1802
+ "result" : "invalid"
1803
+ },
1804
+ {
1805
+ "tcId" : 161,
1806
+ "comment" : "lsbs changed in tag",
1807
+ "flags" : [
1808
+ "ModifiedTag"
1809
+ ],
1810
+ "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b",
1811
+ "msg" : "000102030405060708090a0b0c0d0e0f",
1812
+ "tag" : "879214376623ff780daf436a34a8",
1813
+ "result" : "invalid"
1814
+ }
1815
+ ]
1816
+ },
1817
+ {
1818
+ "type" : "MacTest",
1819
+ "keySize" : 112,
1820
+ "tagSize" : 224,
1821
+ "tests" : [
1822
+ {
1823
+ "tcId" : 162,
1824
+ "comment" : "short key",
1825
+ "flags" : [
1826
+ "Pseudorandom"
1827
+ ],
1828
+ "key" : "77b0de54e893642caeac34bfd1ab",
1829
+ "msg" : "",
1830
+ "tag" : "08dc9a2f35e07d60e1aa64d3defa46f9338bac3c8591e9f9f9935ca0",
1831
+ "result" : "valid"
1832
+ },
1833
+ {
1834
+ "tcId" : 163,
1835
+ "comment" : "short key",
1836
+ "flags" : [
1837
+ "Pseudorandom"
1838
+ ],
1839
+ "key" : "7346c7e4b118b24e51f4512f906a",
1840
+ "msg" : "506d4faf624f92965aa6b5c01e0c80a8",
1841
+ "tag" : "b54d31dd8ed124255aeca208d438e5b08ae1116057a1cb8f758d61db",
1842
+ "result" : "valid"
1843
+ },
1844
+ {
1845
+ "tcId" : 164,
1846
+ "comment" : "short key",
1847
+ "flags" : [
1848
+ "Pseudorandom"
1849
+ ],
1850
+ "key" : "caa864179f66e826a0ef3b5edbe3",
1851
+ "msg" : "73f64253706ce6b5094c24ee012ece9ac2495283dcd8c7f1114e81e4587d8ea4",
1852
+ "tag" : "80abd30d83e3e6dc89b14eee6f875a06f0b4b807abde66900129daae",
1853
+ "result" : "valid"
1854
+ }
1855
+ ]
1856
+ },
1857
+ {
1858
+ "type" : "MacTest",
1859
+ "keySize" : 112,
1860
+ "tagSize" : 112,
1861
+ "tests" : [
1862
+ {
1863
+ "tcId" : 165,
1864
+ "comment" : "short key",
1865
+ "flags" : [
1866
+ "Pseudorandom"
1867
+ ],
1868
+ "key" : "663a97d6b5493dbfa60c8dd087ed",
1869
+ "msg" : "",
1870
+ "tag" : "08fcd608bc979c84d52887313e66",
1871
+ "result" : "valid"
1872
+ },
1873
+ {
1874
+ "tcId" : 166,
1875
+ "comment" : "short key",
1876
+ "flags" : [
1877
+ "Pseudorandom"
1878
+ ],
1879
+ "key" : "b08c345a7c7166fdd33ce768c1dc",
1880
+ "msg" : "9964d80ee2338cffe28483aa446a6f76",
1881
+ "tag" : "056f6a8e114741ad674322f21fdd",
1882
+ "result" : "valid"
1883
+ },
1884
+ {
1885
+ "tcId" : 167,
1886
+ "comment" : "short key",
1887
+ "flags" : [
1888
+ "Pseudorandom"
1889
+ ],
1890
+ "key" : "fc9d2883c67534fefbd6ed4a9798",
1891
+ "msg" : "a49820c194a43deef11f3a0f4eaa80425439fca9d9f1d7c8e665d6b130e4e908",
1892
+ "tag" : "569ee7d61a6e7f7c47254edf5937",
1893
+ "result" : "valid"
1894
+ }
1895
+ ]
1896
+ },
1897
+ {
1898
+ "type" : "MacTest",
1899
+ "keySize" : 520,
1900
+ "tagSize" : 224,
1901
+ "tests" : [
1902
+ {
1903
+ "tcId" : 168,
1904
+ "comment" : "long key",
1905
+ "flags" : [
1906
+ "Pseudorandom"
1907
+ ],
1908
+ "key" : "cfa639656cd49f8d70f0b1a5a056ab4fc0aeeebc91338d067f36c47b6012dc8d856b8abcc4e1abffc910aeaee21b4d366e907488ffd0ca55b36a621aee0b2e9f0c",
1909
+ "msg" : "",
1910
+ "tag" : "3191e7a11401b7229d39f710c79c0d3c863525983582eb78ee259c8e",
1911
+ "result" : "valid"
1912
+ },
1913
+ {
1914
+ "tcId" : 169,
1915
+ "comment" : "long key",
1916
+ "flags" : [
1917
+ "Pseudorandom"
1918
+ ],
1919
+ "key" : "b36d3d47a4585b401fc64c98eff56243d4da78863063d814e88f370b92576406d447fcf3d129a1ede57ddc56ea3a0a1f100105a95e83138cdf45ecf2a5992acf90",
1920
+ "msg" : "15c75a64b04d097af2371af380079eb8",
1921
+ "tag" : "6d1e2f1d736b429096292dd6e07c1f6589eccc0bb751cc0b778cfc95",
1922
+ "result" : "valid"
1923
+ },
1924
+ {
1925
+ "tcId" : 170,
1926
+ "comment" : "long key",
1927
+ "flags" : [
1928
+ "Pseudorandom"
1929
+ ],
1930
+ "key" : "cf78b991382db5e8666ccb2333fb672179b10a75cf9e5a7699ae640005e19772ef6499a3bc97f12e58e835bb0017bb3b2e64c6ab44a0d619dfa0363484d1c991e2",
1931
+ "msg" : "f661e598f180f25dc6dd76db8a9e0e4c9c272b9665a6b1756560c723b8e08595",
1932
+ "tag" : "f2381927c5382b0db8355f362be7f77d6f4412a7a30e93746eb97a05",
1933
+ "result" : "valid"
1934
+ }
1935
+ ]
1936
+ },
1937
+ {
1938
+ "type" : "MacTest",
1939
+ "keySize" : 520,
1940
+ "tagSize" : 112,
1941
+ "tests" : [
1942
+ {
1943
+ "tcId" : 171,
1944
+ "comment" : "long key",
1945
+ "flags" : [
1946
+ "Pseudorandom"
1947
+ ],
1948
+ "key" : "3772ff6bb4e5b2811cfd4d6a3d34dc74bca3dbf89a5817b79d8472a1383b8c9afb27b3006196ce9966829eae6a313c2d724d995f4def17117c09edcfc8c0cbbc93",
1949
+ "msg" : "",
1950
+ "tag" : "ea5345000128c0738c8f599a6e3b",
1951
+ "result" : "valid"
1952
+ },
1953
+ {
1954
+ "tcId" : 172,
1955
+ "comment" : "long key",
1956
+ "flags" : [
1957
+ "Pseudorandom"
1958
+ ],
1959
+ "key" : "2ba910bc0bca90644cb21e96063e2cd85f5dd02fda75d353c9b51eaf45eee94c165ca6592d6cfdd987bfdc1cba66363d535a14b2f7ead841b17c4d76a5049105f9",
1960
+ "msg" : "7ba461040de9ea3cefd4809124f78b39",
1961
+ "tag" : "94b6b9944a2150c2352ec433f37d",
1962
+ "result" : "valid"
1963
+ },
1964
+ {
1965
+ "tcId" : 173,
1966
+ "comment" : "long key",
1967
+ "flags" : [
1968
+ "Pseudorandom"
1969
+ ],
1970
+ "key" : "7fcf3cb1b1c5b537492aede4689284b5881935e3537bb7307198d6518e7a6aabf70b50b44e4a8dfee35e9f5cbada7447e511a37209390fcd171c62075c6a8bf1eb",
1971
+ "msg" : "83d29c1c4d059ddb0d2aca787e5b701bac3953fb9bc72dc87b1ef92a582e9748",
1972
+ "tag" : "c5bda15644f48a624902d3251aa6",
1973
+ "result" : "valid"
1974
+ }
1975
+ ]
1976
+ }
1977
+ ]
1978
+ }