Lines Matching refs:printf
57 printf("%02X", ((uint8_t *)data)[i]); in hexdump_key()
59 printf("\n"); in hexdump_key()
111 printf("uECC_compute_public_key() failed\n"); in test_set1()
114 printf("Computed public key differs from test data!\n"); in test_set1()
115 printf("Computed key = "); in test_set1()
117 printf("Expected ke = "); in test_set1()
123 printf("shared_secret() failed (1)\n"); in test_set1()
128 printf("shared_secret() failed (2)\n"); in test_set1()
133 printf("Shared secrets are not identical!\n"); in test_set1()
134 printf("Shared secret 1 = "); in test_set1()
136 printf("Shared secret 2 = "); in test_set1()
138 printf("Expected secret = "); hexdump_key(secret1, uECC_BYTES); in test_set1()
162 printf("uECC_compute_public_key() failed\n"); in test_set2()
166 printf("Computed public key differs from test data!\n"); in test_set2()
167 printf("Computed key = "); in test_set2()
169 printf("Expected key = "); in test_set2()
175 printf("shared_secret() failed (1)\n"); in test_set2()
180 printf("shared_secret() failed (2)\n"); in test_set2()
185 printf("Shared secrets are not identical!\n"); in test_set2()
186 printf("Shared secret 1 = "); in test_set2()
188 printf("Shared secret 2 = "); in test_set2()
190 printf("Expected secret = "); hexdump_key(secret1, uECC_BYTES); in test_set2()
205 printf("uECC_make_key() failed\n"); in test_generate()
210 printf("d: "); hexdump_key(d, uECC_BYTES); in test_generate()
211 printf("X: "); hexdump_key(&q[00], uECC_BYTES); in test_generate()
212 printf("Y: "); hexdump_key(&q[16], uECC_BYTES); in test_generate()
216 printf("uECC_valid_public_key() == 0 -> generated public key invalid\n"); in test_generate()