Documentation ¶
Index ¶
- func KemDecapsulate(privKey *rsa.PrivateKey, EK []byte, kdfParams KDFParams) ([]byte, error)
- func KemEncapsulate(pubKey *rsa.PublicKey, K []byte, kdfParams KDFParams) ([]byte, error)
- func PrivateKeyFromPem(p []byte) (*rsa.PrivateKey, error)
- func PublicKeyFromPem(p []byte) (*rsa.PublicKey, error)
- type KDFParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KemDecapsulate ¶
func KemEncapsulate ¶
Implement sender's operations as described in RFC5990 A.2
func PrivateKeyFromPem ¶
func PrivateKeyFromPem(p []byte) (*rsa.PrivateKey, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.