mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
All tests passed
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
#include <gmssl/hex.h>
|
||||
#include <gmssl/digest.h>
|
||||
#include <gmssl/hash_drbg.h>
|
||||
#include <gmssl/error.h>
|
||||
|
||||
|
||||
#define EntropyInput "212956390783381dbfc6362dd0da9a09"
|
||||
@@ -114,10 +115,10 @@ int main(void)
|
||||
printf("ok\n");
|
||||
}
|
||||
|
||||
|
||||
hash_drbg_reseed(&drbg, pr1, pr1_len, NULL, 0);
|
||||
hash_drbg_generate(&drbg, NULL, 0, 640/8, out);
|
||||
|
||||
|
||||
hash_drbg_reseed(&drbg, pr2, pr2_len, NULL, 0);
|
||||
hash_drbg_generate(&drbg, NULL, 0, 640/8, out);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user