Skip to content

Commit

Permalink
Merge pull request #161 from wiktor-k/fix-docs
Browse files Browse the repository at this point in the history
elliptic_curve: Fix broken references
  • Loading branch information
wiktor-k committed Sep 12, 2023
2 parents b1bbcc4 + 94b0267 commit f3f5554
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cryptoki/src/mechanism/elliptic_curve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::ptr;
/// ANSI X9.63, where each party contributes one key pair all using
/// the same EC domain parameters.
///
/// This structure wraps a CK_ECDH1_DERIVE_PARAMS structure.
/// This structure wraps a `CK_ECDH1_DERIVE_PARAMS` structure.
#[derive(Copy, Debug, Clone)]
#[repr(C)]
pub struct Ecdh1DeriveParams<'a> {
Expand Down Expand Up @@ -43,9 +43,9 @@ impl<'a> Ecdh1DeriveParams<'a> {
///
/// * `public_data` - The other party's public key. A token MUST be able
/// to accept this value encoded as a raw octet string (as per section
/// A.5.2 of [ANSI X9.62]). A token MAY, in addition, support accepting
/// this value as a DER-encoded ECPoint (as per section E.6 of [ANSI
/// X9.62]) i.e. the same as a CKA_EC_POINT encoding. The calling
/// A.5.2 of ANSI X9.62). A token MAY, in addition, support accepting
/// this value as a DER-encoded `ECPoint` (as per section E.6 of ANSI
/// X9.62) i.e. the same as a `CKA_EC_POINT` encoding. The calling
/// application is responsible for converting the offered public key to the
/// compressed or uncompressed forms of these encodings if the token does
/// not support the offered form.
Expand Down

0 comments on commit f3f5554

Please sign in to comment.