Skip to content

Commit

Permalink
Merge pull request #296 from dajiaji/update-dependencies-1_2_6
Browse files Browse the repository at this point in the history
Update dependencies.
  • Loading branch information
dajiaji authored Jan 28, 2024
2 parents f997fa1 + ccc7ed8 commit 61332ac
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/aeads/chacha20Poly1305.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @ts-ignore: for "npm:"
import { chacha20poly1305 } from "npm:@noble/[email protected].0/chacha";
import { chacha20poly1305 } from "npm:@noble/[email protected].1/chacha";

import type { AeadEncryptionContext } from "../interfaces/aeadEncryptionContext.ts";
import type { AeadInterface } from "../interfaces/aeadInterface.ts";
Expand Down
4 changes: 2 additions & 2 deletions src/kdfs/hkdfSha256.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-ignore: for "npm:"
import { hmac } from "npm:@noble/[email protected].2/hmac";
import { hmac } from "npm:@noble/[email protected].3/hmac";
// @ts-ignore: for "npm:"
import { sha256 } from "npm:@noble/[email protected].2/sha256";
import { sha256 } from "npm:@noble/[email protected].3/sha256";

import { HkdfSha256Native } from "./hkdf.ts";

Expand Down
4 changes: 2 additions & 2 deletions src/kdfs/hkdfSha384.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-ignore: for "npm:"
import { hmac } from "npm:@noble/[email protected].2/hmac";
import { hmac } from "npm:@noble/[email protected].3/hmac";
// @ts-ignore: for "npm:"
import { sha384 } from "npm:@noble/[email protected].2/sha512";
import { sha384 } from "npm:@noble/[email protected].3/sha512";

import { HkdfSha384Native } from "./hkdf.ts";

Expand Down
4 changes: 2 additions & 2 deletions src/kdfs/hkdfSha512.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-ignore: for "npm:"
import { hmac } from "npm:@noble/[email protected].2/hmac";
import { hmac } from "npm:@noble/[email protected].3/hmac";
// @ts-ignore: for "npm:"
import { sha512 } from "npm:@noble/[email protected].2/sha512";
import { sha512 } from "npm:@noble/[email protected].3/sha512";

import { HkdfSha512Native } from "./hkdf.ts";

Expand Down
2 changes: 1 addition & 1 deletion src/kems/primitives/kyber/kyberBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
shake128,
shake256,
// @ts-ignore: for "npm:"
} from "npm:@noble/[email protected].2/sha3";
} from "npm:@noble/[email protected].3/sha3";

import { N, NTT_ZETAS, NTT_ZETAS_INV, Q, Q_INV } from "./consts.ts";
import { KyberError } from "./errors.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/kems/primitives/kyber/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @ts-ignore: for "npm:"
import { shake256 } from "npm:@noble/[email protected].2/sha3";
import { shake256 } from "npm:@noble/[email protected].3/sha3";

export function byte(n: number): number {
return n % 256;
Expand Down

0 comments on commit 61332ac

Please sign in to comment.