Lines Matching refs:cc
61 int cc; in test_attest_v1() local
90 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
91 report(cc == 1 && uvcb.header.rc == 0x101, "invalid continuation token"); in test_attest_v1()
95 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
96 report(cc == 1 && uvcb.header.rc == 0x102, "invalid user data size"); in test_attest_v1()
100 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
101 report(cc == 1 && uvcb.header.rc == 0x103, "invalid address arcb"); in test_attest_v1()
107 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
108 report(cc == 1 && uvcb.header.rc == 0x106, "unsupported version"); in test_attest_v1()
112 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
113 report(cc == 1 && uvcb.header.rc == 0x107, "arcb too big"); in test_attest_v1()
122 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
123 report(cc == 1 && uvcb.header.rc == 0x107, "too many nks for arcb"); in test_attest_v1()
127 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
128 report(cc == 1 && uvcb.header.rc == 0x108, "invalid num key slots"); in test_attest_v1()
136 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
137 report(cc == 1 && uvcb.header.rc == 0x109, "encrypted size too big"); in test_attest_v1()
139 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
140 report(cc == 1 && uvcb.header.rc == 0x109, "encrypted size too small"); in test_attest_v1()
144 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
145 report(cc == 1 && uvcb.header.rc == 0x10a, "invalid flag"); in test_attest_v1()
149 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
150 report(cc == 1 && uvcb.header.rc == 0x10b, "invalid measurement algorithm"); in test_attest_v1()
153 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
154 report(cc == 1 && uvcb.header.rc == 0x10c, "unable unseal"); in test_attest_v1()
157 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
158 report(cc == 1 && uvcb.header.rc == 0x10d, "invalid measurement size"); in test_attest_v1()
162 cc = uv_call(0, (uint64_t)&uvcb); in test_attest_v1()
163 report(cc == 1 && uvcb.header.rc == 0x10e, "invalid additional size"); in test_attest_v1()
177 int cc; in test_attest() local
185 cc = uv_call(0, (uint64_t)&uvcb); in test_attest()
186 report(cc && uvcb.header.rc == UVC_RC_INV_LEN, "uvcb too small"); in test_attest()
190 cc = uv_call(0, (uint64_t)&uvcb); in test_attest()
191 report(cc && uvcb.header.rc == UVC_RC_INV_LEN, "uvcb too large"); in test_attest()