Questions tagged [libtomcrypt]

For programming guidance on use of LibTomCrypt, including the API and configuration.

LibTomCrypt is, according to its website, a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.

Use this tag for programming guidance with LibTomCrypt, including use of the API and configuration .

Source can be found on github.

21 questions
0
votes
1 answer

Computing websocket Sec-WebSocket-Accept value using libtomcrypt

RFC6455 specifies a method of computing the Sec-WebSocket-Accept response header from the value of the Sec-WebSocket-Key header. This method is based on SHA-1 hashing and Base64-encoding the result. How can I implement this method in plain C using…
Uli Köhler
  • 13,012
  • 16
  • 70
  • 120
0
votes
1 answer

Can't build .nexe file with libtomcrypt. Compile errors

I'm trying to compile nexe files with nacplorts lib libtomcrypt. Building nexe it returns error of bunch of "undefined". I have tried building with different flag but nothing. Maybe someone can point out what I'm doing wrong or what I'm missing in…
briiC
  • 2,134
  • 17
  • 28
0
votes
1 answer

Can't find valid lib when building Google Chrome NaCl application .nexe file

Problem - Can't build .nexe with libtomcrypt (-ltomcrypt) on 64bit machine "skipping incompatible" or "not found". /home/ME/nacl/pepper_35/toolchain/linux_x86_newlib/bin/../lib/gcc/x86_64-nacl/4.4.3/../../../../x86_64-nacl/bin/ld: skipping…
0
votes
1 answer

libtomcrypt usage benchmarking

I wanted to compare AES algorithm performance from libtomcrypt in Windows and Ubuntu by creating a benchmark-like file, but I have got errors while coding it. Please help me. Below is my file for comparing: Compare.c: `#include ` #include…
annunarcist
  • 1,637
  • 3
  • 20
  • 42
-1
votes
2 answers

php-osx not loading mcrypt.so on Yosemite

Tried to run php --version this is what i got /usr/local/php5-5.6.1-20141004-104642/bin/php --version PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20131226/mcrypt.so' -…
elf1984
  • 301
  • 1
  • 4
  • 12
-2
votes
1 answer

LLVM Slower when pass activated

I use LLVM to compile libtomcrypt, it's very fast (a few seconds) but when I use a blank pass (just a module pass that does nothing), it's very slow (several minute). Someone know why? I use Fedora 19. The LLVM I use is LLVM 3.4 in release…
1
2