Re: cryptopp-565 core dumps on solaris 11 with sun compiler in unit tests and benchmarks

2016-10-18 Thread Jeffrey Walton
> The error is: >> > >> > Testing MessageDigest algorithm SHA-384. >> > ..signal BUS (invalid address alignment) in CryptoPP::SHA512::Transform >> at >> > line 34 in file "sha.cpp" >> >34 #define blk0(i) (W[i] = data[i]) >> >> This is the one we cannot duplicate. Unfortunately, there

Re: Multiple definitions

2016-10-18 Thread Abderrahim HAJJI SOUALFI
I took the example from Stackoverflow website : http://stackoverflow.com/questions/12306956/example-of-aes-using-crypto Shoud i include more header files or ? Thanks in advance. -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe,

Re: Multiple definitions

2016-10-18 Thread Abderrahim HAJJI SOUALFI
I took the example from Stackoverflow website (4 years ago) : http://stackoverflow.com/questions/12306956/example-of-aes-using-crypto

Re: Multiple definitions

2016-10-18 Thread Jeffrey Walton
On Tuesday, October 18, 2016 at 7:49:47 AM UTC-4, Abderrahim HAJJI SOUALFI wrote: > > I took the example from Stackoverflow website (4 years ago) : > http://stackoverflow.com/questions/12306956/example-of-aes-using-crypto >

Align with BouncyCastle and Botan for DLIES and ECIES

2016-10-18 Thread Jeffrey Walton
This was committed today: "Align with BouncyCastle and Botan for DLIES and ECIES", http://github.com/weidai11/cryptopp/commit/c3e2e0fb25fd1fa25e3a6e8eadb9ef78e8158be9 . We will be updating the documentation shortly for those who need Crypto++ 5.6.2 compatibility. Jeff -- -- You received t

Can't BER decode RSA public key with NDK Android

2016-10-18 Thread Hoàng Hiệp
I have problems using Crypto++ to save a RSA public key in string. When decoding the key, I always get a BERDecodeErr exception. Code get public key and private key and is save to string KeyPairBase64 GenerateKeyPair::generateKeyPair(unsigned int aKeySize) { KeyPairBase64 keyPair = KeyPairBa

Re: Can't BER decode RSA public key with NDK Android

2016-10-18 Thread Jeffrey Walton
On Tuesday, October 18, 2016 at 11:17:09 PM UTC-4, Hoàng Hiệp wrote: > > I have problems using Crypto++ to save a RSA public key in string. When > decoding the key, I always get a BERDecodeErr exception. > > Code get public key and private key and is save to string > > KeyPairBase64 GenerateKeyP

Re: cryptopp-565 core dumps on solaris 11 with sun compiler in unit tests and benchmarks

2016-10-18 Thread Andrew Marlow
On Tuesday, 18 October 2016 08:16:58 UTC+1, Jeffrey Walton wrote: > > The error is: >>> > >>> > Testing MessageDigest algorithm SHA-384. >>> > ..signal BUS (invalid address alignment) in >>> CryptoPP::SHA512::Transform at >>> > line 34 in file "sha.cpp" >>> >34 #define blk0(i) (W[i] =