Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I wrote a custom algorithm using the kernel crypto API (by modifying the existing SHA1 and DES algorithms), compiled and added the .KO object to kernel.

How can I use my algorithm in ipsec and other app that use cryptographic communication?

share|improve this question
    
Each application has its own way of specifying which algorithms to use. So… which IPsec stack are you using? –  Gilles Aug 17 '11 at 9:29
    
i use KLIPS stack. –  haw3d Aug 19 '11 at 12:21
1  
First Law of Cryptography: Thou shall not roll your own crypto. Sorry, someone had to say it ;) –  Marcin Oct 12 '12 at 12:47
add comment

migrated from serverfault.com Aug 17 '11 at 8:41

This question came from our site for professional system and network administrators.

2 Answers

Do not use homebrewed crypto for anything remotely serious. The risk is just too great.

share|improve this answer
add comment

Strongswan is generally considered to be the IPSec suite of choice (for VPNs) on Linux. Is that what you are looking for?

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.