瀏覽代碼

[test] Add big integer self-tests

These test vectors are generated using Perl's Math::BigInt.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 12 年之前
父節點
當前提交
4e53303c03
共有 2 個檔案被更改,包括 2430 行新增0 行删除
  1. 2429
    0
      src/tests/bigint_test.c
  2. 1
    0
      src/tests/tests.c

+ 2429
- 0
src/tests/bigint_test.c
文件差異過大導致無法顯示
查看文件


+ 1
- 0
src/tests/tests.c 查看文件

@@ -33,3 +33,4 @@ REQUIRE_OBJECT ( sha256_test );
33 33
 REQUIRE_OBJECT ( aes_cbc_test );
34 34
 REQUIRE_OBJECT ( hmac_drbg_test );
35 35
 REQUIRE_OBJECT ( hash_df_test );
36
+REQUIRE_OBJECT ( bigint_test );

Loading…
取消
儲存