From f981c86c69b9ee249b143791fe6fb9e2daf5dc5b Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 25 Dec 2018 10:54:42 -0500 Subject: [PATCH] Update documentation --- xed25519.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/xed25519.h b/xed25519.h index e9211aa2..48b0677c 100644 --- a/xed25519.h +++ b/xed25519.h @@ -205,9 +205,9 @@ public: /// OID used by SSH, OIDs specified in draft-josefsson-pkix-newcurves, /// and OIDs specified in draft-ietf-curdle-pkix. /// \details By default BERDecodeAndCheckAlgorithmID() accepts an - /// OID set by the user, ASN1::curve25519() and ASN1::X25519(). - /// ASN1::curve25519() is generic and says "this key is valid for - /// curve25519 operations". ASN1::X25519() is specific and says + /// OID set by the user, ASN1::curve25519() and ASN1::X25519(). + /// ASN1::curve25519() is generic and says "this key is valid for + /// curve25519 operations". ASN1::X25519() is specific and says /// "this key is valid for x25519 key exchange." void BERDecodeAndCheckAlgorithmID(BufferedTransformation& bt); @@ -391,9 +391,9 @@ struct ed25519PrivateKey : public PKCS8PrivateKey /// OID used by SSH, OIDs specified in draft-josefsson-pkix-newcurves, /// and OIDs specified in draft-ietf-curdle-pkix. /// \details By default BERDecodeAndCheckAlgorithmID() accepts an - /// OID set by the user, ASN1::curve25519() and ASN1::Ed25519(). - /// ASN1::curve25519() is generic and says "this key is valid for - /// curve25519 operations". ASN1::Ed25519() is specific and says + /// OID set by the user, ASN1::curve25519() and ASN1::Ed25519(). + /// ASN1::curve25519() is generic and says "this key is valid for + /// curve25519 operations". ASN1::Ed25519() is specific and says /// "this key is valid for ed25519 signing." void BERDecodeAndCheckAlgorithmID(BufferedTransformation& bt); @@ -574,9 +574,9 @@ struct ed25519PublicKey : public X509PublicKey /// OID used by SSH, OIDs specified in draft-josefsson-pkix-newcurves, /// and OIDs specified in draft-ietf-curdle-pkix. /// \details By default BERDecodeAndCheckAlgorithmID() accepts an - /// OID set by the user, ASN1::curve25519() and ASN1::Ed25519(). - /// ASN1::curve25519() is generic and says "this key is valid for - /// curve25519 operations". ASN1::Ed25519() is specific and says + /// OID set by the user, ASN1::curve25519() and ASN1::Ed25519(). + /// ASN1::curve25519() is generic and says "this key is valid for + /// curve25519 operations". ASN1::Ed25519() is specific and says /// "this key is valid for ed25519 signing." void BERDecodeAndCheckAlgorithmID(BufferedTransformation& bt);