summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/kdf.d.ts
diff options
context:
space:
mode:
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;