コード例 #1
0
            public void RunStructFldScenario(AesUnaryOpTest__MixColumns_Vector128_Byte testClass)
            {
                var result = Aes.MixColumns(_fld);

                Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                testClass.ValidateResult(testClass._dataTable.outArrayPtr);
            }
コード例 #2
0
            public void RunStructFldScenario_Load(AesUnaryOpTest__MixColumns_Vector128_Byte testClass)
            {
                fixed(Vector128 <Byte> *pFld = &_fld)
                {
                    var result = Aes.MixColumns(
                        AdvSimd.LoadVector128((Byte *)(pFld))
                        );

                    Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                    testClass.ValidateResult(testClass._dataTable.outArrayPtr);
                }
            }