forked from hyperledger-archives/aries-framework-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: BBS+ selective disclosure verifier
Signed-off-by: Dmitriy Kinoshenko <[email protected]> hyperledger-archives#2295
- Loading branch information
Showing
6 changed files
with
440 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
Copyright SecureKey Technologies Inc. All Rights Reserved. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package bbs12381g2pub | ||
|
||
import bls12381 "github.com/kilic/bls12-381" | ||
|
||
type ProofNonce struct { | ||
fr *bls12381.Fr | ||
} | ||
|
||
func ParseProofNonce(proofNonceBytes []byte) (*ProofNonce, error) { | ||
return &ProofNonce{ | ||
frFromOKM(proofNonceBytes), | ||
}, nil | ||
} |
Oops, something went wrong.