mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
GOST R 34.10 param sets
This commit is contained in:
parent
5dfb7cb938
commit
831c835106
2 changed files with 80 additions and 10 deletions
12
Signature.h
12
Signature.h
|
@ -443,6 +443,18 @@ namespace crypto
|
|||
}
|
||||
|
||||
// ГОСТ Р 34.10-2001
|
||||
|
||||
enum GOSTR3410ParamSet
|
||||
{
|
||||
eGOSTR3410CryptoProA = 0, // 1.2.643.2.2.35.1
|
||||
eGOSTR3410CryptoProB, // 1.2.643.2.2.35.2
|
||||
eGOSTR3410CryptoProC, // 1.2.643.2.2.35.3
|
||||
//eGOSTR3410CryptoProXchA, // 1.2.643.2.2.36.0
|
||||
//eGOSTR3410CryptoProXchB, // 1.2.643.2.2.36.1
|
||||
// XchA = A, XchB = C
|
||||
eGOSTR3410NumParamSets
|
||||
};
|
||||
|
||||
const size_t GOSTR3410_PUBLIC_KEY_LENGTH = 64;
|
||||
const size_t GOSTR3410_SIGNATURE_LENGTH = 64;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue