Skip to content

Commit be61df4

Browse files
authored
Fill gaps in documentation (#465)
1 parent dbc1e79 commit be61df4

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

aws-lc-rs/src/agreement.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,9 @@ impl Debug for PublicKey {
562562
}
563563

564564
impl AsRef<[u8]> for PublicKey {
565+
/// Serializes the public key in an uncompressed form (X9.62) using the
566+
/// Octet-String-to-Elliptic-Curve-Point algorithm in
567+
/// [SEC 1: Elliptic Curve Cryptography, Version 2.0].
565568
fn as_ref(&self) -> &[u8] {
566569
&self.public_key[0..self.len]
567570
}

aws-lc-rs/src/ed25519.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ pub struct PublicKey([u8; ED25519_PUBLIC_KEY_LEN]);
130130

131131
impl AsRef<[u8]> for PublicKey {
132132
#[inline]
133+
/// Returns the "raw" bytes of the ED25519 public key
133134
fn as_ref(&self) -> &[u8] {
134135
&self.0
135136
}

aws-lc-rs/src/rsa/key.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ impl Debug for PublicKey {
343343
}
344344

345345
impl AsRef<[u8]> for PublicKey {
346+
/// DER encode a RSA public key to (RFC 8017) `RSAPublicKey` structure.
346347
fn as_ref(&self) -> &[u8] {
347348
self.key.as_ref()
348349
}

book/src/requirements/windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
|---------------------------|--------------------------------------------|-----------------------------------------|-------------------|
55
| `x86_64-pc-windows-msvc` | C/C++ Compiler, CMake & NASM | C/C++ Compiler, CMake, NASM, Go & Ninja | **_Yes_** |
66
| `x86_64-pc-windows-gnu` | C/C++ Compiler, CMake & NASM | **Not Supported** | **_Yes_** |
7-
| `aarch64-pc-windows-msvc` | C/C++ Compiler (`clang-cl`), CMake & Ninja | **Not Supported** | **_Yes_** |
7+
| `aarch64-pc-windows-msvc` | C/C++ Compiler (MSVC's `clang-cl`) & CMake | **Not Supported** | **_Yes_** |
88
| _Other_ | **Not Supported** | **Not Supported** | N/A |
99

1010
## C/C++ Compiler

0 commit comments

Comments
 (0)