cdsa-dev Mailing List for Common Data Security Architecture (Page 8)
Status: Abandoned
Brought to you by:
mdwood-intel
This list is closed, nobody may subscribe to it.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(4) |
Mar
(1) |
Apr
|
May
(4) |
Jun
(4) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(2) |
Oct
(6) |
Nov
(4) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(19) |
Sep
(27) |
Oct
(11) |
Nov
(2) |
Dec
(4) |
2008 |
Jan
(3) |
Feb
(11) |
Mar
(36) |
Apr
(21) |
May
(22) |
Jun
(11) |
Jul
(24) |
Aug
(6) |
Sep
(9) |
Oct
(11) |
Nov
(15) |
Dec
(18) |
2009 |
Jan
(71) |
Feb
(13) |
Mar
(26) |
Apr
(25) |
May
(94) |
Jun
(72) |
Jul
(41) |
Aug
(22) |
Sep
(20) |
Oct
(32) |
Nov
(5) |
Dec
(5) |
2010 |
Jan
|
Feb
(1) |
Mar
(32) |
Apr
(54) |
May
(61) |
Jun
(67) |
Jul
(31) |
Aug
(32) |
Sep
(24) |
Oct
(2) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
From: Clyde C. M. <cmc...@co...> - 2003-07-23 17:07:16
|
I am building cdsa on my Windows XP Pro OS, using Microsoft Visual = Studio .NET 2003 as the development platform. I have converted all the = project workspaces over to the new solution workspaces and I am getting = a load error on a library called util.lib. My question is util.lib part = of CDSA or is it a system library from MSVC 6, because I can't seem to = find this in the environment? Thanks Clyde McPherson |
From: Bowler, D. <dav...@in...> - 2002-08-20 21:30:08
|
The first thing to check is that your CSP has been correctly installed in MDS. If the entry isn't in MDS, CSSM won't know where to look to load your CSP despite the fact that it's in the system directory. Assuming you're running Windows (which I assume you are since you're talking about .dlls and system directories), you can check that your CSP is installed correctly by using MDSEdit, which is included in the open source distribution. The CSSM handles the direct calling of your actual crypto functions, since only basic module management functions are actually exported from the CSP. Look at the install code for the eaycsp for a guide of how to install your CSP. I'm guessing that your problem is that the CSP isn't installed correctly. If this isn't the case, then any additional information about your setup would prove useful. You may also want to look at some of the documentation on developing CSPs and using MAF that are included in the CDSA docs from the SF web site. David Bowler Sr. Software Engineer Intel Research & Development > -----Original Message----- > From: raju [mailto:ra...@cr...] > Sent: Tuesday, August 20, 2002 2:38 AM > To: cds...@li...; > Cds...@li...; cds...@li... > Subject: [Cdsa-discuss] Query > > > Hi! > > I have created my own dll file for csp module in CDSA and > also included > in system directory. > I am unable to call the functions specified in that dll. > I shall be thankful if you will guide me the steps required for > calling own created csp. > > Regards, > Meenakshi > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Cdsa-discuss mailing list > Cds...@li... > https://lists.sourceforge.net/lists/listinfo/cdsa-discuss > |
From: raju <ra...@cr...> - 2002-08-20 09:41:11
|
Hi! I have created my own dll file for csp module in CDSA and also included in system directory. I am unable to call the functions specified in that dll. I shall be thankful if you will guide me the steps required for calling own created csp. Regards, Meenakshi |
From: Bowler, D. <dav...@in...> - 2002-07-15 23:56:41
|
As you might expect, there are more details to doing this implementation than can be easily covered in an e-mail message. However, I think you'll find the Service Provider Developer's Guide in the CDSA documentation (sp_dev_guide.pdf) to be of use to you. This document covers the information you would need to use the MAF that ships with CDSA to build your CSP. You may also want to be examining the eayCSP that puts a CDSA interface on the OpenSSL crypto library. David Bowler Software Engineer Intel Labs > -----Original Message----- > From: raju [mailto:ra...@cr...] > Sent: Sunday, July 14, 2002 10:48 PM > To: cds...@li...; > Cds...@li...; cds...@li... > Subject: [Cdsa-dev] Requirement for information > > > Dear Sir, > > I am implementing crlCSP (Crypto Service Provider) for that i > require the > AddIns feature details of CDSA . > > I shall highly appreciate if you will guide me for creating > the interface > in CDSA for CSP layer. > > Regards, > Rajulu > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Cdsa-dev mailing list > Cds...@li... > https://lists.sourceforge.net/lists/listinfo/cdsa-dev > |
From: raju <ra...@cr...> - 2002-07-15 05:50:53
|
Dear Sir, I am implementing crlCSP (Crypto Service Provider) for that i require the AddIns feature details of CDSA . I shall highly appreciate if you will guide me for creating the interface in CDSA for CSP layer. Regards, Rajulu |
From: Carl E. <cm...@jf...> - 2002-06-17 23:42:33
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At 04:39 PM 6/17/2002 -0700, cds...@li... wrote: >We have UPnP Security code >using the CDSA AuthCompute, but it's still being shown only among >UPnP members until we start shipping the UPnP Security toolkit, >several months from now. ( I should have added, to that last sentence, "if at all". Plans for distribution of UPnP Security code have not been finalized. ) - Carl -----BEGIN PGP SIGNATURE----- Version: PGP 7.1 iQA/AwUBPQ5z4cxqBGb+WvJAEQLddwCgm5eOHC5KEjcursJ01rSdL2bfT2sAoJl8 RseaJZiET3veW8wTVvZX7G0n =r3gK -----END PGP SIGNATURE----- +--------------------------------------------------------+ |Carl Ellison Intel Labs E: cm...@jf... | |2111 NE 25th Ave T: +1-503-264-2900 | |Hillsboro OR 97124 F: +1-503-264-6225 | |PGP Key ID: 0xFE5AF240 C: +1-503-819-6618 | | 1FDB 2770 08D7 8540 E157 AAB4 CC6A 0466 FE5A F240 | +--------------------------------------------------------+ |
From: Carl E. <cm...@jf...> - 2002-06-17 23:40:06
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Olivier, we have several examples here at Intel, but I don't think any of them is public yet. We have one, using a Java implementation of auth_compute, that is available as a demo, but I don't know how widely (and source is not published). We have UPnP Security code using the CDSA AuthCompute, but it's still being shown only among UPnP members until we start shipping the UPnP Security toolkit, several months from now. There is code from MIT, using their own library, and code in eSpeak, using their own library. What kind of examples do you want? - Carl At 11:52 AM 6/17/2002 +0200, Olivier Fouache wrote: >Hi, > >I would know if there are some example code witch use the SPKI >technology ? > >Thanks > >-- >Olivier Fouache Ingenieur de >Recherche >Laboratoire Securite (labo 118) Oli...@eu... >Institut EURECOM, 2229 Route des Cretes Tel labo secu : >04.93.00.26.98 SOPHIA ANTIPOLIS 06560 VALBONNE - FRANCE >http://www.eurecom.fr/~fouache/ >Attachment Converted: "C:\EUDORA\ATTACH\olivier.fouache.vcf" -----BEGIN PGP SIGNATURE----- Version: PGP 7.1 iQA/AwUBPQ5zTcxqBGb+WvJAEQLL/ACeIjZ+TBy96XWvDlJXyrogwJ0pteQAn236 J974P9/v7Ht7pUNpXQlerg8y =OetE -----END PGP SIGNATURE----- +--------------------------------------------------------+ |Carl Ellison Intel Labs E: cm...@jf... | |2111 NE 25th Ave T: +1-503-264-2900 | |Hillsboro OR 97124 F: +1-503-264-6225 | |PGP Key ID: 0xFE5AF240 C: +1-503-819-6618 | | 1FDB 2770 08D7 8540 E157 AAB4 CC6A 0466 FE5A F240 | +--------------------------------------------------------+ |
From: Olivier F. <oli...@eu...> - 2002-06-17 09:52:36
|
Hi, I would know if there are some example code witch use the SPKI technology ? Thanks -- Olivier Fouache Ingenieur de Recherche Laboratoire Securite (labo 118) Oli...@eu... Institut EURECOM, 2229 Route des Cretes Tel labo secu : 04.93.00.26.98 SOPHIA ANTIPOLIS 06560 VALBONNE - FRANCE http://www.eurecom.fr/~fouache/ |
From: Jean-Christophe C. <jea...@me...> - 2002-06-03 07:59:03
|
Well, I am using COM with CDSA because I need to make some calls from = any language like javascript or VBscript. I am not a VB expert but I = know that you can call C coded dll's from VB. And I do not know any = group working with VB and CDSA. Regards, Jean-Christophe ----- Original Message -----=20 From: cds...@li...=20 To: cds...@li...=20 Sent: Friday, May 31, 2002 9:00 PM Subject: Cdsa-dev digest, Vol 1 #13 - 1 msg Send Cdsa-dev mailing list submissions to cds...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/cdsa-dev or, via email, send a message with subject or body 'help' to cds...@li... You can reach the person managing the list at cds...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Cdsa-dev digest..." Today's Topics: 1. VB +COM +CDSA? (mustafa cem) --__--__-- Message: 1 From: "mustafa cem" <mc...@ma...> To: <cds...@li...> Date: Fri, 31 May 2002 18:15:11 +0300 Subject: [Cdsa-dev] VB +COM +CDSA? Thanks Jean, do you have any information or any example codes about COM using = CDSA? have you heard any group working with VB? --__--__-- _______________________________________________ Cdsa-dev mailing list Cds...@li... https://lists.sourceforge.net/lists/listinfo/cdsa-dev End of Cdsa-dev Digest |
From: mustafa c. <mc...@ma...> - 2002-05-31 15:11:41
|
Thanks Jean, do you have any information or any example codes about COM using CDSA? have you heard any group working with VB? |
From: Jean-Christophe C. <jea...@me...> - 2002-05-30 06:50:34
|
You can create a COM object which encapsulates your calls to CDSA. ----- Original Message -----=20 From: cds...@li...=20 To: cds...@li...=20 Sent: Wednesday, May 29, 2002 9:00 PM Subject: Cdsa-dev digest, Vol 1 #11 - 2 msgs Send Cdsa-dev mailing list submissions to cds...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/cdsa-dev or, via email, send a message with subject or body 'help' to cds...@li... You can reach the person managing the list at cds...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Cdsa-dev digest..." Today's Topics: 1. How to use VB with CDSA??? = (=3D?iso-8859-9?Q?Mustafa_Cem_Kasapba=3DFE=3DFD?=3D) 2. RE: How to use VB with CDSA??? (Bowler, David) --__--__-- Message: 1 From: =3D?iso-8859-9?Q?Mustafa_Cem_Kasapba=3DFE=3DFD?=3D = <mc...@ma...> To: <cds...@li...> Date: Wed, 29 May 2002 02:03:59 +0300 Subject: [Cdsa-dev] How to use VB with CDSA??? I'm new for CDSA. I wonder if it is possible to use Visual Basic=20 with CDSA API? is there any example with VB.? must I use C++ ?? thanks in advance --__--__-- Message: 2 From: "Bowler, David" <dav...@in...> To: "'Mustafa Cem Kasapbasi'" <mc...@ma...>, cds...@li... Subject: RE: [Cdsa-dev] How to use VB with CDSA??? Date: Tue, 28 May 2002 16:41:14 -0700 CDSA is defined for a C interface. I don't know VB, so there might be = a way for you to use CDSA - if there is, it's however you call C interfaces = from VB. I'm not aware of any code anyone has written that uses CDSA from = within VB. I know that at one point there were some people working on a JNI = for CDSA so it could be used from Java, but I'm not sure what happened to = that project. David Bowler Sr. Software Engineer Intel Labs > -----Original Message----- > From: Mustafa Cem Kasapbasi [mailto:mc...@ma...]=20 > Sent: Tuesday, May 28, 2002 4:04 PM > To: cds...@li... > Subject: [Cdsa-dev] How to use VB with CDSA??? >=20 >=20 > I'm new for CDSA. I wonder if it is possible to use Visual Basic=20 > with CDSA API? is there any example with VB.? must I use C++ ?? > thanks in advance >=20 >=20 > _______________________________________________________________ >=20 > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- = http://devcon.sprintpcs.com/adp/index.cfm >=20 > _______________________________________________ > Cdsa-dev mailing list > Cds...@li... > https://lists.sourceforge.net/lists/listinfo/cdsa-dev >=20 --__--__-- _______________________________________________ Cdsa-dev mailing list Cds...@li... https://lists.sourceforge.net/lists/listinfo/cdsa-dev End of Cdsa-dev Digest |
From: Bowler, D. <dav...@in...> - 2002-05-28 23:41:23
|
CDSA is defined for a C interface. I don't know VB, so there might be a way for you to use CDSA - if there is, it's however you call C interfaces from VB. I'm not aware of any code anyone has written that uses CDSA from within VB. I know that at one point there were some people working on a JNI for CDSA so it could be used from Java, but I'm not sure what happened to that project. David Bowler Sr. Software Engineer Intel Labs > -----Original Message----- > From: Mustafa Cem Kasapbasi [mailto:mc...@ma...] > Sent: Tuesday, May 28, 2002 4:04 PM > To: cds...@li... > Subject: [Cdsa-dev] How to use VB with CDSA??? > > > I'm new for CDSA. I wonder if it is possible to use Visual Basic > with CDSA API? is there any example with VB.? must I use C++ ?? > thanks in advance > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Cdsa-dev mailing list > Cds...@li... > https://lists.sourceforge.net/lists/listinfo/cdsa-dev > |
From: <mc...@ma...> - 2002-05-28 23:00:23
|
I'm new for CDSA. I wonder if it is possible to use Visual Basic with CDSA API? is there any example with VB.? must I use C++ ?? thanks in advance |
From: Tom W. <woo...@zk...> - 2002-03-01 21:19:56
|
Pietro, What you are trying to do works fine for me. I have one program that generates an RSA key pair and then uses the public key to wrap a DES key. That same public key is hard-coded into a second program which also uses it to wrap a DES key. Both work fine. Here are two things to check in your program: 1. Check the way that you re-construct the public key from the file. Here is how I did it: memset(&PubKey, 0, sizeof PubKey); PubKey.KeyHeader.HeaderVersion = CSSM_KEYHEADER_VERSION; PubKey.KeyHeader.BlobType = CSSM_KEYBLOB_RAW; PubKey.KeyHeader.Format = CSSM_KEYBLOB_RAW_FORMAT_PKCS1; PubKey.KeyHeader.AlgorithmId = CSSM_ALGID_RSA; PubKey.KeyHeader.KeyClass = CSSM_KEYCLASS_PUBLIC_KEY; PubKey.KeyHeader.LogicalKeySizeInBits = 512; PubKey.KeyHeader.KeyUsage = CSSM_KEYUSE_WRAP; PubKey.KeyHeader.WrapAlgorithmId = CSSM_ALGID_NONE; uint8 PubKeyBits[] = { ... }; PubKey.KeyData.Length = sizeof PubKeyBits; PubKey.KeyData.Data = PubKeyBits; 2. Initialize the entire WrappedKey structure to 0 before passing it to CSSM_WrapKey(), for example: memset(&WrappedKey, 0, sizeof WrappedKey); I will send you a copy of my program in a separate e-mail. Regards, Tom |
From: <ni...@gs...> - 2002-02-27 16:14:18
|
First of all I want to thank YOU for previously aid gived to me. Unfortunately me a new problem has been introduced: 1) I create a key pairs. 2) I create a symmetrical key (than I "wrap" with the public key created = previously) with which I decipher a file. When I try to "wrap" the symmetrical key, the error generated is: number 8194 --> "CSSMERR_CSP_MEMORY_ERROR". The fundamental steps are: 1) To crete a key-pairs: ret =3D CSSM_CSP_CreateKeyGenContext( csp, CSSM_ALGID_RSA, 512, NULL, NULL, NULL, NULL, NULL, &ctx ); ret =3D CSSM_GenerateKeyPair( ctx, CSSM_KEYUSE_WRAP, CSSM_KEYATTR_RETURN_DATA | CSSM_KEYATTR_EXT= RACTABLE, NULL, &PubKey, CSSM_KEYUSE_UNWRAP, CSSM_KEYATTR_RETURN_DATA | CSSM_KEYATTR_EXT= RACTABLE, NULL, NULL, &PriKey ); later I write on 2 files the key-pairs. 2) To encrypt: ret =3D CSSM_CSP_CreateKeyGenContext( csp, CSSM_ALGID_DES, 64, NULL, NULL, NULL, NULL, NULL, &ctx ); =20 ret =3D CSSM_GenerateKey( ctx, CSSM_KEYUSE_ENCRYPT | CSSM_KEYUSE_DECRYPT, CSSM_KEYATTR_EXTRACTABLE | CSSM_KEYATTR_RETURN_= DATA, NULL, NULL, &SimKey ); subsequently recovery the key-pairs from the files and I store them into = PubKey and PriKey. ret =3D CSSM_CSP_CreateAsymmetricContext( csp, CSSM_ALGID_RSA, NULL, &PubKey, CSSM_PADDING_NONE, &ctx ); ret =3D CSSM_WrapKey( ctx, NULL, &SimKey, NULL, &WrappedKey ); P.S. if I execute in cascade the generation of the key-pairs and the "wrap", g= oes all good. If I execute the generation of the key-pairs, then I exit from the progra= m and then I try to "wrap", generates me the error brought back over. Sorry for the length of the mail, thank in advance. Pietro. ----------------------------------------------------------------- Questo messaggio =E8 stato inviato utilizzando http://it.my.gsmbox.com=20 |
From: Tom W. <woo...@zk...> - 2002-02-26 22:45:28
|
Pietro, This might help, particularly, the code fragment at the bottom. Regards, Tom ------------- Begin Forwarded Message ------------- To: cds...@li... Subject: Re: [Cdsa-issues] CSSM INVALID KEY REFERENCE ERROR... Cc: woo...@zk... Date: Tue, 18 Dec 2001 15:21:10 -0500 (EST) Hi, Rajulu, Thanks for sending me your code. We can solve the problem now and simplify the code too! (I'm replying to the entire list here because I think others might find this info helpful.) The original problem was that CSSM_EncryptData() was returning the error CSSMERR_CSP_INVALID_KEY_REFERENCE. To see the reason for that, let's go back and see how the key was generated. It was generated by first calling CSSM_GenerateKey() and then replacing the resulting Key.KeyData with your own key bits. In a minute, you'll see a much simpler way to create a key with your own key bits, but first let's see why the error occurred... The call to CSSM_GenerateKey() included the key attribute CSSM_KEYATTR_RETURN_DEFAULT. That attribute lets the CSP decide for itself how to fill in the Key.KeyData structure. It has three choices: 1. fill in the actual key bits 2. fill in a reference to the key (actually an integer id) 3. fill in nothing The EAY CSP chooses 2. It stores the key reference in the Key.KeyData structure and then sets the Key.KeyHeader.BlobType to CSSM_KEYBLOB_REFERENCE. Later on, when you replace that Key.KeyData with your own key bits, you create an inconsistency. The key header claims that Key.KeyData contains a reference, when it now contains actual key bits. To CSSM_EncryptData(), those bits look like a huge reference id and so it returns CSSMERR_CSP_INVALID_KEY_REFERENCE. Hope that made sense. If not, just remember the following simpler way to generate a key with your own key bits. You just skip the call to CSSM_GenerateKey() and fill in the Key structure yourself. You can then pass that structure directly to CSSM_CSP_CreateSymmetricContext(). /* inputs: algorithmId, keyLen, keyBits */ CSSM_KEY key; memset(&key, 0, sizeof key); key.KeyHeader.HeaderVersion = CSSM_KEYHEADER_VERSION; key.KeyHeader.BlobType = CSSM_KEYBLOB_RAW; key.KeyHeader.Format = CSSM_KEYBLOB_RAW_FORMAT_OCTET_STRING; key.KeyHeader.AlgorithmId = algorithmId; key.KeyHeader.KeyClass = CSSM_KEYCLASS_SESSION_KEY; key.KeyHeader.LogicalKeySizeInBits = keyLen * 8; key.KeyHeader.KeyUsage = CSSM_KEYUSE_DECRYPT | CSSM_KEYUSE_ENCRYPT; key.KeyHeader.WrapAlgorithmId = CSSM_ALGID_NONE; key.KeyData.Length = keyLen; key.KeyData.Data = keyBits; This should solve your problem. Please let me know if it doesn't. Thanks, Tom Woodburn Compaq Computer Corporation _______________________________________________ Cdsa-issues mailing list Cds...@li... https://lists.sourceforge.net/lists/listinfo/cdsa-issues ------------- End Forwarded Message ------------- |
From: <ni...@gs...> - 2002-02-26 15:15:17
|
I have a problem with the encrypt/decrypt of file. In practical I create a symmetrical key and i encrypt a file. Subsequentl= y such recovery key from file and I try to decrypt; this operation fails = on the DecryptDataInit, generating error CSSMERR_CSP_INVALID_KEY_REFERENC= E. You could give me some suggestion in order to resolve the problem?=20 I would be pleasing. You hold also account that if I execute the encrypt=20 and the decrypt to the inside of the same executable, the operation does = not give some problem. Thanks in advance. Pietro. ----------------------------------------------------------------- Questo messaggio =E8 stato inviato utilizzando http://it.my.gsmbox.com=20 |
From: raju <ra...@cr...> - 2002-02-23 07:12:00
|
hi all, I've implemented SSLv3.0 using CDSA crypto engine (ofcourse CSP is eay)...one pecular problem I got while decrypting.....I'm running openSSL server/client at one end and my ssl server/client at the other end. if encrypted data comes from openSSL (60 bytes clear,64 bytes encrypted), my ssl is correctly decrypting but length is wrong (56 bytes clear after decrypting)...if i'm sending encrypted data to openssl then it's decrypting correctly but length is wrong (59 bytes after decrypting).. i'm using the following key header in symmetric key KeyHeader.HeaderVersion = CSSM_KEYHEADER_VERSION; KeyHeader.BlobType = CSSM_KEYBLOB_RAW; KeyHeader.Format = CSSM_KEYBLOB_RAW_FORMAT_OCTET_STRING; KeyHeader.AlgorithmId = algid; KeyHeader.KeyClass = CSSM_KEYCLASS_SESSION_KEY; KeyHeader.LogicalKeySizeInBits = keysize*8; KeyHeader.KeyUsage = CSSM_KEYUSE_DECRYPT | CSSM_KEYUSE_ENCRYPT; KeyHeader.WrapAlgorithmId = CSSM_ALGID_NONE; apart from this i'm using PKCS5 padding algorithm mode is CBCPadIV8 symmetric alg: DES one more thing both sides (mysdie and openssl side) keys are same Initial ectors are same input data is same (i've wasted my time to test all these things with openssl) from fast 3 days i'm struguling with this problem... pls help me...i've to complete this testing soon... THANKS IN ADVANCE rajulu ponnada |
From: raju <ra...@cr...> - 2001-12-17 11:32:46
|
hi all, I'm developing SSL3 protocol using CDSA v3.1. In that i'm generating my own keys (Key Data only i'm generating using some data (ssl master key computations), now i've to use this keys for symmetric encryption and decryption, but CSSM giving error in encryption "not a valid key in CSP (errno:8465)". these are the functions i'm using : CSSM_CSP_CreateSymmetircContext(hCSP, CSSM_ALGID_DES, 64, NULL, symmetric key, initVector, padding, 0, &hCC); i'm using my own init vector ,this also resulted from master key computation. in symmetric key i'm generating data only..,in header i'm putting values of one dummy header of the SAME type. QueryData() //for output length CSSM_EncryptData(hCC, pClear, 1, pEncrypted, 1, bytesEncrypted, remdata); so ..pls can u figure out my mistake thanks in advance rajulu ponnada |
From: Patrick R. <pr...@pr...> - 2001-12-13 00:04:18
|
Hi David, Someone brought this up just last week on the OpenSSL developer's mailing list: http://marc.theaimsgroup.com/?l=openssl-dev&m=100758772524449&w=2 It looks like there will be AES in OpenSSL 0.9.7, whenever it is released. I am not sure about the state of the AES in the OpenSSL CVS tree, but it appears to be incomplete right now. I don't think there's anything that would make it difficult to expose it via the EAY CSP. - Patrick On Tue, 11 Dec 2001 David Bowler wrote: > Has anyone added AES to a CSP? > > I know it's not currently supported in the open source release, and it seems > like it would be a good addition to have. If someone has added the support > to the EAY/OpenSSL CSP, and was willing to contribute it to the open source > site, that would be great. > > If someone can provide comments on the experience of adding AES to a CSP, > that would be valuable as well, even if you can't supply code. > > > David Bowler > Software Engineer > Intel Corporation |
From: Bowler, D. <dav...@in...> - 2001-12-12 00:51:39
|
Has anyone added AES to a CSP? I know it's not currently supported in the open source release, and it seems like it would be a good addition to have. If someone has added the support to the EAY/OpenSSL CSP, and was willing to contribute it to the open source site, that would be great. If someone can provide comments on the experience of adding AES to a CSP, that would be valuable as well, even if you can't supply code. David Bowler Software Engineer Intel Corporation |
From: Bowler, D. <dav...@in...> - 2001-11-29 00:47:11
|
In the open source CSPs, the SSL3xxx_MAC algorithms aren't supported. It may be that someone has added this support in their local copy, but I haven't seen it. With the current source, I believe you can get this to work by combining more primitive algorithms (use SHA1 instead of SSL3SHA1, etc.), though some more logic will likely have to be added to your application to do so. David Bowler Software Engineer Intel Corporation > -----Original Message----- > From: raju [mailto:ra...@cr...] > Sent: Monday, November 26, 2001 11:49 PM > To: cds...@li... > Cc: cds...@li...; cds...@li... > Subject: [Cdsa-discuss] no CSP found for algid SSL3MD5_MAC..help me.. > > > hi all, > I'm developing SSL3 protocol using CDSA v3.1. In SSL3 MAC > generation > my program not able to find particular CSP for these > algorithm IDs CSSM_ALGID_SSL3MD5_MAC, and SSL3SHA1_MAC, Why, > is this version wont support SSL3 functions..(apart from that i've > installed openssl also). > please tell me what to do? > thanks in advance > rajulu ponnada > > > > _______________________________________________ > Cdsa-discuss mailing list > Cds...@li... > https://lists.sourceforge.net/lists/listinfo/cdsa-discuss > |
From: raju <ra...@cr...> - 2001-11-27 09:40:46
|
hi all, I'm developing SSL3 protocol using CDSA v3.1. In SSL3 MAC generation my program not able to find particular CSP for these algorithm IDs CSSM_ALGID_SSL3MD5_MAC, and SSL3SHA1_MAC, Why, is this version wont support SSL3 functions..(apart from that i've installed openssl also). please tell me what to do? thanks in advance rajulu ponnada |
From: raju <ra...@cr...> - 2001-11-20 13:34:19
|
Hi all, is there any ssl opensource which is implemented in cdsa available? thanks in advance Rajulu Ponnada |