TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Mundane: Rust cryptography library backed by BoringSSL

120 pointsby briansmithover 6 years ago

6 comments

QuinnWiltonover 6 years ago
The repo includes a DESIGN.md file that describes the design motivations for the library, and it&#x27;s definitely worth reading. It goes through a few really powerful techniques for writing misuse-resistant APIs, and I think some of its advice is applicable to good software engineering in general.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;mundane&#x2F;blob&#x2F;master&#x2F;DESIGN.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;mundane&#x2F;blob&#x2F;master&#x2F;DESIGN.md</a><p>In particular, their use of the type system to expose opaque types that only allow meaningful operations on them is something that I&#x27;ve seen used to great effect in other statically typed languages, like Haskell.
评论 #18399463 未加载
评论 #18397450 未加载
评论 #18396588 未加载
mrathover 6 years ago
There is also ring[1] which is somewhat based on BoringSSL. May be their priorities&#x2F;philosophies are different. It is nice to see more crypto libs being developed for Rust.<p>[1]<a href="https:&#x2F;&#x2F;github.com&#x2F;briansmith&#x2F;ring" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;briansmith&#x2F;ring</a>
评论 #18396476 未加载
Animatsover 6 years ago
The BoringSSL build system has the following dependencies:<p>- CMake 2.8.11 or later<p>- Perl 5.6.1 or later.<p>- Either Make or Ninja.<p>- A C compiler<p>- Go 1.11 or later<p>- To build the x86 and x86_64 assembly, your assembler must support AVX2 instructions and MOVBE.<p>It&#x27;s time for a pure Rust replacement for OpenSSL. This is a shim to call a Google fork of OpenSSL.
评论 #18398359 未加载
mlindnerover 6 years ago
Well this is indeed Mundane. This is just a Rust frontend to an OpenSSL fork. There&#x27;s nothing of major interest here and not sure why it&#x27;s getting attention. There are already Rust frontends to OpenSSL.
polskibusover 6 years ago
Is rust getting more popular inside Google in production use?
psergeantover 6 years ago
From the install notes, can someone tell me why BoringSSL needs Perl to build?
评论 #18397567 未加载
评论 #18398022 未加载
评论 #18402468 未加载