badlocklogo2100652000orig
Security

Google researchers help developers test cryptographic implementations

Security experts from Google have developed a test suite that allows developers to find weaknesses in their cryptographic libraries and implementations.

The company's Project Wycheproof, which was released on GitHub, contains more than 80 test cases for widely used cryptographic algorithms, including RSA, AES-GCM, AES-EAX, Diffie-Hellman, Elliptic Curve Diffie-Hellman (ECDH), and the digital signature algorithm (DSA).

Google's researchers have developed these tests by implementing some of the most common cryptographic attacks. So far, the tests have helped them uncover more than 40 security bugs in cryptographic libraries, and they have been reported to affected vendors.

"In cryptography, subtle mistakes can have catastrophic consequences, and mistakes in open source cryptographic software libraries repeat too often and remain undiscovered for too long," Google security engineers Daniel Bleichenbacher and Thai Duong wrote in a blog post. "Good implementation guidelines, however, are hard to come by: Understanding how to implement cryptography securely requires digesting decades' worth of academic literature."

The Google researchers hope that by releasing these tests publicly, developers and users alike can test the cryptographic implementations they create or use. Some crypto libraries are popular and are included in many commercial products or are used in enterprise applications.

The tests released so far are written in Java, but the Google researchers are working on converting them to test vectors so they can be ported easily to other programming languages.

Passing the Project Wycheproof tests doesn't mean that a library is secure and doesn't have any flaws, but at least it can be used to establish a baseline where the code is protected against the most common attacks.

IDG Insider

PREVIOUS ARTICLE

« Cutting the cord: GM tests wireless car chargers for EVs, self-driving cars

NEXT ARTICLE

Why every CIO needs to be a hands-on leader to succeed »
author_image
IDG News Service

The IDG News Service is the world's leading daily source of global IT news, commentary and editorial resources. The News Service distributes content to IDG's more than 300 IT publications in more than 60 countries.

  • Mail

Recommended for You

Trump hits partial pause on Huawei ban, but 5G concerns persist

Phil Muncaster reports on China and beyond

FinancialForce profits from PSA investment

Martin Veitch's inside track on today’s tech trends

Future-proofing the Middle East

Keri Allan looks at the latest trends and technologies

Poll

Do you think your smartphone is making you a workaholic?