18 Nisan 2017 Salı 09:10:22 UTC+3 tarihinde Jeffrey Walton yazdı:
>
>
>
> On Monday, April 17, 2017 at 4:59:25 PM UTC-4, Mehmet TUFEKCI wrote:
>>
>> Hi everyone!
>>
>> I add my new algorithm to crypto++. But when I make bench it gives 
>> segmentation fault. Any idea why?
>>
>
> No idea. Run it under Valgrind or another memory checker.
>
> Jeff
>


Hi Jeff;

I have registered my new algorithm. I add aes.cpp to crypto++ library.  But 
there is problem;

void AES_X::Base::ProcessAndXorBlock(const byte *inBlock, const byte 
*xorBlock, byte *outBlock) const
{
    xorbuf(outBlock, inBlock, m_x1, BLOCKSIZE);
    //m_aes->ProcessAndXorBlock(outBlock, xorBlock, outBlock);
    xorbuf(outBlock, m_x3, BLOCKSIZE);
}

In this function if I use "m_aes->ProcessAndXorBlock(outBlock, xorBlock, 
outBlock);" it gives segmentation fault. Any idea why?

Best regards...

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to