summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/kdf.d.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-09-21 15:43:35 -0300
committerSebastian <sebasjm@gmail.com>2022-09-21 15:45:41 -0300
commit5d31803c92ac085d50ab0942a6cf657a6cd9cc4b (patch)
treeb78fd544b3c9b4431d6d00e5ae72156d024a3af8 /packages/taler-util/src/kdf.d.ts
parent2caef6dcf22ec292897ea5fd3dda27a9b48826c5 (diff)
downloadwallet-core-5d31803c92ac085d50ab0942a6cf657a6cd9cc4b.tar.gz
wallet-core-5d31803c92ac085d50ab0942a6cf657a6cd9cc4b.tar.bz2
wallet-core-5d31803c92ac085d50ab0942a6cf657a6cd9cc4b.zip
pretty
Diffstat (limited to 'packages/taler-util/src/kdf.d.ts')
-rw-r--r--packages/taler-util/src/kdf.d.ts24
1 files changed, 20 insertions, 4 deletions
diff --git a/packages/taler-util/src/kdf.d.ts b/packages/taler-util/src/kdf.d.ts
index 80a6da41e..eba1455ff 100644
--- a/packages/taler-util/src/kdf.d.ts
+++ b/packages/taler-util/src/kdf.d.ts
@@ -1,5 +1,21 @@
export declare function sha512(data: Uint8Array): Uint8Array;
-export declare function hmac(digest: (d: Uint8Array) => Uint8Array, blockSize: number, key: Uint8Array, message: Uint8Array): Uint8Array;
-export declare function hmacSha512(key: Uint8Array, message: Uint8Array): Uint8Array;
-export declare function hmacSha256(key: Uint8Array, message: Uint8Array): Uint8Array;
-export declare function kdf(outputLength: number, ikm: Uint8Array, salt: Uint8Array, info: Uint8Array): Uint8Array;
+export declare function hmac(
+ digest: (d: Uint8Array) => Uint8Array,
+ blockSize: number,
+ key: Uint8Array,
+ message: Uint8Array,
+): Uint8Array;
+export declare function hmacSha512(
+ key: Uint8Array,
+ message: Uint8Array,
+): Uint8Array;
+export declare function hmacSha256(
+ key: Uint8Array,
+ message: Uint8Array,
+): Uint8Array;
+export declare function kdf(
+ outputLength: number,
+ ikm: Uint8Array,
+ salt: Uint8Array,
+ info: Uint8Array,
+): Uint8Array;