[xmlsec] a problem about transplant xmlsec lib to mips64 platform

shuang chen shuang.2.chen at gmail.com
Thu Apr 5 19:15:41 PDT 2007


Hi Maillist

I meet a problem while port xmlsec lib to mips64 platform, xmlsec version
1.2.10

hope someone can tell me what should be noticed while port xmlsec lib to
mips64 (Big-endian), any complie option, patch is needed

I use the example program 'verify3' the verify the signature, but failed

the info is below:

# ./verify3 sign3-res.xml rootcert.pem

func=xmlSecOpenSSLX509StoreVerify:file=
x509vfy.c:line=360:obj=x509-store:subj=X509_verify_cert:error=4:cryptolibrary
function failed:subj=/C=US/ST=California/L=Sunnyvale/O=XML Security
Library (*http://www.aleksey.com/xmlsec)/OU=Root*<http://www.aleksey.com/xmlsec)/OU=Root>Certificate/CN=Aleksey
Sanin/emailAddress=
xmlsec at aleksey.com;err=7;msg=certificate signature failure

func=xmlSecOpenSSLX509StoreVerify:file=
x509vfy.c:line=408:obj=x509-store:subj=unknown:error=71:certificateverification
failed:err=7;msg=certificate signature failure

func=xmlSecKeysMngrGetKey:file=
keys.c:line=1364:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlseclibrary
function failed:

func=xmlSecDSigCtxProcessKeyInfoNode:file=
xmldsig.c:line=871:obj=unknown:subj=unknown:error=45:key is not found:

func=xmlSecDSigCtxProcessSignatureNode:file=
xmldsig.c:line=565:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlseclibrary
function failed:

func=xmlSecDSigCtxVerify:file=
xmldsig.c:line=366:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlseclibrary
function failed:

Error: signature verify

this operation was OK on Linux PC, and generate the makefile by "

Execute the configure script to generate Makefile by using the configre
script

./configure --prefix=/nokia/cavium --host=mips64-octeon-linux-gnu
--with-libxml=/nokia/cavium --with-libxslt=/nokia/cavium
--with-openssl=/nokia/cavium

and I have verify the openssl on the mips64 platprom with rsa,
SHA-1 function, it's OK

any suggestion is appreciate, thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20070406/2bd20def/attachment-0002.htm


More information about the xmlsec mailing list