-
Notifications
You must be signed in to change notification settings - Fork 1
/
x25519_dbg_testvec.yml
27 lines (26 loc) · 1.02 KB
/
x25519_dbg_testvec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
########################################################################################
# Example of test vector of X25519.
# Test vector from [https://datatracker.ietf.org/doc/html/rfc7748#section-6.1]
#
# Expected result: 4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742
########################################################################################
input :
# Private key as string
- name : priv
value : 77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a
# Public key as string
- name : pub
value : de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e146f882b4f
rng :
# z coordinate randomization of public key
- name : pub_z_rng
value : 0x0
# group randomization of scalar for first multiplication with not forced value
- name : s_rng_1
value :
# group randomization of scalar for second multiplication
- name : s_rng_2
value : 0xeeee
# random value for random point generation (point splitting countermeasure)
- name : point_gen_rng
value : 0xabcd