Google speeds up encrypted Web communications in Chrome on Android

The company is pushing for widespread support for faster encryption algorithms on mobile and wearable devices

Google has added support for a new TLS cipher suite in its Chrome browser for Android that the company claims will provide better security and performance for encrypted communications on mobile devices.

The new cipher suite uses two cryptographic algorithms called ChaCha20 and Poly1305 that were designed by Dan Bernstein, a cryptographer and professor at the University of Illinois, and are currently being considered for standardization by the Internet Engineering Task Force (IETF).

ChaCha20 is used for encryption and Poly1305 is used for message authentication, both operations being needed to communicate over the TLS (Transport Layer Security) protocol.

The most commonly used cipher suites in TLS at the moment combine the RC4 or AES-CBC ciphers with the SHA hashing function for message authentication. However, over the past few years security researchers have devised practical and theoretical attacks against both RC4 and AES-CBC when used in TLS.

The AES-GCM cipher which is supported in TLS 1.2 provides a secure alternative to RC4 and AES-CBC, but using it can cause performance issues on devices that don't have AES hardware acceleration, like most smart phones, tablets and wearable devices like Google Glass.

ChaCha20 is also not affected by the TLS attacks discovered so far, but in combination with Poly130 can operate three times faster on mobile devices than AES-GCM, according Elie Bursztein, the anti-abuse research lead at Google.

That's because these algorithms "are able to leverage common CPU instructions, including ARM vector instructions," Bursztein said Thursday in a blog post. "Poly1305 also saves network bandwidth, since its output is only 16 bytes compared to HMAC-SHA1, which is 20 bytes. This represents a 16% reduction of the TLS network overhead incurred when using older ciphersuites such as RC4-SHA or AES-SHA."

In tests performed by Google, the encryption throughput for AES-GCM on the Snapdragon S4 Pro processor used in Nexus 4 and other mobile devices was 41.5MB/s, while for ChaCha20-Poly1305 it was 130.9MB/s. On the OMAP 4460 system-on-a-chip used in the older Galaxy Nexus phone, the throughput was 24.1MB/s for AES-GCM and 75.3MB/s for ChaCha20-Poly1305.

"As of February 2014, almost all HTTPS connections made from Chrome browsers on Android devices to Google properties have used this new cipher suite," Bursztein said. "We plan to make it available as part of the Android platform in a future release."

Google security engineers have already added support for ChaCha20-Poly1305 in OpenSSL, the most widely used TLS library. However, in order for the cipher suite to gain widespread adoption it needs to be supported by more browsers and to be specified as a preference by HTTPS websites in their configurations.

Work is already underway to add support for ChaCha20-Poly1305 to Mozilla Firefox.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags mobile securityGoogleAndroid OS

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.
Lucian Constantin

Lucian Constantin

IDG News Service
Show Comments

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers

MSI P65

This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang

MSI GT76

It really doesn’t get more “gaming laptop” than this.

Jack Jeffries

MSI GS75

As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr

MSI PS63

The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?