Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

I need to extend the TLS protocol to be able to use other key exchange scheme based on elliptic curves. I am planning to use BouncyCastle's implementation in Java and in .NET.

I am worring about timing attacks against the ECC key exchange scheme. Is BouncyCastle prone to timing attacks? Is there a way to use it to implement operations in data-independent time?

share|improve this question
    
Depends on how you use them. You'll have to describe the app and how the crypto is to be used. –  mikeazo Oct 6 '13 at 19:11
1  
These are large libraries, some parts my be better than others. At least the ECC part looks vulnerable to timing attacks to me. –  CodesInChaos Oct 6 '13 at 19:20
    
If I'll use the Bouncy Castle for building client applications which connects whith server using TLS base on ECC key exchange scheme. Will be it secure? –  NiceTheo Oct 6 '13 at 19:34
    
"Secure…" compared to what? I would say that — in it's current form — the question is a bit too broad. Maybe you can edit your question and describe what exactly you are worrying about, or what specific security parameters you want to evaluate… including a small mention of what other solution you want a "security" comparison to. –  e-sushi Oct 6 '13 at 20:49
    
To expand on e-sushi's comment, do you mean if they are known to have been compromized in some way? –  rath Oct 6 '13 at 23:23
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.