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 CSO newsletter!

Error: Please check your email address.

Tags Android OSGooglesecuritymobile securityencryption

More about AES EnvironmentalGalaxyGoogleIETFInternet Engineering Task ForceMozilla

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Lucian Constantin

Latest Videos

  • 150x50

    CSO Webinar: Will your data protection strategy be enough when disaster strikes?

    Speakers: - Paul O’Connor, Engagement leader - Performance Audit Group, Victorian Auditor-General’s Office (VAGO) - Nigel Phair, Managing Director, Centre for Internet Safety - Joshua Stenhouse, Technical Evangelist, Zerto - Anthony Caruana, CSO MC & Moderator

    Play Video

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

More videos

Blog Posts

Market Place