dear all
i am using Authenticated Encryption AES-GCM. i am trying to calculate the
processing time for encrypting a data message of size 500 byte
clock_t startEncryption, endEncryption;
double msecs1;
startEncryption = clock();
unsigned char plaintext[500] =
{'f','a','3','1','3',
dear all
i'm trying to use AES-GCM model for encryption i use a sample code for that
and my problem is
ret = EVP_DecryptFinal_ex(ctx, plaintext + len, &len);
ret all the time is 0 this means that
the plaintext is not trustworthy.
encryption function
int
Server::AuthenticationEncryption(unsig
dear all
i have a problem with c++ code for sign some data here is the code
BIO *sgerr = NULL;
const char szPath[MAX_FILE_NAME_SIZE] = "sgerr.pem";
sgerr = BIO_new_file(szPath,"wb");
cout<<"i'm in sign digest"<
ctual error from the code.
>>
>>
>>
>> *From:* owner-openssl-us...@openssl.org [mailto:
>> owner-openssl-us...@openssl.org] *On Behalf Of *Amir Reda
>> *Sent:* Tuesday, November 18, 2014 10:29 AM
>> *To:* openssl-users@openssl.org
>> *Subject:* sign problem
r a good health,*urs sincerely *
*mero*
//
// Name: certificate.cpp
// Author : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in
-
Warmest regards and best wishes for a good health,*urs sincerely *
*mero*
//
// Name: certificate.cpp
// Author : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++,
ealth,*urs sincerely *
*mero*
//
// Name: certificate.cpp
// Author : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++,
dear all
i'm trying to use method
RSA_private_encrypt () to sign some data (time stamp and random no) and
send both data and sign and client certificate to server side. my problem
is in server side to verify the time stamp and check its validity i use
method
RSA_public_decrypt ()
this function ha
and know what
i did wrong
thx allot for help
--
Warmest regards and best wishes for a good health,*urs sincerely *
*mero*
//
// Name: rsa_sign.cpp
// Author : Amir
// Version :
// Copyright : Your
dear sir i already installed ssl lib
i use this command
amir@amir-Master:~$ sudo apt-get install libssl-dev
[sudo] password for amir:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0
can i do i need real help
--
Warmest regards and best wishes for a good health,*urs sincerely *
*mero*
/*
* sign.cc
*
* Created on: Oct 30, 2014
* Author: amir
*/
#include "sign.h"
Sign::Sign()
{
m_rsa_keyPairs = RSA_new();
GenerateRSAPairs();
SetSharedKey()
uthor : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//
#include
#include "server.h"
#include "client.h"
using namespace std;
int mai
: certificate.cpp
// Author : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//
#include
#include "server.h"
#include "client.h&q
_PKEY *m_pukey;
//Client *m_client;
};
#endif /* SERVER_H_ */
//====
// Name: certificate.cpp
// Author : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//
ot defined in client.cc
>
> Regards
>
> ----- Mail original -
> De: "Amir Reda"
> À: openssl-users@openssl.org
> Envoyé: Mercredi 24 Septembre 2014 13:37:13
> Objet: X509 problem
>
>
>
> dear all
> i have problem in my code it is a client send
*mero*
//
// Name: certificate.cpp
// Author : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//
#include
#include "server.h"
#in
amirale32@amir-master:~$ cd ..
amirale32@amir-master:/home$ cd ..
amirale32@amir-master:/$ sudo dpkg -L crypto
dpkg-query: package 'crypto' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
thx allot for reply
i have looked at the directory usr/lib i found the folder ssl but i
couldn't find the folder of crypto
so what can i do
On Fri, Sep 19, 2014 at 7:46 PM, Jeffrey Walton wrote:
> On Fri, Sep 19, 2014 at 3:33 AM, Amir Reda wrote:
> > thx allot for quick re
rograms-in-eclipse.html
http://askubuntu.com/questions/211038/cant-find-openssl
http://stackoverflow.com/questions/7860657/undefined-reference-to-eclipse-c
but i failed please hellpp
On Thu, Sep 18, 2014 at 11:46 PM, Scott Neugroschl
wrote:
> It’s -lssl, not -lopens
s and best wishes for a good health,*urs sincerely *
*mero*
//
// Name: certificate.cpp
// Author : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-
ly *
*mero*
//
// Name: certificate.cpp
// Author : Amir
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++,
dear all
i have just made a code to make a certificate request from a node and my
certificate authority reply with the certificate
the node has attributes as below
X509_REQ *x;
EVP_PKEY *prk;
EVP_PKEY *puk;
X509m_myCert;
//RSA structure contain both private and public k
dear all
i'm trying to generate rsa keypair to be used in a class that has an
attribute
RSA*rsa_keyPair;
and i use function
RSA
AeroRoutingProtocol :: GenerateRSAKeyPair ( )
{
rsa_keyPair = RSA_generate_key(2084,RSA_F4,NULL,NULL);
return rsa_keyPair;
}
when i try to compi
dear all
i'm trying to make my certificate authority which will create certificate
when receive certificate signing request i write this code
1- i create the CSR and sign it which created in the node itself
2- i send the CSR to CA to create a certificate for the node which send
previous CSR
code
Dear all
i need help if i have a certificate in X509 structure how can i
convert it into unsigned int format this is too important for me thanks
for your help
--
Warmest regards and best wishes for a good health,*urs sincerely *
*mero*
t for helping me
On Tue, Aug 26, 2014 at 2:26 PM, Mauricio Tavares
wrote:
>
> On Aug 26, 2014 2:45 AM, "Amir Reda" wrote:
> >
> > Dear all
> > I need your help for those points
> > 1- i want create 102 certificate from a certificate authority that i
t for helping me
On Tue, Aug 26, 2014 at 2:26 PM, Mauricio Tavares
wrote:
>
> On Aug 26, 2014 2:45 AM, "Amir Reda" wrote:
> >
> > Dear all
> > I need your help for those points
> > 1- i want create 102 certificate from a certificate authority that i
Dear all
I need your help for those points
1- i want create 102 certificate from a certificate authority that i made
((101 node and 1 CA)
2- change the certificate that i have created into unsigned int in order to
fit the simulator that i work with as a header type i use NS3 simulator
please i need
Dear all
i'm new to openssl i want use it with network simulator NS3 i
just want steps to begin to reuse openssl with a C code to make a
certificate authority entity that create certificate if any one know how
can i begin with this project i need help to finish my master degree
please
--
solving this problem?
or did you know where can i get the openSSL library already builded for
Windows CE?
Thanks,
Amir,
begin:vcard
fn:Amir Krifa
n:Krifa;Amir
email;internet:[EMAIL PROTECTED]
tel;quoted-printable;work:Ing=C3=A9nieur Expert, INRIA Sophia-Antipolis
tel;home:Antibes, France
tel;ce
hing else I could do?
Are there any other useless modules I may remove?
Thanks in advance,
-- Amir
-BEGIN RSA PRIVATE
KEY-")
PEM_write_X509() ?
(it prints certificate code starting with "-BEGIN CERTIFICATE-")
Thanks a lot,
-- Amir
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dr. Stephen Henson
Sent: Wednesday, Janu
#x27;req' in this case) with appropriate parameters.
Note:
- I can't use Unix specific APIs like getenv();
- command execution cannot be interactive (command arguments and configuration files have to supply all required parameters).
Any suggestion how to do that?
Thanks in advance,
-- Amir
Title: Calling 'openssl' utility as a C function?
Hello,
I need my embedded application to be capable of creating a CA and creating SSL certificate.
My operating system is eCos, which means I don't have shell or any scripts, and I can't run utilities (However, I have a file system!).
I can
want to do is to give a public key to someone to encrypt large files and send it to me.
Amir
Sent from the OpenSSL - User forum at Nabble.com:
Re: How to encrypt a large file by a public key?
advance
Amir
Sent from the OpenSSL - User forum at Nabble.com:
How to encrypt a large file by a public key?
Hi there,
I'm new to openssl. Could anybody tell me where can I find some code
examples please?
Many Thanks
Amir
__
OpenSSL Project http://www.openssl.org
User Support Mailing
Hi,
I've encountered the following problem:
I generate PKCS#7 detached & signed data using CryptSignMessage() in
CryptoAPI and try to verify it using OpenSSL but I get an OpenSSL Error:
{error:2107106C:PKCS7 routines:PKCS7_signatureVerify:unable to fi
nd message digest}.
I tried using PKCS7_data
Is it possible to tell Crypt::SSLeay which certificate to use for a
particular request? This feature is available in Net::SSLeay by
set_server_cert_and_key.
Amir.
__
OpenSSL Project http
just can't seem to make it work. Can anyone please give me an example
/ reference to an example?
Thanks in advance,
Amir
linuxqa development team
--
"Besides, I think [Slackware] sounds better than 'Microsoft,' don't
you
just can't seem to make it work. Can anyone please give me an example
/ reference to an example?
Thanks in advance,
Amir
linuxqa development team
--
"Besides, I think [Slackware] sounds better than 'Microsoft,' don't
you
and return value of EPIPE) - but I don't want to
write into the socket. What can I do?
Thanks in advance,
Amir Amit
__
OpenSSL Project http://www.openssl.org
User Support Mailing List
42 matches
Mail list logo