Searched refs:pemfile (Results 1 – 3 of 3) sorted by relevance
/external/python/rsa/tests/ |
D | test_cli.py | 154 with open('test_cli_privkey_out.pem', 'rb') as pemfile: 155 rsa.PrivateKey.load_pkcs1(pemfile.read()) 189 with open('test_cli_pubkey_out.pem', 'rb') as pemfile: 190 rsa.PublicKey.load_pkcs1(pemfile.read()) 292 with open('test_private_to_public.pem', 'rb') as pemfile: 293 key = rsa.PublicKey.load_pkcs1(pemfile.read())
|
/external/vboot_reference/tests/ |
D | vb21_host_sig_tests.c | 40 const char *pemfile, in sig_tests() argument 62 TEST_SUCC(vb2_private_key_read_pem(&prik, pemfile), "Read private key"); in sig_tests() 169 char pemfile[1024]; in test_algorithm() local 174 sprintf(pemfile, "%s/key_rsa%d.pem", keys_dir, rsa_bits); in test_algorithm() 177 sig_tests(combo, pemfile, keybfile); in test_algorithm()
|
D | vb21_host_key_tests.c | 34 const char *pemfile) in private_key_tests() argument 46 TEST_SUCC(vb2_private_key_read_pem(&key, pemfile), "Read pem - good"); in private_key_tests() 61 TEST_SUCC(vb2_private_key_read_pem(&key, pemfile), "Read pem - good2"); in private_key_tests() 71 TEST_SUCC(vb2_private_key_read_pem(&key, pemfile), "Read pem - good3"); in private_key_tests() 282 char pemfile[1024]; in test_algorithm() local 287 sprintf(pemfile, "%s/key_rsa%d.pem", keys_dir, rsa_bits); in test_algorithm() 290 private_key_tests(combo, pemfile); in test_algorithm()
|