Christopher Brown | 9 Jul 2002 15:50
Favicon

Default CTIL


I am having problems loading the default CTIL.  I try to create a CML 
session with the pTokenObj variable set to null, but I get a memory 
violation when the default CTIL loads.  I am working on a Linux 
platform.  Thanks

David Lamkin | 11 Jul 2002 16:34
Favicon

pkcs11 library shutdown


I notice in the pkcs11 interface code there is no support for closing down 
a pkcs11 sessions when a CSM_Applogin is destroyed (or indeed to unload the 
library)..
I have built a sm_pkcs11Free3 variant on Solaris.
Am I likely to be able to achieve this with the structure of the code as it 
now stands (I am aware that the the pkcs11 implementation is very much a 
first cut).

regards, David Lamkin

Tat.Chan | 15 Jul 2002 15:53
Picon

compiling SFL on Linux


Hi,

I am trying to compile SFL v2.0 on a Linux Redhat 7.3 machine. Following the instructions in the SMP
Components Setup Manual, I have:

1. downloaded and extracted the binary version of of SNACC module for linux.
2. compiled SFL libCtilMgr 
3. downloaded and extracted the binary version of the CML module.
4. when I try to compile SFL by typing "make setup" and then "make", I got the following error messages 

	(cd ../SFLPkcs12/openssl-0.9.6a;config;make)
	/bin/sh: cd: ../SFLPkcs12/openssl-0.9.6a: No such file or directory
	/bin/sh: config: command not found

Obviously, the SFLPkcs12 directory is not there. What did I miss? 

Thank you very much in advance.

Best Regards,

Tat Chan
Senior Reserach Engineer
Nokia Research Center
NOKIA INC
5 Wayside Road, Burlington, MA 01803
Phone (781) 993-5776, Fax (781) 993-1907
tat.chan <at> nokia.com

(Continue reading)

wooce | 16 Jul 2002 04:44

Re: compiling SFL on Linux


You need to download smCTIR2.0.1.tar.gz  from the SFL homepage and extract
it.   SFLPkcs12 directory is contained in it.

Best Regards,
   Wooce Yang.

----- Original Message -----
From: <Tat.Chan <at> nokia.com>
To: <imc-sfl <at> imc.org>
Sent: Monday, July 15, 2002 6:53 AM
Subject: compiling SFL on Linux

>
> Hi,
>
> I am trying to compile SFL v2.0 on a Linux Redhat 7.3 machine. Following
the instructions in the SMP Components Setup Manual, I have:
>
> 1. downloaded and extracted the binary version of of SNACC module for
linux.
> 2. compiled SFL libCtilMgr
> 3. downloaded and extracted the binary version of the CML module.
> 4. when I try to compile SFL by typing "make setup" and then "make", I got
the following error messages
>
> (cd ../SFLPkcs12/openssl-0.9.6a;config;make)
> /bin/sh: cd: ../SFLPkcs12/openssl-0.9.6a: No such file or directory
> /bin/sh: config: command not found
>
(Continue reading)

Tat.Chan | 23 Jul 2002 18:09
Picon

Using SFL test utilities, Linux platform


Hi all,

I am just wondering if anyone is using SFL on Linux platform here and could share some of your experiences. I
just built SFL on Redhat Linux 7.3. And I am using the Crypto++4.2 CTIL (only). I am trying to verify that the
built is succesful, and I was told that the test program in ./SMIME/testutil/testTripleWrap can
demonstrate many functionalities of SFL. Therefore I am trying to compile the test program using "make
all" in that directory. I got the following error:

g++ -c -Wall -g -DLINUX -DSTDC_HEADERS   -I../../testsrc/include -I../../include
-I../../libcert/include -I../../libCtilMgr/include -I../../../SMPDist/cml/include
-I../../../SMPDist/Algs/crypto++4.2  -I../../../SMPDist/util/VDASnacc/cpplib/inc
-I../../include/cmapi sm_testTripleUnwrap.cpp
sm_testTripleUnwrap.cpp: In function `void testTripleUnwrap (int, char 
**)':
sm_testTripleUnwrap.cpp:233: Internal error #191.
sm_testTripleUnwrap.cpp:233: confused by earlier errors, bailing out
make: *** [sm_testTripleUnwrap.o] Error 1

I used Crypto++4.2 (only) and therefore I modified the include path in the Makefile to point to that. Anyone
has any idea of where this error is coming from?

Thank you very much!

Best Regards,

Tat Chan
Senior Reserach Engineer
Nokia Research Center
NOKIA INC
(Continue reading)

Colestock, Robert | 30 Jul 2002 16:35

RE: Default CTIL


Christopher:

I do not understand what you mean by "pTokenObj variable set to null",
but you must explicitely create a default CTIL token.  This is described
in the API document:

Another version 2.0 introduction was a default CTIL, provided by
libCtilMgr.  This default CTIL provides the following algorithms:

	AES 	Content encryption
	SHA-1, SHA-2 Digest
	DSA	Signature (for verification ONLY).

The default CTIL can be added to the list of instances by calling the
"CSMIME:: SetDefaultCTIL();" method (CSMIME is the container of the
application instances). It is possible to create a container of just the
default CTIL, but it can only perform basic digest SHA-1, SHA-2
algorithms, AES content encrytion, and/or the DSA verification.

Bob Colestock

-----Original Message-----
From: Christopher Brown [mailto:chris.j.brown <at> nist.gov] 
Sent: Tuesday, July 09, 2002 9:51 AM
To: imc-sfl <at> imc.org
Subject: Default CTIL

I am having problems loading the default CTIL.  I try to create a CML 
session with the pTokenObj variable set to null, but I get a memory 
(Continue reading)


Gmane