aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/core.cfg150
1 files changed, 52 insertions, 98 deletions
diff --git a/config/core.cfg b/config/core.cfg
index 67497e6..6520393 100644
--- a/config/core.cfg
+++ b/config/core.cfg
@@ -86,9 +86,9 @@ cores = sha256 aes trng modexp mkmif
# Make me one with everything, except we want two modexp cores for parallel CRT
cores = sha1 sha256 sha512 aes trng modexp modexp mkmif ecdsa256 ecdsa384
-[project hsm-super]
-# super-size it
-cores = mkmif trng sha1 sha1 sha1 sha256 sha256 sha256 sha512 sha512 sha512 aes aes aes modexp modexp modexp ecdsa256 ecdsa256 ecdsa256 ecdsa384 ecdsa384 ecdsa384
+[project keywrap]
+# for testing Joachim's keywrap core with RSA signing
+cores = mkmif sha256 aes trng modexp modexp ecdsa256 ecdsa384 keywrap
[project keywrap]
# for testing Joachim's keywrap core with RSA signing
@@ -208,17 +208,16 @@ vfiles =
math/modexpa7/src/rtl/modexpa7_systolic_multiplier_array.v
math/modexpa7/src/rtl/modexpa7_top.v
math/modexpa7/src/rtl/modexpa7_wrapper.v
- math/modexpa7/src/rtl/pe/artix7/modexpa7_adder32_artix7.v
- math/modexpa7/src/rtl/pe/artix7/modexpa7_dsp48e1_wrapper.v
- math/modexpa7/src/rtl/pe/artix7/modexpa7_dsp48e1_wrapper_ext.v
- math/modexpa7/src/rtl/pe/artix7/modexpa7_multiplier32_artix7.v
- math/modexpa7/src/rtl/pe/artix7/modexpa7_subtractor32_artix7.v
- math/modexpa7/src/rtl/pe/artix7/modexpa7_systolic_pe_artix7.v
- math/modexpa7/src/rtl/pe/modexpa7_adder32.v
- math/modexpa7/src/rtl/pe/modexpa7_subtractor32.v
- math/modexpa7/src/rtl/pe/modexpa7_systolic_pe.v
- math/modexpa7/src/rtl/util/bram_1rw_readfirst.v
- math/ecdsalib/rtl/util/bram_1rw_1ro_readfirst.v
+ lib/memory/bram_1rw_1ro_readfirst.v
+ lib/memory/bram_1rw_readfirst.v
+ lib/lowlevel/artix7/adder32_artix7.v
+ lib/lowlevel/artix7/adder32_ce_artix7.v
+ lib/lowlevel/artix7/subtractor32_artix7.v
+ lib/lowlevel/artix7/subtractor32_ce_artix7.v
+ lib/lowlevel/artix7/modexp_multiplier32_artix7.v
+ lib/lowlevel/artix7/modexp_systolic_pe_artix7.v
+ lib/lowlevel/artix7/dsp48e1_wrapper.v
+ lib/lowlevel/artix7/dsp48e1_wrapper_modexp.v
[core modexps6]
# ModExp for Xilinx Spartan-6
@@ -284,49 +283,27 @@ block memory = yes
error wire = no
module name = ecdsa256_wrapper
vfiles =
- pkey/ecdsa256/rtl/curve/curve_dbl_add_256.v
- pkey/ecdsa256/rtl/curve/curve_mul_256.v
- pkey/ecdsa256/rtl/curve/rom/brom_p256_delta.v
- pkey/ecdsa256/rtl/curve/rom/brom_p256_g_x.v
- pkey/ecdsa256/rtl/curve/rom/brom_p256_g_y.v
- pkey/ecdsa256/rtl/curve/rom/brom_p256_h_x.v
- pkey/ecdsa256/rtl/curve/rom/brom_p256_h_y.v
- pkey/ecdsa256/rtl/curve/rom/brom_p256_one.v
- pkey/ecdsa256/rtl/curve/rom/brom_p256_q.v
- pkey/ecdsa256/rtl/curve/rom/brom_p256_zero.v
- pkey/ecdsa256/rtl/ecdsa256.v
+ pkey/ecdsa256/rtl/ecdsa256_banks_array.v
+ pkey/ecdsa256/rtl/ecdsa256_base_point_multiplier.v
+ pkey/ecdsa256/rtl/ecdsa256_core_top.v
+ pkey/ecdsa256/rtl/ecdsa256_microcode_rom.v
+ pkey/ecdsa256/rtl/ecdsa256_operand_bank.v
+ pkey/ecdsa256/rtl/ecdsa256_uop_worker.v
pkey/ecdsa256/rtl/ecdsa256_wrapper.v
- pkey/ecdsa256/rtl/modular/modular_multiplier_256.v
- pkey/ecdsa256/rtl/modular/modular_reductor_256.v
- math/ecdsalib/rtl/curve/uop_ecdsa.v
- math/ecdsalib/rtl/curve/uop/uop_add_rom.v
- math/ecdsalib/rtl/curve/uop/uop_conv_rom.v
- math/ecdsalib/rtl/curve/uop/uop_dbl_rom.v
- math/ecdsalib/rtl/curve/uop/uop_init_rom.v
- math/ecdsalib/rtl/lowlevel/adder32_wrapper.v
- math/ecdsalib/rtl/lowlevel/adder47_wrapper.v
- math/ecdsalib/rtl/lowlevel/artix7/adder32_artix7.v
- math/ecdsalib/rtl/lowlevel/artix7/adder47_artix7.v
- math/ecdsalib/rtl/lowlevel/artix7/dsp48e1_wrapper.v
- math/ecdsalib/rtl/lowlevel/artix7/mac16_artix7.v
- math/ecdsalib/rtl/lowlevel/artix7/subtractor32_artix7.v
- math/ecdsalib/rtl/lowlevel/ecdsa_lowlevel_settings.v
- math/ecdsalib/rtl/lowlevel/mac16_wrapper.v
- math/ecdsalib/rtl/lowlevel/subtractor32_wrapper.v
- math/ecdsalib/rtl/modular/modular_adder.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_copy.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_init.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_invert_compare.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_invert_precalc.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_invert_update.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_reduce_precalc.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_reduce_update.v
- math/ecdsalib/rtl/modular/modular_invertor/modinv_clog2.v
- math/ecdsalib/rtl/modular/modular_invertor/modular_invertor.v
- math/ecdsalib/rtl/modular/modular_subtractor.v
- math/ecdsalib/rtl/multiword/mw_comparator.v
- math/ecdsalib/rtl/multiword/mw_mover.v
- math/ecdsalib/rtl/util/bram_1rw_1ro_readfirst.v
+ math/ecdsalib/rtl/modular/ecdsa256_modular_multiplier.v
+ math/ecdsalib/rtl/modular/ecdsa256_modular_reductor.v
+ math/ecdsalib/rtl/modular/ecdsa256_modulus_distmem.v
+ lib/memory/bram_1rw_1ro_readfirst.v
+ lib/lowlevel/artix7/mac16_artix7.v
+ lib/lowlevel/artix7/adder32_artix7.v
+ lib/lowlevel/artix7/subtractor32_artix7.v
+ lib/lowlevel/artix7/adder47_artix7.v
+ lib/multiword/multiword_mover.v
+ lib/multiword/multiword_comparator.v
+ lib/modular/modular_adder.v
+ lib/modular/modular_subtractor.v
+ lib/lowlevel/artix7/dsp48e1_wrapper.v
+
[core ecdsa384]
# ECDSA-P384 point multipler
@@ -336,49 +313,26 @@ block memory = yes
error wire = no
module name = ecdsa384_wrapper
vfiles =
- pkey/ecdsa384/rtl/curve/curve_dbl_add_384.v
- pkey/ecdsa384/rtl/curve/curve_mul_384.v
- pkey/ecdsa384/rtl/curve/rom/brom_p384_delta.v
- pkey/ecdsa384/rtl/curve/rom/brom_p384_g_x.v
- pkey/ecdsa384/rtl/curve/rom/brom_p384_g_y.v
- pkey/ecdsa384/rtl/curve/rom/brom_p384_h_x.v
- pkey/ecdsa384/rtl/curve/rom/brom_p384_h_y.v
- pkey/ecdsa384/rtl/curve/rom/brom_p384_one.v
- pkey/ecdsa384/rtl/curve/rom/brom_p384_q.v
- pkey/ecdsa384/rtl/curve/rom/brom_p384_zero.v
- pkey/ecdsa384/rtl/ecdsa384.v
+ pkey/ecdsa384/rtl/ecdsa384_banks_array.v
+ pkey/ecdsa384/rtl/ecdsa384_base_point_multiplier.v
+ pkey/ecdsa384/rtl/ecdsa384_core_top.v
+ pkey/ecdsa384/rtl/ecdsa384_microcode_rom.v
+ pkey/ecdsa384/rtl/ecdsa384_operand_bank.v
+ pkey/ecdsa384/rtl/ecdsa384_uop_worker.v
pkey/ecdsa384/rtl/ecdsa384_wrapper.v
- pkey/ecdsa384/rtl/modular/modular_multiplier_384.v
- pkey/ecdsa384/rtl/modular/modular_reductor_384.v
- math/ecdsalib/rtl/curve/uop_ecdsa.v
- math/ecdsalib/rtl/curve/uop/uop_add_rom.v
- math/ecdsalib/rtl/curve/uop/uop_conv_rom.v
- math/ecdsalib/rtl/curve/uop/uop_dbl_rom.v
- math/ecdsalib/rtl/curve/uop/uop_init_rom.v
- math/ecdsalib/rtl/lowlevel/adder32_wrapper.v
- math/ecdsalib/rtl/lowlevel/adder47_wrapper.v
- math/ecdsalib/rtl/lowlevel/artix7/adder32_artix7.v
- math/ecdsalib/rtl/lowlevel/artix7/adder47_artix7.v
- math/ecdsalib/rtl/lowlevel/artix7/dsp48e1_wrapper.v
- math/ecdsalib/rtl/lowlevel/artix7/mac16_artix7.v
- math/ecdsalib/rtl/lowlevel/artix7/subtractor32_artix7.v
- math/ecdsalib/rtl/lowlevel/ecdsa_lowlevel_settings.v
- math/ecdsalib/rtl/lowlevel/mac16_wrapper.v
- math/ecdsalib/rtl/lowlevel/subtractor32_wrapper.v
- math/ecdsalib/rtl/modular/modular_adder.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_copy.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_init.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_invert_compare.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_invert_precalc.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_invert_update.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_reduce_precalc.v
- math/ecdsalib/rtl/modular/modular_invertor/helper/modinv_helper_reduce_update.v
- math/ecdsalib/rtl/modular/modular_invertor/modinv_clog2.v
- math/ecdsalib/rtl/modular/modular_invertor/modular_invertor.v
- math/ecdsalib/rtl/modular/modular_subtractor.v
- math/ecdsalib/rtl/multiword/mw_comparator.v
- math/ecdsalib/rtl/multiword/mw_mover.v
- math/ecdsalib/rtl/util/bram_1rw_1ro_readfirst.v
+ math/ecdsalib/rtl/modular/ecdsa384_modular_multiplier.v
+ math/ecdsalib/rtl/modular/ecdsa384_modular_reductor.v
+ math/ecdsalib/rtl/modular/ecdsa384_modulus_distmem.v
+ lib/memory/bram_1rw_1ro_readfirst.v
+ lib/lowlevel/artix7/mac16_artix7.v
+ lib/lowlevel/artix7/adder32_artix7.v
+ lib/lowlevel/artix7/subtractor32_artix7.v
+ lib/lowlevel/artix7/adder47_artix7.v
+ lib/multiword/multiword_mover.v
+ lib/multiword/multiword_comparator.v
+ lib/modular/modular_adder.v
+ lib/modular/modular_subtractor.v
+ lib/lowlevel/artix7/dsp48e1_wrapper.v
[core keywrap]
# Joachim's experimental AES-keywrap core