Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
2531-crypto-Enhance-EDDSA-handling.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2531-crypto-Enhance-EDDSA-handling.patch of Package erlang
From f5f0824bdf28f532aca8567d084a354d218e6503 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin <ingela@erlang.org> Date: Mon, 12 Apr 2021 14:00:47 +0200 Subject: [PATCH 1/8] crypto: Enhance EDDSA handling Add missing function clause. --- lib/crypto/src/crypto.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/crypto/src/crypto.erl b/lib/crypto/src/crypto.erl index eefa2a4fb1..d917caeae9 100644 --- a/lib/crypto/src/crypto.erl +++ b/lib/crypto/src/crypto.erl @@ -2332,6 +2332,9 @@ format_pkey(rsa, Key) -> map_ensure_int_as_bin(Key); format_pkey(ecdsa, [Key, Curve]) -> {nif_curve_params(Curve), ensure_int_as_bin(Key)}; +format_pkey(eddsa, [PubKey, Curve]) when Curve == ed25519; + Curve == ed448 -> + [ensure_int_as_bin(PubKey), Curve]; format_pkey(dss, Key) -> map_ensure_int_as_bin(Key); format_pkey(_, Key) -> -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor