Add domain parameters for Brainpool curves
This commit is contained in:
parent
8195c1a567
commit
cec4a53c98
@ -655,6 +655,66 @@ cleanup:
|
||||
"FFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148" \
|
||||
"F709A5D03BB5C9B8899C47AEBB6FB71E91386409"
|
||||
|
||||
/*
|
||||
* Domain parameters for brainpoolP256r1 (RFC 5639 3.4)
|
||||
*/
|
||||
#define BP256R1_P \
|
||||
"A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5377"
|
||||
#define BP256R1_A \
|
||||
"7D5A0975FC2C3057EEF67530417AFFE7FB8055C126DC5C6CE94A4B44F330B5D9"
|
||||
#define BP256R1_B \
|
||||
"26DC5C6CE94A4B44F330B5D9BBD77CBF958416295CF7E1CE6BCCDC18FF8C07B6"
|
||||
#define BP256R1_GX \
|
||||
"8BD2AEB9CB7E57CB2C4B482FFC81B7AFB9DE27E1E3BD23C23A4453BD9ACE3262"
|
||||
#define BP256R1_GY \
|
||||
"547EF835C3DAC4FD97F8461A14611DC9C27745132DED8E545C1D54C72F046997"
|
||||
#define BP256R1_N \
|
||||
"A9FB57DBA1EEA9BC3E660A909D838D718C397AA3B561A6F7901E0E82974856A7"
|
||||
|
||||
/*
|
||||
* Domain parameters for brainpoolP384r1 (RFC 5639 3.6)
|
||||
*/
|
||||
#define BP384R1_P \
|
||||
"8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB711" \
|
||||
"23ACD3A729901D1A71874700133107EC53"
|
||||
#define BP384R1_A \
|
||||
"7BC382C63D8C150C3C72080ACE05AFA0C2BEA28E4FB22787139165EFBA91F9" \
|
||||
"0F8AA5814A503AD4EB04A8C7DD22CE2826"
|
||||
#define BP384R1_B \
|
||||
"04A8C7DD22CE28268B39B55416F0447C2FB77DE107DCD2A62E880EA53EEB62" \
|
||||
"D57CB4390295DBC9943AB78696FA504C11"
|
||||
#define BP384R1_GX \
|
||||
"1D1C64F068CF45FFA2A63A81B7C13F6B8847A3E77EF14FE3DB7FCAFE0CBD10" \
|
||||
"E8E826E03436D646AAEF87B2E247D4AF1E"
|
||||
#define BP384R1_GY \
|
||||
"8ABE1D7520F9C2A45CB1EB8E95CFD55262B70B29FEEC5864E19C054FF99129" \
|
||||
"280E4646217791811142820341263C5315"
|
||||
#define BP384R1_N \
|
||||
"8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B31F166E6CAC0425" \
|
||||
"A7CF3AB6AF6B7FC3103B883202E9046565"
|
||||
|
||||
/*
|
||||
* Domain parameters for brainpoolP512r1 (RFC 5639 3.7)
|
||||
*/
|
||||
#define BP512R1_P \
|
||||
"AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA703308" \
|
||||
"717D4D9B009BC66842AECDA12AE6A380E62881FF2F2D82C68528AA6056583A48F3"
|
||||
#define BP512R1_A \
|
||||
"7830A3318B603B89E2327145AC234CC594CBDD8D3DF91610A83441CAEA9863" \
|
||||
"BC2DED5D5AA8253AA10A2EF1C98B9AC8B57F1117A72BF2C7B9E7C1AC4D77FC94CA"
|
||||
#define BP512R1_B \
|
||||
"3DF91610A83441CAEA9863BC2DED5D5AA8253AA10A2EF1C98B9AC8B57F1117" \
|
||||
"A72BF2C7B9E7C1AC4D77FC94CADC083E67984050B75EBAE5DD2809BD638016F723"
|
||||
#define BP512R1_GX \
|
||||
"81AEE4BDD82ED9645A21322E9C4C6A9385ED9F70B5D916C1B43B62EEF4D009" \
|
||||
"8EFF3B1F78E2D0D48D50D1687B93B97D5F7C6D5047406A5E688B352209BCB9F822"
|
||||
#define BP512R1_GY \
|
||||
"7DDE385D566332ECC0EABFA9CF7822FDF209F70024A57B1AA000C55B881F81" \
|
||||
"11B2DCDE494A5F485E5BCA4BD88A2763AED1CA2B2FA8F0540678CD1E0F3AD80892"
|
||||
#define BP512R1_N \
|
||||
"AADD9DB8DBE9C48B3FD4E6AE33C9FC07CB308DB3B3C9D20ED6639CCA703308" \
|
||||
"70553E5C414CA92619418661197FAC10471DB1D381085DDADDB58796829CA90069"
|
||||
|
||||
/*
|
||||
* Set a group using well-known domain parameters
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user