Click or drag to resize

RngTestDrbgvs Method

Test the RNG for conformance to NIST SP800-90A using the relevant test specified in DRBGVS.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static string TestDrbgvs(
	int returnedBitsLen,
	string entropyInput,
	string nonce,
	string personalizationString,
	string additionalInput1,
	string entropyReseed,
	string additionalInputReseed,
	string additionalInput2
)

Parameters

returnedBitsLen  Int32
Number of bits to be returned from each call to the generate function in the test
entropyInput  String
the EntropyInput value in hex format
nonce  String
the Nonce value in hex format
personalizationString  String
the PersonalizationString value in hex format
additionalInput1  String
the first AdditionalInput value in hex format
entropyReseed  String
the EntropyReseed value in hex format
additionalInputReseed  String
the AdditionalInputReseed value in hex format
additionalInput2  String
the second AdditionalInput value in hex format

Return Value

String
the ReturnedBits as a string in hexadecimal format
Remarks
The test procedure, the input values and the expected output are described in the DRBGVS document. The relevant DRBG mechanism is HMAC_DRBG SHA-512 without prediction resistance. Use the empty string "" to pass a zero-length input. All hex strings must have an even number of characters.
See Also