Giter Club home page Giter Club logo

x448 - curve448 ECDH

Yawning Angel (yawning at schwanenlied dot me)

See: https://www.rfc-editor.org/rfc/rfc7748.txt

If you're familiar with how to use golang.org/x/crypto/curve25519, you will be right at home with using x448, since the functions are the same. Generate a random secret key, ScalarBaseMult() to get the public key, etc etc etc.

On 64-bit targets the underlying field arithmetic uses output taken from the fiat-crypto project. The 32-bit version and the actual ECDH implementation are based off Michael Hamburg's portable x448 implementation.

Notes:

  • The build-tag system used to determine which version to build is sub-optimal in the extreme (golang/go#33388)

  • Unless your system has a constant-time 32x32=64-bit or 64x64=128-bit multiply (depending on backend), this is unsafe to use. Most modern CPUs provide something adequate, with the notable exception of WASM.

  • As a matter of taste, and because it is prefered when implementing Noise, the optional all-zero check is not done.

Montgomery Edwards⁴⁴⁸'s Projects

ponzu icon ponzu

An archive format for a modern era

project icon project

Cross-project utilities, scripts, etc.

reqwest icon reqwest

An easy and powerful Rust HTTP Client

rfc7748_precomputed icon rfc7748_precomputed

Updated! (Dec2-2019) This is a C-language software library that provides optimized implementations of the Diffie-Hellman functions known as X25519 and X448 (RFC-7748) for 64-bit architectures.

senml icon senml

Disco SenML is cisco/senml with bugfixes. Programs are 4 MB smaller and SenML CBOR complies with RFC 8428.

stats icon stats

A C++ header-only library of statistical distribution functions.

svgcleaner icon svgcleaner

svgcleaner could help you to clean up your SVG files from the unnecessary data.

ublock icon ublock

uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.

urkel icon urkel

Cryptographically provable database (i.e. an urkel tree)

webappsec icon webappsec

Web Application Security Working Group repo

webauthn icon webauthn

WebAuthn server library decoupled from http for easy intergration, provides WebAuthn registration and authentication for clients using FIDO2 keys, FIDO U2F keys, TPM, etc.

webauthn-demo icon webauthn-demo

WebAuthn server demo for registration and authentication (Go/Golang)

workflows icon workflows

:shield: Secure Github Actions Workflows: self-contained detection of code coverage regressions without downloading 3rd-party scripts.

zipline icon zipline

Zipline, a Pythonic Algorithmic Trading Library

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.