https://github.com/defanator/mcespi
MIPS Assembler optimized IPsec cryptographic modules
https://github.com/defanator/mcespi
ipsec mips openwrt router routers
Last synced: 8 months ago
JSON representation
MIPS Assembler optimized IPsec cryptographic modules
- Host: GitHub
- URL: https://github.com/defanator/mcespi
- Owner: defanator
- License: other
- Created: 2019-10-14T17:16:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-15T07:04:12.000Z (about 6 years ago)
- Last Synced: 2025-01-03T10:26:33.138Z (10 months ago)
- Topics: ipsec, mips, openwrt, router, routers
- Language: C
- Homepage: https://sourceforge.net/projects/mcespi/files/
- Size: 51.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MIPS IPsec library
Forked from https://sourceforge.net/projects/mcespi/files/
# MIPS tuning
> Those of you that are on MIPS *big endian* machines can replace the default `aes_generic.ko`, `sha_generic.ko`, `cbc.ko` and `md5.ko` modules with a single assembler optimized `mcespi.ko`. The module is quite some years old and a first experience with crypto modules. Nevertheless it will work quite fine but needs manual compiling. The easyiest way to install it includes a few steps.
>
> - create a buildroot environment
> - compile an image for your router once
> - put the `mcespi.c` into the the folder `build_dir/target-/linux-/linux-X.Y.Z/crypto`
> - Include the line `obj-$(CONFIG_CRYPTO_MD5) += mcespi.o` into `build_dir/target-/linux-/linux-X.Y.Z/crypto/Makefile`
> - compile the image once again.
> - Afterwards you will find `build_dir/target-/linux-/linux-X.Y.Z/crypto/mcespi.ko`
> - Put `mcespi.ko` to your router into `/lib/modules/`
> - Load the module with `insmod`
> - For automatic loading create a new `/etc/modules.d/09-crypto-mcespi` with corresponding content.(documentation taken from [https://openwrt.org/docs/guide-user/services/vpn/ipsec/strongswan/performance#mips_tuning](https://openwrt.org/docs/guide-user/services/vpn/ipsec/strongswan/performance#mips_tuning))