This question has been asked before and I could find no answers to it in the
archives.
Can one send the same buffer (for in and out parameters) to
EVP_EncryptUpdate and EVP_DecryptUpdate functions when the encryption cipher
is RC4?
Regards,
S M
> Thus, I conclude that there is some format in place, respectively
> how do I know where a bignum starts and where it ends?
The format is ANSI X.690, also knows as BER or DER, somtimes (slightly
erroneously) referred to as ASN.1.
> I tried to find a clue by browsing the sources, but I gave up
>
Thanks for the response. Unfortunately i cannot use any other version of
openssl. Up until now i have been working with the methods provided by
openssl as i described. i2d, ASN1* .
But now you say i have to create 4 new functions. I dont think 0.9.6 follows
the same nameing conventions as i dont
On Tue, Jul 01, 2008, harold reggie wrote:
> Hello,
> I am trying to build a custom asn1 structure in my program using openssl
> 0.9.6.
> The structure will have a few sequences / sets with integers,
> printablestrings, etc.
>
> I am looking for some help on where to begin. I have been pouring ov
Hello,
I am trying to build a custom asn1 structure in my program using openssl
0.9.6.
The structure will have a few sequences / sets with integers,
printablestrings, etc.
I am looking for some help on where to begin. I have been pouring over the
openssl code, and have been playing with various me
I fixed it -- removed FIXCRIO from my qmail smtpd/run file
Sorry for the posting when this wasn't really an openssl problem... but I'd
like to post this follow up just in case someone googles it in the future if
they made the same mistake as me!
On Mon, Jun 30, 2008 at 1:32 PM, fbc <[EMAIL PROTECT
Hello all,
lately i am facing problems with Certification Authorities as mentioned in
mails attached. Hope anyone knowns centos perl script CA for generating
certificates (i believe it is not only centos script and other distros use
it also.
I have used centos script /etc/pki/tls/misc/CA my own ce
On Sat, Jun 28, 2008, Razack wrote:
> I'm not sure, that this code is correct?
>
>
>
> thx for help
>
>
>
> unsigned char text[]="Hello World!";
>
> char key[]="password";
>
> char iv[]="12345678";
>
>
[snip]
>
>
> EV
Leonard F. Elia wrote:
TLS v1 (OpenSSL 0.9.8d 28 Sep 2006 / SunOS 5.10 Generic_127127-11
sun4v sparc SUNW,Sun-Fire-T1000)
and
Firefox 3 [Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9)
Gecko/2008052906 Firefox/3.0]
both work fine for me.
doki_pen wrote:
I think it is a firefox prob
Hello!
I want to use openssl generated rsa keys in my custom rsa
implementation. In order to do this, I have to interpret the
binary file created by: (host.key is the rsa key file)
$ openssl enc -d -base64 -in host.key
I suppose the funny outputs are the bignums from the
struct rsa_st (cryp
> I'm not sure, that this code is correct?
It has some minor issues but appears basically correct.
>EVP_EncryptInit_ex(&ctx,EVP_aes_256_cbc(),NULL,key,iv);
>EVP_EncryptUpdate(&ctx,outbuf,&outlen,text,strlen(text));
>EVP_EncryptFinal_ex(&ctx,outbuf
No no i do it correct.
PEM_read_RSAPrivateKey()
RSA_sign()
For sign and:
PEM_read_RSAPublicKey()
RSA_verify()
For verify
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Per conto di Kenneth Goldman
Inviato: lunedì 30 giugno 2008 14.58
A: openssl-users@openssl.org
O
Perhaps the problem is that you're reading the public key and
trying to sign. Signing uses a private key.
Try:
PEM_read_RSAPrivateKey()
RSA_sign()
[EMAIL PROTECTED] wrote on 06/27/2008 11:31:42 AM:
> Excuse me,
> I'm trying, using C, to do a simple sign and verify with RSA public and
> private
13 matches
Mail list logo