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

Subversion Repositories apbtoaes128

[/] [apbtoaes128/] [trunk/] [pli/] [aes_monitor.h] - Diff between revs 9 and 12

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 9 Rev 12
Line 410... Line 410...
 
 
                                                counter_monitor++;
                                                counter_monitor++;
                                        }
                                        }
 
 
 
 
 
                                        if(v_monitor.value.integer == ADDR_AES_SR)
 
                                        {
 
                                                vpi_get_value(PRDATA, &v_monitor_catch);
 
                                                //printf("%X\n",v_monitor_catch.value.integer);
 
                                                O =v_monitor_catch.value.integer;
 
 
 
                                                if(type_bfm == AES_WR_ERROR_DOUTR_ONLY || type_bfm == AES_WR_ERROR_DINR_ONLY)
 
                                                {
 
                                                        counter_monitor++;
 
                                                }
 
                                        }
 
 
                                        if(v_monitor.value.integer == ADDR_AES_DOUTR)
                                        if(v_monitor.value.integer == ADDR_AES_DOUTR)
                                        {
                                        {
 
 
                                                vpi_get_value(PRDATA, &v_monitor_catch);
                                                vpi_get_value(PRDATA, &v_monitor_catch);
                                                //vpi_put_value(PRDATA, &v_monitor_catch, &t_monitor, vpiTransportDelay);
                                                //vpi_put_value(PRDATA, &v_monitor_catch, &t_monitor, vpiTransportDelay);
Line 476... Line 488...
                                        if(counter_monitor == 12 && FIPS_ENABLE == FIPS)
                                        if(counter_monitor == 12 && FIPS_ENABLE == FIPS)
                                        {
                                        {
                                                printf("Checking results\n\n");
                                                printf("Checking results\n\n");
                                                counter_monitor = 0;
                                                counter_monitor = 0;
 
 
                                                if(I == 4094)// WR
                                                if(type_bfm == AES_WR_ERROR_DOUTR_ONLY)
 
                                                {
 
                                                        if(O == 2 || O == 6)
 
                                                        {
 
                                                                printf("AES_WR_ERROR_DOUTR_ONLY PASS\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("AES_WR_ERROR_DOUTR_ONLY FAILs\n");
 
                                                                printf("%i\n",O);
 
                                                        }
 
 
 
 
 
                                                }else if(type_bfm == AES_WR_ERROR_DINR_ONLY)
 
                                                {
 
 
 
                                                        if(O == 4)
 
                                                        {
 
                                                                printf("AES_WR_ERROR_DINR_ONLY PASS\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("AES_WR_ERROR_DINR_ONLY FAILs\n");
 
                                                                printf("%i\n",O);
 
                                                        }
 
 
 
 
 
                                                }else if(I == 4094)// WR
                                                {
                                                {
                                                        if(memcmp(TEXT_NULL,OUTPUT_TEXT,16) == 0)
                                                        if(memcmp(TEXT_NULL,OUTPUT_TEXT,16) == 0)
                                                        {
                                                        {
                                                                printf("WRITE READ: TEXT CR DISABLED PASSED.\n");
                                                                printf("WRITE READ: TEXT CR DISABLED PASSED.\n");
                                                        }else
                                                        }else
Line 502... Line 539...
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("WRITE READ: IVR WHEN CR DISABLED FAIL.\n");
                                                                printf("WRITE READ: IVR WHEN CR DISABLED FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 1)//ECB ENCRYPTION
                                                }else if(I == 1)//ECB ENCRYPTION DATATYPE 00
                                                {
                                                {
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 6145 ) //ECB ENCRYPTION DMA
                                                }else if(I == 3)//ECB ENCRYPTION DATATYPE 01
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION DMA: TEXT CYPHER  WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION DMA: TEXT CYPHER WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if (I == 513) // ECB ENCRYPTION CCFIE
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DERIVATED,16) == 0)
                                                }else if(I == 5)//ECB ENCRYPTION DATATYPE 02
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION CCFIE: TEXT CYPHER PASSED.\n");
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("ECB ENCRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION CCFIE: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION CCFIE: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB ENCRYPTION CCFIE: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 25)// ECB DERIVATION DECRYPTION
                                                }else if(I == 7)//ECB ENCRYPTION DATATYPE 03
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE03: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 6169)// ECB DERIVATION DECRYPTION DMA
 
                                                {
 
 
 
 
                                                }else if(I == 6145 ) //ECB ENCRYPTION DMA DATATYPE 00
 
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE00 : TEXT CYPHER  WHEN CR ENABLE PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE00 : TEXT CYPHER WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 537)// ECB DERIVATION DECRYPTION CCFIE
                                                }else if(I == 6147 ) //ECB ENCRYPTION DMA DATATYPE 01
                                                {
                                                {
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
 
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE01 : TEXT CYPHER  WHEN CR ENABLE PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE01 : TEXT CYPHER WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DERIVATION DECRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 17)//ECB DECRYPTION
 
 
                                                }else if (I == 6149 ) //ECB ENCRYPTION DMA DATATYPE 02
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE02 : TEXT CYPHER  WHEN CR ENABLE PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE02 : TEXT CYPHER WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                }else if(I == 6161)//ECB DECRYPTION DMA
                                                }else if (I == 6151 ) //ECB ENCRYPTION DMA DATATYPE 03
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE03 : TEXT CYPHER  WHEN CR ENABLE PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE03 : TEXT CYPHER WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
                                                }else if(I == 529)//ECB DECRYPTION CCFIE
 
 
 
 
                                                }else if (I == 513) //ECB ENCRYPTION CCFIE DATA TYPE00
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION CCFIE: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION CCFIE: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE00: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION CCFIE: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB DECRYPTION CCFIE: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 9) //ECB KEY GENARATION
                                                }else if(I == 515)//ECB ENCRYPTION CCFIE DATA TYPE01
                                                {
                                                {
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB KEY GEN : TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN : TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE01: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_DERIVATED,16) == 0)
 
                                                        {
                                                        {
                                                                printf("ECB KEY GEN: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,KEY_FIPS_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB KEY GEN: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 6153)// ECB KEY GENARATION DMA
 
 
                                                }else if(I == 517)//ECB ENCRYPTION CCFIE DATA TYPE02
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB KEY GEN DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE02: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB KEY GEN DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_IVR,KEY_FIPS_NOT_DERIVATED,16) == 0)
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB KEY GEN DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 521)// ECB KEY GENARATION CCFIE
                                                }else if(I == 519)//ECB ENCRYPTION CCFIE DATA TYPE03
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB KEY GEN CCFIE: TEXT CYPHER PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN CCFIE: TEXT CYPHER FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE03: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB KEY GEN CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_IVR,KEY_FIPS_NOT_DERIVATED,16) == 0)
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("ECB KEY GEN CCFIE: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("ECB KEY GEN CCFIE: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB ENCRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 33) // ENCRYPTION CBC
 
 
                                                }else if(I == 25)// ECB DERIVATION DECRYPTION DATA TYPE00
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 6177)//CBC ENCRYPTION DMA
                                                }else if(I == 27)// ECB DERIVATION DECRYPTION DATA TYPE01
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 545)//CBC ENCRYPTION CCFIE
                                                }else if(I == 29)// ECB DERIVATION DECRYPTION DATA TYPE02
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION CCFIE: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION CCFIE: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION CCFIE: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC ENCRYPTION CCFIE: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 49)// CBC DECRYPTION
                                                }else if(I == 31)// ECB DERIVATION DECRYPTION DATA TYPE03
                                                {
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE03: TEXT CYPHER FAIL.\n");
 
 
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
                                                }else if(I == 6169)// ECB DERIVATION DECRYPTION DMA DATA TYPE00
 
 
                                                }else if(I == 3121)//CBC DECRYPTION DMA 
 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION DMA : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION DMA : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
 
 
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION DMA : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION DMA : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION DMA  : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION DMA  : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 561)// CBC DECRYPTION CCFIE
                                                }else if(I == 6171)// ECB DERIVATION DECRYPTION DMA DATATYPE01
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION  : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION  : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
 
 
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION  : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION  : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION  : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DECRYPTION  : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 41) //CBC KEY GENERATION
 
                                                {
 
 
 
 
                                                }else if(I == 6173)// ECB DERIVATION DECRYPTION DMA DATATYPE02 
 
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC KEY GEN  : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN  : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
 
 
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CBC_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC KEY GEN  : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN  : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC KEY GEN  : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN  : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                }else if(I == 6185) //CBC KEY GENERATION DMA
                                                }else if(I == 6175)// ECB DERIVATION DECRYPTION DMA DATATYPE03  
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC KEY GEN DMA : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN DMA : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CBC_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC KEY GEN DMA : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN DMA : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC KEY GEN DMA : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN DMA : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 297 ) //CBC KEY GENERATION CCFIE 
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
                                                }else if(I == 537)// ECB DERIVATION DECRYPTION CCFIE DATA TYPE00 
                                                        {
                                                        {
                                                                printf("CBC KEY GEN CCFIE : TEXT CYPHER PASSED.\n");
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN CCFIE : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE00: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CBC_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC KEY GEN CCFIE : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN CCFIE : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC KEY GEN CCFIE : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC KEY GEN CCFIE : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 57)// CBC DERIVATION DECRYPTION
                                                }else if(I == 539)// ECB DERIVATION DECRYPTION CCFIE DATA TYPE01 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE01: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 6201) // CBC DERIVATION DECRYPTION DMA
                                                }else if(I == 541)// ECB DERIVATION DECRYPTION CCFIE DATA TYPE02 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION DMA : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION DMA : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE02: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION DMA : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION DMA : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION DMA : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION DMA : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 569) // CBC DERIVATION DECRYPTION CCFIE
                                                }else if(I == 543)// ECB DERIVATION DECRYPTION CCFIE DATA TYPE03 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION CCFIE : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION CCFIE : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE03: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION CCFIE : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION CCFIE : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION CCFIE : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CBC DERIVATION DECRYPTION CCFIE : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DERIVATION DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                }else if(I == 65)// CTR ENCFRYPTION
 
                                                {
 
 
 
 
                                                }else if(I == 17)//ECB DECRYPTION DATA TYPE00 
 
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
                                                }else if(I == 19)//ECB DECRYPTION DATA TYPE01
                                                }else if(I == 6209)// CTR ENCRYPTION DMA
 
                                                {
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DERIVATED,16) == 0)
 
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                }else if(I == 577)// CTR ENCRYPTION CCFIE
                                                }else if(I == 21)//ECB DECRYPTION DATA TYPE02
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION CCFIE: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION CCFIE: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION CCFIE: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR ENCRYPTION CCFIE: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                }else if(I == 81) //CTR DECRYPTION
                                                }else if(I == 23)//ECB DECRYPTION DATA TYPE03 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION : TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION : TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION : KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION : KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION : IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION : IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 6225) //CTR DECRYPTION DMA
                                                }else if(I == 6161)//ECB DECRYPTION DMA DATA TYPE00 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
                                                }else if(I == 6163)//ECB DECRYPTION DMA DATA TYPE01 
                                                }else if(I == 593) //CTR DECRYPTION CCFIE
 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION CCFIE: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION CCFIE: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION CCFIE: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DECRYPTION CCFIE: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                }else if(I == 89) //CTR DERIVATION DECRYPTION
                                                }else if(I == 6165)//ECB DECRYPTION DMA DATA TYPE02 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 6233) //CTR DERIVATION DECRYPTION DMA
 
 
                                                }else if(I == 6167)//ECB DECRYPTION DMA DATA TYPE03 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 601) //CTR DERIVATION DECRYPTION CCFIE
 
 
                                                }else if(I == 529)//ECB DECRYPTION CCFIE DATATYPE00
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE00: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR DERIVATION DECRYPTION DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 73)// CTR KEY GENERATION
                                                }else if(I == 531)//ECB DECRYPTION CCFIE DATATYPE01 
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR KEY GEN: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE01: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CTR_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR KEY GEN: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR KEY GEN: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                }else if(I == 6217) // CTR KEY GENERATION DMA
                                                }else if(I == 533)//ECB DECRYPTION CCFIE DATATYPE02 
                                                {
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
                                                        {
                                                                printf("CTR KEY GEN DMA: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN DMA: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE02: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CTR_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR KEY GEN DMA: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN DMA: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR KEY GEN DMA: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN DMA: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }else if(I == 585) // CTR KEY GENERATION CCFIE
                                                }else if(I == 535)//ECB DECRYPTION CCFIE DATATYPE03
                                                {
                                                {
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_NOT_DATATYPE_DERIVATED,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR KEY GEN CCFIE: TEXT CYPHER PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN CCFIE: TEXT CYPHER FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE03: TEXT CYPHER FAIL.\n");
                                                        }
                                                        }
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CTR_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR KEY GEN CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CTR_NOT_DERIVATED,16) == 0)
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
                                                        {
                                                        {
                                                                printf("CTR KEY GEN CCFIE: IVR WHEN CR ENABLE PASSED.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
                                                        }else
                                                        }else
                                                        {
                                                        {
                                                                printf("CTR KEY GEN CCFIE: IVR WHEN CR ENABLE FAIL.\n");
                                                                printf("ECB DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 9) //ECB KEY GENARATION
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN : TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN : TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,KEY_FIPS_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6153)// ECB KEY GENARATION DMA
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN DMA: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN DMA: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN DMA: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN DMA: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,KEY_FIPS_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN DMA: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN DMA: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 521)// ECB KEY GENARATION CCFIE
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN CCFIE: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN CCFIE: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,KEY_FIPS_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("ECB KEY GEN CCFIE: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("ECB KEY GEN CCFIE: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 33) // ENCRYPTION CBC DATA TYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 35) // ENCRYPTION CBC DATA TYPE01
 
                                                {
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 37) // ENCRYPTION CBC DATA TYPE02 
 
                                                {
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 39) // ENCRYPTION CBC DATA TYPE03 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6177)//CBC ENCRYPTION DMA DATA TYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6179)//CBC ENCRYPTION DMA DATA TYPE01
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6181)//CBC ENCRYPTION DMA DATA TYPE02 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6183)//CBC ENCRYPTION DMA DATA TYPE03  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 545)//CBC ENCRYPTION CCFIE DATA TYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 547)//CBC ENCRYPTION CCFIE DATA TYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 549)//CBC ENCRYPTION CCFIE DATA TYPE02  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 551)//CBC ENCRYPTION CCFIE DATA TYPE03  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CBC_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC ENCRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 49)// CBC DECRYPTION DATA TYPE00
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 51)// CBC DECRYPTION DATA TYPE01
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 53)// CBC DECRYPTION DATA TYPE02 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 55)// CBC DECRYPTION DATA TYPE03 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE03: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6193)//CBC DECRYPTION DMA  DATA TYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6195)//CBC DECRYPTION DMA  DATA TYPE01
 
                                                {
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6197)//CBC DECRYPTION DMA  DATA TYPE02
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6199)//CBC DECRYPTION DMA  DATA TYPE03 
 
                                                {
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 561)// CBC DECRYPTION CCFIE DATA TYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE  DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE00: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 563)// CBC DECRYPTION CCFIE DATATYPE01 
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE01: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE01 : KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE01 : KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION  CCFIE DATATYPE01 : IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION  CCFIE DATATYPE01 : IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 565)// CBC DECRYPTION CCFIE DATATYPE02  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE02: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE02 : KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE02 : KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE02 : IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE02 : IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 567)// CBC DECRYPTION CCFIE DATATYPE03 
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE03: TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 41) //CBC KEY GENERATION
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN  : TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN  : TEXT CYPHER FAIL.\n");
 
 
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CBC_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN  : KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN  : KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN  : IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN  : IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 6185) //CBC KEY GENERATION DMA
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN DMA : TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN DMA : TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CBC_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN DMA : KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN DMA : KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN DMA : IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN DMA : IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 553 ) //CBC KEY GENERATION CCFIE 
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN CCFIE : TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN CCFIE : TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CBC_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN CCFIE : KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN CCFIE : KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC KEY GEN CCFIE : IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC KEY GEN CCFIE : IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 57)// CBC DERIVATION DECRYPTION DATA TYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 59)// CBC DERIVATION DECRYPTION DATA TYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
 
 
                                                }else if(I == 61)// CBC DERIVATION DECRYPTION DATA TYPE02  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 63)// CBC DERIVATION DECRYPTION DATA TYPE03 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6201) // CBC DERIVATION DECRYPTION DMA DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6203) // CBC DERIVATION DECRYPTION DMA DATATYPE01
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 6205) // CBC DERIVATION DECRYPTION DMA DATATYPE02
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6207) // CBC DERIVATION DECRYPTION DMA DATATYPE03 
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 569) // CBC DERIVATION DECRYPTION CCFIE DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 571) // CBC DERIVATION DECRYPTION CCFIE DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 573) // CBC DERIVATION DECRYPTION CCFIE DATATYPE02 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 575) // CBC DERIVATION DECRYPTION CCFIE DATATYPE03  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CBC_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CBC DERIVATION DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 65)// CTR ENCFRYPTION DATATYPE00
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 67)// CTR ENCFRYPTION DATATYPE01 
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 69)// CTR ENCFRYPTION DATATYPE02 
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 71)// CTR ENCFRYPTION DATATYPE03  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 6209)// CTR ENCRYPTION DMA DATATYPE00
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6211)// CTR ENCRYPTION DMA DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6213)// CTR ENCRYPTION DMA DATATYPE02 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 6215)// CTR ENCRYPTION DMA DATATYPE03 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 577)// CTR ENCRYPTION CCFIE DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 579)// CTR ENCRYPTION CCFIE DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T01_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 581)// CTR ENCRYPTION CCFIE DATATYPE02 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T02_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 583)// CTR ENCRYPTION CCFIE DATATYPE03  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_CTR_FIPS_DATATYPE_T03_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR ENCRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 81) //CTR DECRYPTION DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 83) //CTR DECRYPTION DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 85) //CTR DECRYPTION DATATYPE02 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 87) //CTR DECRYPTION DATATYPE03 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 6225) //CTR DECRYPTION DMA DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6227) //CTR DECRYPTION DMA DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6229) //CTR DECRYPTION DMA DATATYPE02  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6231) //CTR DECRYPTION DMA DATATYPE03  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 593) //CTR DECRYPTION CCFIE DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 595) //CTR DECRYPTION CCFIE DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 597) //CTR DECRYPTION CCFIE DATATYPE02  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 599) //CTR DECRYPTION CCFIE DATATYPE03  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DECRYPTION CCFIE DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 89) //CTR DERIVATION DECRYPTION DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 91) //CTR DERIVATION DECRYPTION DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 93) //CTR DERIVATION DECRYPTION DATATYPE02 
 
                                                {
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 95) //CTR DERIVATION DECRYPTION DATATYPE03 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6233) //CTR DERIVATION DECRYPTION DMA DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 6235) //CTR DERIVATION DECRYPTION DMA DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6237) //CTR DERIVATION DECRYPTION DMA DATATYPE02  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6239) //CTR DERIVATION DECRYPTION DMA DATATYPE03  
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
 
 
                                                }else if(I == 601) //CTR DERIVATION DECRYPTION CCFIE DATATYPE00
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE00: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 603) //CTR DERIVATION DECRYPTION CCFIE DATATYPE01 
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE01: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 605) //CTR DERIVATION DECRYPTION CCFIE DATATYPE02  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE02: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 607) //CTR DERIVATION DECRYPTION CCFIE DATATYPE03  
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_FIPS_CTR_NOT_DATATYPE_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_IVR,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR DERIVATION DECRYPTION DMA DATATYPE03: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 73)// CTR KEY GENERATION
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CTR_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                }else if(I == 6217) // CTR KEY GENERATION DMA
 
                                                {
 
 
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN DMA: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN DMA: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CTR_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN DMA: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN DMA: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN DMA: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN DMA: IVR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
                                                }else if(I == 585) // CTR KEY GENERATION CCFIE
 
                                                {
 
 
 
                                                        if(memcmp(OUTPUT_TEXT,TEXT_NULL,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN CCFIE: TEXT CYPHER PASSED.\n");
 
 
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN CCFIE: TEXT CYPHER FAIL.\n");
 
                                                        }
 
 
 
                                                        if(memcmp(OUTPUT_KEYR,KEY_FIPS_CTR_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN CCFIE: KEYR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN CCFIE: KEYR WHEN CR ENABLE FAIL.\n");
 
                                                        }
 
 
 
 
 
                                                        if(memcmp(OUTPUT_IVR,IV_FIPS_CTR_NOT_DERIVATED,16) == 0)
 
                                                        {
 
                                                                printf("CTR KEY GEN CCFIE: IVR WHEN CR ENABLE PASSED.\n");
 
                                                        }else
 
                                                        {
 
                                                                printf("CTR KEY GEN CCFIE: IVR WHEN CR ENABLE FAIL.\n");
                                                        }
                                                        }
 
 
                                                }
                                                }
 
 
 
 
 
 
 
 
 
 
                                        }//counter == 12
                                        }//counter == 12
 
                                        else
 
                                        {
 
 
 
 
 
                                        }
 
 
                                }
                                }
 
 
 
 
 
 

powered by: WebSVN 2.1.0

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