{"id":1918,"date":"2010-09-30T12:58:31","date_gmt":"2010-09-30T12:58:31","guid":{"rendered":"http:\/\/www.coresecuritypatterns.com\/blogs\/?p=1918"},"modified":"2020-08-08T04:23:10","modified_gmt":"2020-08-08T04:23:10","slug":"hardware-assisted-security-cryptographic-acceleration-for-soa-and-java-ee-applications","status":"publish","type":"post","link":"https:\/\/websecuritypatterns.com\/blogs\/2010\/09\/30\/hardware-assisted-security-cryptographic-acceleration-for-soa-and-java-ee-applications\/","title":{"rendered":"Hardware Assisted Security: Cryptographic Acceleration for SOA and Java EE applications"},"content":{"rendered":"<p>I&#8217;ve spent the last few days attending Oracle OpenWorld conference at San Francisco..it is my second OOW experience, so it is not a surprise to see the conference was fully packed with people, hundreds of sessions and demos &#8211; I did have an opportunity to attend few and also present two sessions focused on Security topics featuring &#8220;Hardware Assisted Security Solution for SOA, XML Web Services and Java EE applications&#8221; &#8211; showcasing how &#8220;Hardware and Software Engineered together&#8221;.<\/p>\n<p><a href=\"http:\/\/www.websecuritypatterns.com\/blogs\/?attachment_id=1925\" rel=\"attachment wp-att-1925\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1925\" src=\"http:\/\/websecuritypatterns.com\/blogs\/wp-content\/uploads\/2010\/09\/sparcT3cpu-for.web_.png\" alt=\"\" width=\"184\" height=\"154\"><\/a>During the conference, John Fowler &#8211; Oracle EVP, Systems announced the industry&#8217;s first 16 core processor introducing new SPARC T3 systems with integrated security and virtualization capabilities. Each SPARC T3 processor features 16 on-chip cryptographic accelerators that deliver cryptographic operations running in parallel at CPU speeds and offloading compute-intensive cryptographic functions from software &#8211; thus eliminating the need for additional special-purpose cryptographic accelerators such as PCIe cards or network appliances. The cryptographic operation offload and acceleration is accomplished using dedicated cryptographic accelerator drivers, called the Niagara Crypto Provider (NCP), Niagara 2 Crypto Provider (N2CP) and Niagara 2 Random Number Generator (N2RNG). In practice, the NCP and N2CP accelerators uses the Oracle Solaris Cryptographic Framework for enabling user-level applications to off-load cryptographic operations via PKCS#11 standard interfaces and take advantage of NCP and N2CP based on-chip cryptographic acceleration. The current UltraSPARC T3 processors provide acceleration support for public-key encryption mechanisms including RSA, DSA, DH and ECC algorithms,&nbsp; symmetric key-based encryption amechanisms including DES, 3DES, AES and Kasumi algorthms and Message disgest\/hashing mechanisms MD5, SHA1, SHA-256 and SHA-512 algorithms. The Solaris Cryptographic Framework (SCF) library plays a vital role for providing applications access to NCP and N2CP accelerators through a set of cryptographic services for kernel-level and user-level consumers. Using PKCS#11 interfaces of Solaris Cryptographic Framework, SOA and Java EE Applications (ex. Oracle Fusion Middleware, WebLogic, Glassfish, JBoss, Websphere)&nbsp; can <!-- @font-face { font-family: \"SunSans-Regular\"; }@font-face { font-family: \"Garamond\"; }p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: \"Times New Roman\"; }div.Section1 { page: Section1; } --> take advantage of NCP and N2CP based cryptography acceleration (Refer figure).<\/p>\n<div id=\"attachment_1946\" style=\"width: 556px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.websecuritypatterns.com\/blogs\/?attachment_id=1946\" rel=\"attachment wp-att-1946\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1946\" class=\"size-full wp-image-1946 \" src=\"http:\/\/websecuritypatterns.com\/blogs\/wp-content\/uploads\/2010\/09\/SCF.png\" alt=\"\" width=\"546\" height=\"429\" srcset=\"https:\/\/websecuritypatterns.com\/blogs\/wp-content\/uploads\/2010\/09\/SCF.png 1136w, https:\/\/websecuritypatterns.com\/blogs\/wp-content\/uploads\/2010\/09\/SCF-300x236.png 300w, https:\/\/websecuritypatterns.com\/blogs\/wp-content\/uploads\/2010\/09\/SCF-768x604.png 768w, https:\/\/websecuritypatterns.com\/blogs\/wp-content\/uploads\/2010\/09\/SCF-1024x806.png 1024w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/a><p id=\"caption-attachment-1946\" class=\"wp-caption-text\">Hardware Assisted Cryptographic Acceleration using Solaris on UltraSPARC T3 Servers<\/p><\/div>\n<h2>Cryptographic Acceleration for SOA and Java EE Security<\/h2>\n<p>Both SOA\/XML Web services and Java EE based applications can significantly gain on security performance by offloading and delegating their cryptographic operations to the on-chip cryptographic accelerators of Oracle SPARC Enterprise T-Series servers.<\/p>\n<h3>Applied Security Mechanisms and Usage Scenarios<\/h3>\n<p>To enhance security performance, both the Oracle WebLogic server and Oracle WSM secured applications can offload select cryptographic operations to address the following security scenarios.<\/p>\n<ul>\n<li><strong>Transport-layer Security<\/strong>\n<ul>\n<li>SSL\/TLS acceleration offloads computationally intensive public-key cryptographic operations such as RSA, DH and ECC.<\/li>\n<li>RMI over IIOP with SSL uses SSL\/TLS to protect IIOP connections to RMI remote objects.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><strong>Message-Layer Security<\/strong>\n<ul>\n<li>Acceleration of cryptographic operations intended for supporting XML Web Services security standards such as WS-Security, WS-SecurityPolicy. XML Web services security relies on public-key encryption, digital signature (ex. RSA, DSA), bulk encryption (ex. AES, 3DES,DES) and message digest (ex. SHA-1, SHA-2, MD5) functions intended for supporting XML encryption, XML digital signature and related cryptographic operations.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Performance Characteristics<\/h3>\n<p>Based on a performance study, Oracle&#8217;s SPARC Enterprise T3-1 server was used to evaluate both SSL and WS-Security application performance of a SOA\/XML Web Services application deployed on Oracle Fusion Middleware (WebLogic 10.3.3 and Oracle Web Services Manager).<\/p>\n<ul>\n<li>Enabling on-chip acceleration for SSL (Cipher suite using RSA-1024\/AES-256) and WS-Security (Algorithm suite using Basic256Rsa15) usecases&nbsp; solidly delivered between 2X &#8211; 3X overall application throughput performance gain&nbsp; in comparison with SSL and WS-Security usecases running with no acceleration.<\/li>\n<li>Using Oracle Solaris KSSL as an SSL proxy provided an additional performance gain of about 25-30% outperforming WebLogic server SSL configured using Java SunPKCS11 provider for enabling cryptographic acceleration.<\/li>\n<\/ul>\n<p>Now, you got the highlights,&nbsp; if you are ready to dig deeper on the details and test-drive the solution &#8211; Please download and read the following two whitepapers (available from Oracle Technology network)&nbsp; that explores the above solution from ground up.<\/p>\n<ul>\n<li><a href=\"http:\/\/www.oracle.com\/technetwork\/articles\/systems-hardware-architecture\/security-weblogic-t-series-168447.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"> <strong>High Performance Security for Oracle Weblogic Applications Using Oracle SPARC Enterprise T-Series Servers<\/strong><\/a> (external pdf)<\/li>\n<li><a href=\"http:\/\/www.oracle.com\/technetwork\/articles\/systems-hardware-architecture\/hi-perf-soa-xml-svcs-172821.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"> <strong>High Performance Security for SOA and XML Web Services Manager and Oracle SPARC Enterprise T-Series Servers<\/strong><\/a> (external pdf)<\/li>\n<\/ul>\n<p>If you are curious to see the <a href=\"http:\/\/www.slideshare.net\/ramesh_r_nagappan\/analysis-of-security-and-compliance-using-oracle-sparc-tseries-servers-emphasis-on-hardware-assisted-cryptography\">OOW presentation &#8211; It is right here<\/a>.<\/p>\n<p>Thanks to <a href=\"http:\/\/http:\/\/ws-security.blogspot.com\/\">Vikas Jain<\/a>, Nitin Handa and Chad Prucha for all the help and support on this effort.<\/p>\n<p>Don&#8217;t forget to let me know, if you had any comments and suggestions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve spent the last few days attending Oracle OpenWorld conference at San Francisco..it is my second OOW experience, so it is not a surprise to see the conference was fully packed with people, hundreds of sessions and demos &#8211; I did have an opportunity to attend few and also present two sessions focused on Security topics featuring &#8220;Hardware Assisted Security&#8230; <a href=\"https:\/\/websecuritypatterns.com\/blogs\/2010\/09\/30\/hardware-assisted-security-cryptographic-acceleration-for-soa-and-java-ee-applications\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19,20,21,8,9],"tags":[37,40,57,62,75],"class_list":["post-1918","post","type-post","status-publish","format-standard","hentry","category-identity","category-java-ee","category-java-security","category-pki-main","category-security","tag-j2ee","tag-java-security","tag-pki-main","tag-security","tag-ws-security"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/posts\/1918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/comments?post=1918"}],"version-history":[{"count":2,"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/posts\/1918\/revisions"}],"predecessor-version":[{"id":2848,"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/posts\/1918\/revisions\/2848"}],"wp:attachment":[{"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/media?parent=1918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/categories?post=1918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/websecuritypatterns.com\/blogs\/wp-json\/wp\/v2\/tags?post=1918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}