Alok Sethi writes:
> « HTML content follows »
>
> Hi Fraser,
>
> Thanks for your quick reply. As per your suggestion I tried by removing these
> two lines. But getting the same error message.
> Also I tried to set the memory to zero as below.
>
> memset( key, 0x01, CryptoPP::AES::DEFAULT_KEYLENGTH );
> memset( iVector, 0x01, CryptoPP::AES::BLOCKSIZE );
>
> It would be great if you could suggest any other alternative solutions.
Apart from these stack errors, what are you trying to do, it seems you are
setting key and iv to zero, is this intentional. Should you not take a key
and iv in through your parameters and set these to the size of the constants
you have to create the key ivector. If you did want to create a key and iv
of zero then set each array member to zero, but it would be quite strange.
Apart from that you are setting one past the end of the byte array, the end
of an array size 64 is element 63.
> > To unsubscribe, send an email to <URL:javascript:>cryptopp-
> >
user...@googlegroups.com.
> > More information about Crypto++ and this group is available at
> > <URL:
http://www.cryptopp.com>
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 <URL:javascript:>
cryptopp-user...@googlegroups.com.
> > For more options, visit
> > <URL:
https://groups.google.com/groups/opt_out>
https://groups.google.com/g
> > roups/opt_out.
>
>
> --
> --
> You received this message because you are subscribed to the "Crypto++ Users"
> Google Group.
> To unsubscribe, send an email to
cryptopp-user...@googlegroups.com.
> More information about Crypto++ and this group is available at
> <URL:
http://www.cryptopp.com>
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-user...@googlegroups.com.
> For more options, visit
> <URL:
https://groups.google.com/groups/opt_out>
https://groups.google.com/group
> s/opt_out.
>