Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Red Hat Enterprise Linux 9 Essentials Book now available.

Purchase a copy of Red Hat Enterprise Linux 9 (RHEL 9) Essentials

Red Hat Enterprise Linux 9 Essentials Print and eBook (PDF) editions contain 34 chapters and 298 pages

Preview Book

3.7. OpenSSL PadLock Engine

The VIA PadLock Engine is available in some VIA C3 processors (Nehemia), and allows for extremely fast hardware encryption and decryption.
To enable it, edit /etc/pki/tls/openssl.cnf and add the following at the beginning of the file:
openssl_conf = openssl_init
Then add the following to the end of the file:
[openssl_init]
engines = openssl_engines

[openssl_engines]
padlock = padlock_engine

[padlock_engine]
default_algorithms = ALL
dynamic_path = /usr/lib/openssl/engines/libpadlock.so
init = 1
Note: for 64-bit systems, use dynamic_path = /usr/lib64/openssl/engines/libpadlock.so.
To check if the module is enabled, run the following command:
# openssl engine -c -tt
To test its speed, run the following command:
# openssl speed aes-128-cbc
To test the speed of OpenSSH you can run a command like the following:
# dd if=/dev/zero count=100 bs=1M | ssh -c aes128-cbc localhost "cat >/dev/null"
PadLock is a third-party initiative available in the Linux kernel. You can find out more about the VIA PadLock engine at the following URLs: https://www.logix.cz/michal/devel/padlock/ and https://www.via.com.tw/en/initiatives/padlock/.

 
 
  Published under the terms of the Creative Commons License Design by Interspire