Skip to content

Commit

Permalink
rsa: WIP comment
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • Loading branch information
Jakuje committed Feb 28, 2024
1 parent 3ffc620 commit aa95a72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ struct OtherPrimeInfo<'a> {
coefficient: DerEncBigUint<'a>,
}

// TODO Is this correct? According to the PKCS#11 specs, for wrapping we should use
// BER-encoded according to PKCS #8’s PrivateKeyInfo ASN.1 type
#[derive(asn1::Asn1Read, asn1::Asn1Write)]
struct RSAPrivateKey<'a> {
version: Version,
Expand Down

0 comments on commit aa95a72

Please sign in to comment.