[Armadillo:04886] Re: armadillo-220でファイルの暗号化
Hideki Yoshioka
email@hidden
2010年 1月 8日 (金) 15:29:39 JST
$B5H2,$G$9!#(B
$B8E2l$5$s$+$i65$($FD:$$$?(BOpenSSL $B$N(B libcrypto$B$r;n83$7$F$$$k$N$G$9$,!"(B
libcrypto $B$K$h$k0E9f2=$HI|9f$N%5%s%W%k$G%3%s%Q%$%k$,DL$i$J$/:$$C$F$*$j$^$9!#(B
$B%+!<%M%k!"%G%#%9%H%j%S%e!<%7%g%s$O(B
$B!&(Batmark-dist-200071217
$B!&(Blinux-2.6.12.3-a9-17
$B-!(BOpenSSL $B$N%=!<%9$r%@%&%s%m!<%I(B
http://www.openssl.org/source/$B!!$+$i!!(Bopenssl-0.9.8.l.tar.gz$B!!$r%@%&%s%m!<%I(B
$B-"65$($FD:$$$?<j=g$G%/%m%9%S%k%I(B
email@hidden:~$ tar zxvf openssl-0.9.8.l.tar.gz
email@hidden:~$ cd openssl-0.9.8.l
email@hidden:~/openssl-0.9.8.l$ ./Configure --prefix=/usr/arm-linux/
no-asm shared threads linux-elf
email@hidden:~/openssl-0.9.8.l$ make CC=arm-linux-gcc
$B%(%i!<I=<($OL5$/!"(Blibcrypto.so $B$H(B libcrypto.a $B%U%!%$%k$O:email@hidden$5$^$7$?!#(B
$B-#%5%s%W%k%=!<%9$r%@%&%s%m!<%I(B
http://linuxgazette.net/issue87/vinayak.html$B!!$+$i!!(Bsym_funcs.c$B!!$r%@%&%s%m!<%I(B
$B-$:n6HMQ%G%#%l%/%H%j$r:email@hidden$7!!(Bsym_funcs.c$B!!$r%3%T!<(B
email@hidden:~/atmark-dist-20071214/user/blowfish$
$B-%%3%s%Q%$%k(B
email@hidden:~/atmark-dist-20071214/user/blowfish$ gcc -o blowfish
sym_funcs.c -lcrypto -I/home/atmark/openssl-0.9.8.l/include -L/home/atmark/openssl-0.9.8.l
sym_funcs.c: In function $B!F(Bdecrypt$B!G(B:
sym_funcs.c:53: warning: incompatible implicit declaration of built-in
function $B!F(Bbzero$B!G(B
sym_funcs.c: In function $B!F(Bencrypt$B!G(B:
sym_funcs.c:96: warning: incompatible implicit declaration of built-in
function $B!F(Bbzero$B!G(B
sym_funcs.c: In function $B!F(Bmain$B!G(B:
sym_funcs.c:133: warning: incompatible implicit declaration of built-in
function $B!F(Bbzero$B!G(B
/usr/bin/ld: skipping incompatible
/home/atmark/openssl-0.9.8l/libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping incompatible
/home/atmark/openssl-0.9.8l/libcrypto.a when searching for -lcrypto
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
libcrypto$B$,9g$o$J$$$N$+%9%-%C%W$7$F$7$^$$$^$9!#(B
$B$*J,$+$j$K$J$kJ}$$$i$C$7$c$$$^$7$?$i!"$465<x$/$@$5$$!#(B
$B59$7$/$*4j$$CW$7$^$9!#(B
armadillo メーリングリストの案内