Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f8e9316
Add experimental HPKE cipher suite descriptors
vcsjones Sep 5, 2026
68258cf
Complete HpkeSuite metadata and public API
vcsjones Sep 5, 2026
939cd7d
Add managed HPKE foundation
vcsjones Sep 5, 2026
e87f872
Split managed HPKE KEM adapters
vcsjones Sep 5, 2026
f57271e
Add HPKE key factory APIs
vcsjones Sep 6, 2026
fa21cda
Implement HPKE decapsulation key export
vcsjones Sep 7, 2026
d035fc0
Implement HPKE encapsulation key export
vcsjones Sep 7, 2026
f589d5a
Checkpoint HPKE Seal and managed AEAD adapters
vcsjones Sep 7, 2026
e621f1c
Add HPKE KEM encapsulation and key schedule adapters
vcsjones Sep 8, 2026
ce437ba
Implement HPKE single-shot sealing
vcsjones Sep 8, 2026
7ea28a5
Use stack buffers for fixed-size HPKE intermediates
vcsjones Sep 8, 2026
576af50
Implement HPKE single-shot opening
vcsjones Sep 8, 2026
6e25e20
Add abstract HPKE sender and recipient contexts
vcsjones Sep 8, 2026
1b0907f
Implement stateful HPKE sender creation and sealing
vcsjones Sep 8, 2026
c2ff6cd
Implement stateful HPKE recipient creation and opening
vcsjones Sep 8, 2026
cfc2d3b
Implement HPKE PSK sender and recipient modes
vcsjones Sep 8, 2026
8f4fd22
Implement P-521 DHKEM support for HPKE
vcsjones Sep 8, 2026
a798ae5
Implement HPKE context secret export
vcsjones Sep 9, 2026
4a10e1d
Implement HPKE key import APIs
vcsjones Sep 9, 2026
6f8aa63
Reject concurrent HPKE sender sealing
vcsjones Sep 9, 2026
4152869
Validate HPKE sender buffer overlaps
vcsjones Sep 9, 2026
9d8e8b6
Complete HPKE single-shot API documentation
vcsjones Sep 9, 2026
0961d98
Fix HPKE target wiring in Microsoft.Bcl.Cryptography
vcsjones Sep 9, 2026
6a80474
Validate HPKE Open and Export buffer overlaps
vcsjones Sep 9, 2026
32f473c
Refine HPKE validation order and temporary buffers
vcsjones Sep 9, 2026
850ea5f
Remove redundant HPKE key-schedule output staging
vcsjones Sep 10, 2026
b26bfdd
Stop clearing non-secret HPKE buffers
vcsjones Sep 10, 2026
f0afdec
Derive HPKE KEM suite IDs from enum values
vcsjones Sep 10, 2026
9badba1
Assert the internal HPKE export-length invariant
vcsjones Sep 10, 2026
68535fa
Reuse the KDF adapter across HPKE key operations
vcsjones Sep 10, 2026
60e3a09
Stream HPKE SHAKE inputs through public APIs
vcsjones Sep 10, 2026
52c1bc7
Merge remote-tracking branch 'ms/main' into hpke-impl
vcsjones Sep 10, 2026
6624230
Add shared HPKE contract tests
vcsjones Sep 11, 2026
eac840c
Add a representative HPKE test-vector corpus
vcsjones Sep 11, 2026
7dad5f4
Bound HPKE test exporter contexts to 1024 bytes
vcsjones Sep 11, 2026
b2b0339
Add shared HPKE sender and recipient contract tests
vcsjones Sep 11, 2026
af31501
Add shared HPKE key tests and prune legacy tests
vcsjones Sep 12, 2026
a4318a9
Add shared HPKE implementation tests
vcsjones Sep 12, 2026
c37a857
Simplify HPKE recipient documentation
vcsjones Sep 12, 2026
93cf8e5
Simplify HPKE sender and suite documentation
vcsjones Sep 12, 2026
627779e
Separate HPKE static validation from instance contracts
vcsjones Sep 12, 2026
2d362f9
Refine HPKE export tests and browser build exclusions
vcsjones Sep 12, 2026
befd9b0
Add comment clarifying why OpenCore does not have a concurrency guard
vcsjones Sep 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add comment clarifying why OpenCore does not have a concurrency guard
  • Loading branch information
vcsjones committed Sep 12, 2026
commit befd9b0084556f4d2d56e56204592aefe513679d
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ protected override void OpenCore(
Span<byte> plaintext,
ReadOnlySpan<byte> associatedData)
{
// Unlike Seal we do not have a concurrency block here. Seal needs one to prevent nonce repetition. In
// Open a repeated nonce does not result in loss of confidentiality.
if (_sequenceNumber == ulong.MaxValue)
{
throw new CryptographicException(SR.Cryptography_HpkeMessageLimitReached);
Expand Down
Loading