Re: Problems with OpenSSl BN

2012-05-31 Thread Matt Caswell (fr...@baggins.org)
On 29/05/12 22:52, Matt Caswell (fr...@baggins.org) wrote: On 29/05/12 16:55, chip...@gmx.de wrote: Now I set for every variable the BN_FLG_CONSTIME Flag, so that I can be sure, that they will need the same time. I measured the time the BN_nnmod operation in the BN_mod_add function needs for

Re: Problems with OpenSSl BN

2012-05-30 Thread chipler
to do a carry or creating a new word for the value which is bigger than the modulos. Original-Nachricht > Datum: Tue, 29 May 2012 22:52:11 +0100 > Von: "Matt Caswell (fr...@baggins.org)" > An: openssl-users@openssl.org > Betreff: Re: Problems with OpenSS

Re: Problems with OpenSSl BN

2012-05-29 Thread Matt Caswell (fr...@baggins.org)
On 29/05/12 16:55, chip...@gmx.de wrote: Hi, thank you again for your answer. Now I set for every variable the BN_FLG_CONSTIME Flag, so that I can be sure, that they will need the same time. I measured the time the BN_nnmod operation in the BN_mod_add function needs for the modulo operation a

Re: Problems with OpenSSl BN

2012-05-29 Thread chipler
t). When I want to use the summands value later, then it just has the value zero. Thank you for your help. Original-Nachricht > Datum: Mon, 28 May 2012 23:23:43 +0100 > Von: "Matt Caswell (fr...@baggins.org)" > An: openssl-users@openssl.org > Betreff: Re

Re: Problems with OpenSSl BN

2012-05-28 Thread Matt Caswell (fr...@baggins.org)
t from the caching of temporary variables. Thank you for your answer. Original-Nachricht Datum: Tue, 15 May 2012 00:04:16 +0100 Von: "Matt Caswell (fr...@baggins.org)" An: openssl-users@openssl.org Betreff: Re: Problems with OpenSSl BN On 14/05/12 15:48, chip.

Re: Problems with OpenSSl BN

2012-05-28 Thread chipler
time with different context variables, but it has no consequences. The caculating results also stay the same. Thank you for your answer. Original-Nachricht > Datum: Tue, 15 May 2012 00:04:16 +0100 > Von: "Matt Caswell (fr...@baggins.org)" > An: openssl-users@o

Re: Problems with OpenSSl BN

2012-05-14 Thread Matt Caswell (fr...@baggins.org)
On 14/05/12 15:48, chip...@gmx.de wrote: Hello, I am using the OpenSSL BN functions. Wenn I measure the time which a BN function needs, then I see that for example BN_mod_add, needs for every calling different times. Shouldn't it be the same timeconsumption, every time I call for example BN_m