KGC_TEST/SIG_AND_VERIFY/params.txt

33 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

char str_sa_A[] = "A83FADCF99E5F576F9E3C93022BDE2C9A1DCFA9CAE78AEC06FA166BEE4B2DB06";
char str_Q_A_x[]= "ADB8A74356BB524EE4BCB37E990062007565A563C9C66A6CB9D503B4B9F008EE";
char str_Q_A_y[]= "33D21F33EC4A52C1BBA230C0839EF660D0EA2B3040FE3320F250E1C905FB6D57";
char str_PK_pub_x[]= "1980F6B7C93CE23B6D54F7116A11A700DEEDB355FD7F0CF518CC43CADEB92D33";
char str_PK_pub_y[]= "DE17316AC929C6DA20117C60AF924CBA98F102D054B34EC0F657CE616590E222";
用户ID
char* IDA = "1234567890111213141516171819202122232425";
kgc给出的基点
char str_P_P_x[]= "79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798";
char str_P_P_y[]= "483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8";
用户私钥:
char str_sa_A[] = "A83FADCF99E5F576F9E3C93022BDE2C9A1DCFA9CAE78AEC06FA166BEE4B2DB06";
用户公钥:
char str_Q_A_x[]= "ADB8A74356BB524EE4BCB37E990062007565A563C9C66A6CB9D503B4B9F008EE";
char str_Q_A_y[]= "33D21F33EC4A52C1BBA230C0839EF660D0EA2B3040FE3320F250E1C905FB6D57";
kgc公钥
char str_PK_pub_x[]= "1980F6B7C93CE23B6D54F7116A11A700DEEDB355FD7F0CF518CC43CADEB92D33";
char str_PK_pub_y[]= "DE17316AC929C6DA20117C60AF924CBA98F102D054B34EC0F657CE616590E222";
#include "miracl.h"
#include "mirdef.h"
#include "hash.h"
#include "kgc.h"
#include "utils.h"
#include "ecurve.h"
#include "sign.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>