WireGuard to Create Zinc Cryptography Library

It is expected that after the introduction of library into the main Linux kernel, it will accelerate the process of data encryption
03 August 2018   171

The developers of the VPN protocol WireGuard announced the creation of the Zinc cryptographic library. It is expected that after the introduction of WireGuard into the main Linux kernel, it will accelerate the process of data encryption due to a simplified set of crypto algorithms.

The Zinc library consists of all cryptographic primitives used in WireGuard, assembled in a simplified form. Its task is to increase the performance of data encryption and fast execution of SIMD instructions.

Unlike the CryptoAPI interface used in the current Linux kernel, WireGuard with the Zinc library offers a simplified set of ready-made functions. They can only be used for their intended purpose, which eliminates the appearance of superfluous high-level abstractions. It is believed that the incorrect use of functions is the main source of problems in the development of applications.

Zinc offers the following cryptographic primitives:

  • stream ciphers ChaCha20 and HChaCha20;
  • technology for authentication of Poly1305 messages;
  • function Curve25519 with the Diffie-Hellman protocol to create a private key;
  • hash function BLAKE2s with a performance at MD5;
  • encryption mechanisms ChaCha20-Poly1305 and XChaCha20-Poly1305.

In July 2018, the expert on cryptography Daniel J. Bernstein (Daniel J. Bernstein) published the djbsort library. It is designed for cryptographic systems and encryption algorithms and speeds up the sorting of arrays of integers.

Nvidia to Open MDL SDK Source Code

As reported, this set of tools integrates the precise look and feel of real-world materials into rendering applications
15 August 2018   104

NVIDIA opened the source code of the Material Definition Language SDK. This tool kit is designed for transferring material parameters to any application for drawing 3D graphics. The tools will allow developers to use more applications for rendering and transfer projects to the Android and iOS platforms.

As an example, the company introduced fabric materials created in Allegorithmic Substance Designer. They can be saved in the library and quickly transferred to the Adobe Dimension CC application. The tools were also introduced into Unreal Studio 4.20 from Epic Games, designed to import 3D models into the Unreal Engine.

Being able to use a single material definition, like NVIDIA’s MDL, across multiple applications and render engines is a huge benefit to the end-user. Now that we’ve added MDL support to Unreal Studio, our enterprise customers can see their material representations converted to real time in Unreal Engine without baking every parameter. This means their creative intent can be carried to new forms of expression.

Ken Pimentel

Senior product manager of the Enterprise team, Epic Games

The tool kit also contains components for loading, checking and editing material parameters and converting them into PTX and LLVM-IR formats. Get more info at GitHub