search for: cryptopp

Displaying 9 results from an estimated 9 matches for "cryptopp".

Did you mean: crypto
2016 Oct 11
2
Landing Pad bug?
HI, When compiling the open-source software cryptopp (https://www.cryptopp.com/#download <https://www.cryptopp.com/#download>) version 5.6.4 I found a strange issue with the IR generated. The issue only appears when compiling with -O2 optimisation in the integer.cpp file (the function is _ZN8CryptoPPrsERNSt3__113basic_istreamIcNS0_11char_trait...
2018 Dec 01
2
Restrict global constructors to base ISA
...nstructors? Thanks in advance. ========== Here's the full command line used for a typical file: /opt/local/bin/clang++-mp-5.0 -DNDEBUG -g2 -O3 -fPIC -pthread -pipe -c cryptlib.cpp Here's the source file. I don't believe it has global data provided by us: https://github.com/weidai11/cryptopp/blob/master/chacha_avx.cpp ========== (lldb) r v ... * thread #1: tid = 0x19f83aa, 0x000000010016ec49 cryptest.exe`_GLOBAL__sub_I_chacha_avx.cpp at string:1322, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) frame #0: 0x0000000100...
2018 Jun 30
4
Determine reason for failure at -O1
Hi Everyone, We caught a report for a failed self test when using Clang 5.0 and 6.0 with -DDEBUG and -O1 (i.e., a "debug build"). The code is question is located at https://github.com/weidai11/cryptopp/blob/master/cham-simd.cpp . It is the SSSE3 code path for CHAM64. Other optimizations levels are OK for Clang. GCC, ICC and MSVC are OK. The code is valgrind, Sanitizer, Coverity and Enterprise Analysis clean. An objdump is available at https://pastebin.com/TAKH4eur but it is not very helpful to...
2017 Dec 16
3
Clang 5, UBsan, runtime error: addition of unsigned offset to X overflowed to Y
We have code that processes a buffer in the forward or backwards direction. It looks similar to the following (https://github.com/weidai11/cryptopp/blob/master/adv-simd.h#L1138): uint8_t * ptr = ... size_t len = ... size_t inc = 16; if (flags & REVERSE_DIRECTION) { ptr += len - inc; inc = 0-inc; } while (len > 16) { // process blocks ptr += inc; len -= 16; } Clang 5.0 and UBsan is producing findings (https://tra...
2013 Apr 09
3
Problem building powerdns from EPEL
...ir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/pdns --libdir=/usr/lib64/pdns --disable-static --with-modules= --with-lua '--with-dynmodules= gmysql gpgsql pipe geo ldap gsqlite3' --enable-cryptopp ... checking for ldap_set_option in -lldap_r... no checking for ldap_set_option in -lldap... no configure: error: ldap library (libldap) not found However, libldap exists at the required place (/usr/lib64): $ ls -la /usr/lib64/ | grep ldap drwxr-xr-x. 4 root root 4096 Mar 11...
2012 Apr 15
1
Legacy MACs and Ciphers: Why?
...not, I'm interested in what decisions have been made with respect to these lists. Speed may be a consideration; MD5 is "faster"[2] than any of the SHA- algorithms. Maximum compatability, possibly. Anything else? [1]: http://csrc.nist.gov/groups/ST/hash/policy.html [2]: http://www.cryptopp.com/benchmarks.html
2003 Mar 26
1
Cryptography Library for C/C++
I need to use a cryptography library extension for C/C++ and I'd like to know if anyone can tell me wich one on ports collection is better (the most complete and "easy" to use). Is there anyway to use MIRACL on FreeBSD(and how)?
2019 Oct 24
2
Failed PPC64 compile when using Power7 loads and stores?
Hi Everyone, I'm having trouble figuring out a compile failure on ppc64le. The failure is at https://travis-ci.org/noloader/cryptopp-autotools/jobs/602187190 . The message is: /bin/bash ./libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -DCRYPTOPP_DISABLE_POWER8 -pipe -mcpu=power7 -mvsx -maltivec -g -O2 -MT libppc_power7_la-ppc_power7.lo -MD -MP -MF .deps/libppc_power7_la-ppc_power7.Tpo -c -o libppc_power7_la...
2011 Jan 05
52
Offline Deduplication for Btrfs
Here are patches to do offline deduplication for Btrfs. It works well for the cases it''s expected to, I''m looking for feedback on the ioctl interface and such, I''m well aware there are missing features for the userspace app (like being able to set a different blocksize). If this interface is acceptable I will flesh out the userspace app a little more, but I believe the