|
|
@@ -43,24 +43,6 @@ type
|
|
|
function GetPointCompression: Boolean; inline;
|
|
|
public
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// Set the IES engine parameters.
|
|
|
- /// </summary>
|
|
|
- /// <param name="derivation">
|
|
|
- /// the optional derivation vector for the KDF.
|
|
|
- /// </param>
|
|
|
- /// <param name="encoding">
|
|
|
- /// the optional encoding vector for the KDF.
|
|
|
- /// </param>
|
|
|
- /// <param name="macKeySize">
|
|
|
- /// the key size (in bits) for the MAC.
|
|
|
- /// </param>
|
|
|
- /// <param name="CipherKeySize">
|
|
|
- /// the key size (in bits) for the block cipher.
|
|
|
- /// </param>
|
|
|
- constructor Create(const derivation, encoding: TCryptoLibByteArray;
|
|
|
- macKeySize, CipherKeySize: Int32); overload;
|
|
|
-
|
|
|
/// <summary>
|
|
|
/// Set the IES engine parameters.
|
|
|
/// </summary>
|
|
|
@@ -81,7 +63,7 @@ type
|
|
|
/// </param>
|
|
|
constructor Create(const derivation, encoding: TCryptoLibByteArray;
|
|
|
macKeySize, CipherKeySize: Int32;
|
|
|
- const nonce: TCryptoLibByteArray); overload;
|
|
|
+ const nonce: TCryptoLibByteArray = Nil); overload;
|
|
|
|
|
|
/// <summary>
|
|
|
/// Set the IES engine parameters.
|
|
|
@@ -152,12 +134,6 @@ begin
|
|
|
Result := FusePointCompression;
|
|
|
end;
|
|
|
|
|
|
-constructor TIESWithCipherParameters.Create(const derivation,
|
|
|
- encoding: TCryptoLibByteArray; macKeySize, CipherKeySize: Int32);
|
|
|
-begin
|
|
|
- Create(derivation, encoding, macKeySize, CipherKeySize, Nil);
|
|
|
-end;
|
|
|
-
|
|
|
constructor TIESWithCipherParameters.Create(const derivation,
|
|
|
encoding: TCryptoLibByteArray; macKeySize, CipherKeySize: Int32;
|
|
|
const nonce: TCryptoLibByteArray);
|