Home
last modified time | relevance | path

Searched refs:keys_dir (Results 1 – 9 of 9) sorted by relevance

/external/vboot_reference/tests/
Dvb21_host_keyblock_tests.c21 static void keyblock_tests(const char *keys_dir) in keyblock_tests() argument
39 sprintf(fname, "%s/key_rsa2048.keyb", keys_dir); in keyblock_tests()
45 sprintf(fname, "%s/key_rsa4096.keyb", keys_dir); in keyblock_tests()
51 sprintf(fname, "%s/key_rsa8192.keyb", keys_dir); in keyblock_tests()
57 sprintf(fname, "%s/key_rsa4096.pem", keys_dir); in keyblock_tests()
64 sprintf(fname, "%s/key_rsa8192.pem", keys_dir); in keyblock_tests()
Dvb21_host_fw_preamble_tests.c28 static void preamble_tests(const char *keys_dir) in preamble_tests() argument
49 sprintf(fname, "%s/key_rsa4096.keyb", keys_dir); in preamble_tests()
55 sprintf(fname, "%s/key_rsa4096.pem", keys_dir); in preamble_tests()
Dvb20_common2_tests.c138 int test_algorithm(int key_algorithm, const char *keys_dir) in test_algorithm() argument
149 sprintf(filename, "%s/key_rsa%d.pem", keys_dir, rsa_len); in test_algorithm()
156 sprintf(filename, "%s/key_rsa%d.keyb", keys_dir, rsa_len); in test_algorithm()
Dvb21_host_sig_tests.c166 static int test_algorithm(const struct alg_combo *combo, const char *keys_dir) in test_algorithm() argument
174 sprintf(pemfile, "%s/key_rsa%d.pem", keys_dir, rsa_bits); in test_algorithm()
175 sprintf(keybfile, "%s/key_rsa%d.keyb", keys_dir, rsa_bits); in test_algorithm()
Dvboot_common3_tests.c278 const char *keys_dir) in test_permutation() argument
293 sprintf(filename, "%s/key_rsa%d.pem", keys_dir, signing_rsa_len); in test_permutation()
302 sprintf(filename, "%s/key_rsa%d.keyb", keys_dir, signing_rsa_len); in test_permutation()
311 sprintf(filename, "%s/key_rsa%d.keyb", keys_dir, data_rsa_len); in test_permutation()
Dvb20_common3_tests.c304 const char *keys_dir) in test_permutation() argument
319 sprintf(filename, "%s/key_rsa%d.pem", keys_dir, signing_rsa_len); in test_permutation()
328 sprintf(filename, "%s/key_rsa%d.keyb", keys_dir, signing_rsa_len); in test_permutation()
337 sprintf(filename, "%s/key_rsa%d.keyb", keys_dir, data_rsa_len); in test_permutation()
Dvboot_common2_tests.c212 int test_algorithm(int key_algorithm, const char *keys_dir) in test_algorithm() argument
222 sprintf(filename, "%s/key_rsa%d.pem", keys_dir, rsa_len); in test_algorithm()
229 sprintf(filename, "%s/key_rsa%d.keyb", keys_dir, rsa_len); in test_algorithm()
Dvb21_common2_tests.c239 int test_algorithm(int key_algorithm, const char *keys_dir) in test_algorithm() argument
255 sprintf(filename, "%s/key_rsa%d.pem", keys_dir, rsa_len); in test_algorithm()
262 sprintf(filename, "%s/key_rsa%d.keyb", keys_dir, rsa_len); in test_algorithm()
Dvb21_host_key_tests.c279 static int test_algorithm(const struct alg_combo *combo, const char *keys_dir) in test_algorithm() argument
287 sprintf(pemfile, "%s/key_rsa%d.pem", keys_dir, rsa_bits); in test_algorithm()
288 sprintf(keybfile, "%s/key_rsa%d.keyb", keys_dir, rsa_bits); in test_algorithm()