Hi All,
I need to convert a public key in PEM format to Hex format.
Thanks,
B
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automat
On Wed, Jul 29, 2009 at 06:51:13PM +0530, joshi chandran wrote:
> FIPS_NON_FIPS_MD_Init(MD5)
> {
> c->A=INIT_DATA_A;
> c->B=INIT_DATA_B;
> c->C=INIT_DATA_C;
> c->D=INIT_DATA_D;
> c->Nl=0;
> c->Nh=0;
> c->num=0;
> return 1;
> }
>
> I cann
But in the Openssl 9.8k , this function is changed to
#define INIT_DATA_A (unsigned long)0x67452301L
#define INIT_DATA_B (unsigned long)0xefcdab89L
#define INIT_DATA_C (unsigned long)0x98badcfeL
#define INIT_DATA_D (unsigned long)0x10325476L
FIPS_NON_FIPS_MD_Init(MD5)
{
c->A=INIT_
It is in crypto\md5\md5_dgst.c:
int MD5_Init(MD5_CTX *c)
{
memset (c,0,sizeof(*c));
c->A=INIT_DATA_A; // see #define INIT_DATA_A (unsigned long)0x67452301L
c->B=INIT_DATA_B; // see #define INIT_DATA_B (unsigned long)0xefcdab89L
c->C=INIT_DATA_C; // see #define INIT_DATA_C (unsigned long)0x98badcfe
I got the definition for MD5_Update and MD5_Final . but was not able
to figure out the code for MD5_Init.
Thank in advance
On Wed, Jul 29, 2009 at 6:15 PM, PMHager wrote:
>
> In crypto\md5\md5_locl.h:
>
> #define HASH_UPDATE MD5_Update
> #define HASH_FINAL MD5_Final
> #include "md32_common.h"
>
In crypto\md5\md5_locl.h:
#define HASH_UPDATE MD5_Update
#define HASH_FINAL MD5_Final
#include "md32_common.h"
now in crypto\md32_common.h:
int HASH_UPDATE (HASH_CTX *c, const void *data_, size_t len)
{...}
int HASH_FINAL (unsigned char *md, HASH_CTX *c)
{...}
Please note that #define is not
On Tue, Jul 28, 2009, Bizhan Gholikhamseh (bgholikh) wrote:
>
>
> > HI ALL,
> > I have a binary format of a public key which is in
> > "BASE64-encoded public key in RSA PKCS#1 format".
> > How could I convert that to a PEM format?
> >
> Here is another data set:
> TO get the binary format I r
I am using openssl 9.8k ...
This is the content of md5_dgst.c
#include
#include "md5_locl.h"
#include
#include
#ifdef OPENSSL_FIPS
#include
#endif
const char MD5_version[]="MD5" OPENSSL_VERSION_PTEXT;
/* Implemented from RFC1321 The MD5 Message-Digest Algorithm
*/
#define INIT_DATA_A (u
On Wed, Jul 29, 2009 at 03:03:27PM +0530, joshi chandran wrote:
>
> I can find the definition of MD5_Update() and MD5_Final() . But was
> not able to find the definition for MD5_Init() in
> crypto/md5/md5_dgst.c
what version of openssl are you using? I checked a 1.1.0 snapshot and
0.9.8g, it's
Bizhan Gholikhamseh (bgholikh) wrote:
Hi All,
Hello
In our development enviroment we have an image signing system. Through
some configuration we can create a pair of rsa public/private key by
the system.
The private key are kept by the system and never are release, however,
through some HTT
Thanks Martin.
I can find the definition of MD5_Update() and MD5_Final() . But was
not able to find the definition for MD5_Init() in
crypto/md5/md5_dgst.c
On Wed, Jul 29, 2009 at 1:38 PM, Martin Kaiser wrote:
> Hello Joshi,
>
> On Wed, Jul 29, 2009 at 01:13:27PM +0530, joshi chandran wrote:
>
> -Ursprüngliche Nachricht-
> Von: owner-openssl-us...@openssl.org [mailto:owner-openssl-
> us...@openssl.org] Im Auftrag von Dr. Stephen Henson
> Gesendet: Dienstag, 28. Juli 2009 23:43
> An: openssl-users@openssl.org
> Betreff: Re: OCSP_basic_verify:root ca not trusted
>
> On Tue, Jul 28
Hello Joshi,
On Wed, Jul 29, 2009 at 01:13:27PM +0530, joshi chandran wrote:
> , I want to find the definition of this function. The prototype of
> this function is there in md5.h file but when i tried to find the code
> for this function , i was not able to find any code related to this
> functi
, I want to find the definition of this function. The prototype of
this function is there in md5.h file but when i tried to find the code
for this function , i was not able to find any code related to this
function.
Thanks in advance
Rajan
On Wed, Jul 29, 2009 at 1:06 PM, Neil
Dugan wrote:
> r
rajanchittil wrote:
Hi All,
I was trying to figure out the Definition for this function
1. MD5_Init
2. MD5_Update
3. MD5_Final
But i went through the openssl source code but was not bale to find the
definition of it.
Can any one please help me regarding the same.
Thanks in advance
Rajan
Hi All,
I was trying to figure out the Definition for this function
1. MD5_Init
2. MD5_Update
3. MD5_Final
But i went through the openssl source code but was not bale to find the
definition of it.
Can any one please help me regarding the same.
Thanks in advance
Rajan
--
View this message in
16 matches
Mail list logo