Skip to content

Commit

Permalink
Add test vectors
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Deshpande <[email protected]>
  • Loading branch information
yogeshbdeshpande committed Apr 30, 2024
1 parent a49d25e commit 0a38925
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
26 changes: 26 additions & 0 deletions scheme/cca-realm/corim_test_vectors.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package cca_realm

// automatically generated from:
// comidCcaRealm.json and corimCcaRealm.json
var unsignedCorimcomidCcaRealm = `
a500505c57e8f446cd421b91c908cf93e13cfc01815901eed901faa40065
656e2d474201a1005043bbe37f2e614b33aed353cff1428b160281a30074
576f726b6c6f616420436c69656e74204c74642e01d820781e6874747073
3a2f2f776f726b6c6f6164636c69656e742e6578616d706c650283000102
04a1008182a200a200d82550cd1f0e5526f9460db9d8f7fde171787c0173
576f726b6c6f616420436c69656e74204c746401d9023058304284b5694c
a6c0d2cf4789a0b95ac8025c818de52304364be7cd2981b2d2edc685b322
277ec25819962413d8c9b2c1f581a101a10ea56372696d81820758304284
b5694ca6c0d2cf4789a0b95ac8025c818de52304364be7cd2981b2d2edc6
85b322277ec25819962413d8c9b2c1f56472656d3081820758302107bbe7
61fca52d95136a1354db7a4dd57b1b26be0d3da71d9eb23986b34ba615ab
f6514cf35e5a9ea55a032d068a786472656d3181820758302507bbe761fc
a52d95136a1354db7a4dd57b1b26be0d3da71d9eb23986b34ba615abf651
4cf35e5a9ea55a032d068a786472656d3281820758303107bbe761fca52d
95136a1354db7a4dd57b1b26be0d3da71d9eb23986b34ba615abf6514cf3
5e5a9ea55a032d068a786472656d3381820758303507bbe761fca52d9513
6a1354db7a4dd57b1b26be0d3da71d9eb23986b34ba615abf6514cf35e5a
9ea55a032d068a780381781a687474703a2f2f61726d2e636f6d2f636361
2f7265616c6d2f3104a200c11a61ce480001c11a695467800581a3006941
434d45204c74642e01d8206c61636d652e6578616d706c65028101
`
3 changes: 1 addition & 2 deletions scheme/cca-realm/test/corim/build-test-vectors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ generate_go_test_vector () {
CORIM_TEMPLATE="corimCcaRealm.json"

COMID_TEMPLATES=
COMID_TEMPLATES="${COMID_TEMPLATES} ComidCcaRealm"
# COMID_TEMPLATES="${COMID_TEMPLATES} ComidParsecCcaMultRefVal"
COMID_TEMPLATES="${COMID_TEMPLATES} comidCcaRealm"


TV_DOT_GO=${TV_DOT_GO?must be set in the environment.}
Expand Down

0 comments on commit 0a38925

Please sign in to comment.