Skip to content

Commit bcb728b

Browse files
committed
simplify comments
1 parent b2e5cde commit bcb728b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Kp2aPasskey.Core/PasskeyCryptoHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ private static CBORObject ConvertRsaPublicKeyToMap(IPublicKey rsaPublicKey)
378378
return CBORObject.NewMap()
379379
.Add(CoseKeyKeytype, CoseKtyRsa)
380380
.Add(CoseKeyAlgorithm, (int)CoseAlgRs256)
381-
.Add(CoseKeyCurve, n!) // n: modulus (reusing CRV label per COSE spec for RSA)
382-
.Add(CoseKeyX, e!); // e: exponent (reusing X label per COSE spec for RSA)
381+
.Add(CoseKeyCurve, n!) // n: modulus
382+
.Add(CoseKeyX, e!); // e: exponent
383383
}
384384

385385
throw new ArgumentException("Failed to extract RSA key specification");

0 commit comments

Comments
 (0)