OpenCores
URL https://opencores.org/ocsvn/apbtoaes128/apbtoaes128/trunk

Subversion Repositories apbtoaes128

[/] [apbtoaes128/] [trunk/] [pli/] [aes_bfm_generate.h] - Diff between revs 15 and 18

Show entire file | Details | Blame | View Log

Rev 15 Rev 18
Line 83... Line 83...
        vpi_get_value(PRESETn, &v_generate);
        vpi_get_value(PRESETn, &v_generate);
 
 
        if(v_generate.value.integer == 1)
        if(v_generate.value.integer == 1)
        {
        {
 
 
                        FIPS_ENABLE =FIPS;
                        FIPS_ENABLE =RANDOM_DATA;
                        DATATYPE = TYPE_00;
                        DATATYPE = TYPE_00;
 
 
//                      type_bfm = AES_WR_ONLY;
//                      type_bfm = AES_WR_ONLY;
//                      type_bfm = AES_WR_ERROR_DINR_ONLY;
//                      type_bfm = AES_WR_ERROR_DINR_ONLY;
//                      type_bfm = AES_WR_ERROR_DOUTR_ONLY;
//                      type_bfm = AES_WR_ERROR_DOUTR_ONLY;
 
 
                        type_bfm = ECB_ENCRYPTION;
//                      type_bfm = ECB_ENCRYPTION;
//                      type_bfm = ECB_DECRYPTION;
//                      type_bfm = ECB_DECRYPTION;
//                      type_bfm = ECB_KEY_GEN;
//                      type_bfm = ECB_KEY_GEN;
//                      type_bfm = ECB_DERIVATION_DECRYPTION;
//                      type_bfm = ECB_DERIVATION_DECRYPTION;
 
 
//                      type_bfm = ECB_ENCRYPTION_DMA;
//                      type_bfm = ECB_ENCRYPTION_DMA;
Line 136... Line 136...
//                      type_bfm = CTR_ENCRYPTION_CCFIE;
//                      type_bfm = CTR_ENCRYPTION_CCFIE;
//                      type_bfm = CTR_DECRYPTION_CCFIE;
//                      type_bfm = CTR_DECRYPTION_CCFIE;
//                      type_bfm = CTR_KEY_GEN_CCFIE;
//                      type_bfm = CTR_KEY_GEN_CCFIE;
//                      type_bfm = CTR_DERIVATION_DECRYPTION_CCFIE;
//                      type_bfm = CTR_DERIVATION_DECRYPTION_CCFIE;
 
 
//                      type_bfm = SUFLE_TEST;
                        type_bfm = SUFLE_TEST;
 
 
 
 
                        if(PACKETS_GENERATED == MAX_ITERATIONS)
                        if(PACKETS_GENERATED == MAX_ITERATIONS)
                        {
                        {
                                v_generate.value.integer = 1;
                                v_generate.value.integer = 1;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.