Skip to content

Commit 85c20d5

Browse files
committed
Remove *Native from @hpke/core.
1 parent 65cc81f commit 85c20d5

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

npm-packages/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x/core/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export { SUITE_ID_HEADER_KEM } from "./src/interfaces/kemInterface.ts";
2525
export { Aes128Gcm, Aes256Gcm } from "./src/aeads/aesGcm.ts";
2626
export { ExportOnly } from "./src/aeads/exportOnly.ts";
2727
export {
28-
HkdfSha256Native,
28+
// HkdfSha256Native,
2929
HkdfSha384Native,
3030
HkdfSha512Native,
3131
} from "./src/kdfs/hkdf.ts";

x/dhkem-x25519/src/hkdfSha256.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { hmac } from "npm:@noble/[email protected]/hmac";
33
// @ts-ignore: for "npm:"
44
import { sha256 } from "npm:@noble/[email protected]/sha256";
55

6-
import { HkdfSha256Native } from "@hpke/core";
6+
import { HkdfSha256 as HkdfSha256Native } from "@hpke/core";
77

88
export class HkdfSha256 extends HkdfSha256Native {
99
public override async extract(

x/hpke-js/test/cipherSuiteNative.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import {
1111
DhkemP384HkdfSha384,
1212
DhkemP521HkdfSha512,
1313
ExportOnly,
14-
HkdfSha256Native,
15-
HkdfSha384Native,
16-
HkdfSha512Native,
14+
HkdfSha256 as HkdfSha256Native,
15+
HkdfSha384 as HkdfSha384Native,
16+
HkdfSha512 as HkdfSha512Native,
1717
InvalidParamError,
1818
KdfId,
1919
KemId,

0 commit comments

Comments
 (0)