Sfoglia il codice sorgente

[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 anni fa
parent
commit
4e53303c03
2 ha cambiato i file con 2430 aggiunte e 0 eliminazioni
  1. 2429
    0
      src/tests/bigint_test.c
  2. 1
    0
      src/tests/tests.c

+ 2429
- 0
src/tests/bigint_test.c
File diff soppresso perché troppo grande
Vedi File


+ 1
- 0
src/tests/tests.c Vedi File

@@ -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…
Annulla
Salva