-
Having a little trouble getting mcrypt to make. libmcrypt and mhash both compiled fine and configure on mcrypt worked well but the make is giving me the following error:
gaa.skel:340: warning: 'gaa_getfloat' defined but not used
ld: 0711-317 ERROR: Undefined symbol: .rpl_malloc
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit...
2009-10-11 00:29:50 UTC by nobody
-
I would expect that mcrypt_enc_get_iv_size returns 0 when in ECB mode, because ECB ignores the IV and the manual says: "If it is '0' then the IV is ignored in that algorithm." However, it returns the block size.
2009-09-21 12:26:01 UTC by sj0rd
-
In PHP:
mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', MCRYPT_MODE_CFB, '');
I've noticed that the above uses 8-bit CFB Mode. Is it possible to change it to 128-bit?.
2009-08-30 22:09:21 UTC by nobody
-
This might be a bug, or more likely a lack of understanding on my part but I
try to set up mcrypt with
./configure --with-libmcrypt-prefix=/home/qsys/libmcrypt-2.5.8/lib
it looks for
/home/qsys/libmcrypt-2.5.8/lib/bin/libmcrypt-config when the file is
/home/qsys/libmcrypt-2.5.8/lib/libmcrypt-config
i.e., it appends /bin to the path.
2009-06-19 09:39:39 UTC by nobody
-
Hi,
i need a PHP complement to the Java Cipher, as Sample:
IV:
byte[] buff = new byte[str.length - 8];
byte[] iv = new byte[16];
for (int i = 0; i <= 7; i++)
iv[i] = str[i];
for (int i = 8; i <= 15; i++)
iv[i] = (byte) 0;
for (int i = 0; i <= str.length - 9; i++)
buff[i] = str[i + 8];
Cipher:
Cipher cipher = Cipher.getInstance("AES/CTR/NoPadding");...
2009-06-06 16:12:16 UTC by lingdeu
-
The spec included in the current libmcrypt tarball doesn't work on x86_64. I've attached an updated spec file that should work on both x86_64 and i386. It's not terribly important but I figured I'd submit the update anyway.
Thanks,
Fritz Platzke.
2009-06-05 19:06:33 UTC by nobody
-
Same problem on Solaris 10 (SPARC) with the following configure line:
./configure CC="gcc -m64 -mcpu=ultrasparc" CXX="g++ -m64 -mcpu=ultrasparc" LDFLAGS="-R/usr/sfw/lib/sparcv9" --prefix=/usr/local/lib/libmcrypt --enable-dynamic-loading
Has anything been checked into CVS that addresses this bug? I have some software that needs this (64-bit) but am stuck until I can get this to compile.
Thanks,
2009-05-27 00:50:36 UTC by rrioux