Home
last modified time | relevance | path

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

/external/boringssl/src/tool/
Dserver.cc58 std::string key_file = "server.pem"; in Server() local
60 key_file = args_map["-key"]; in Server()
62 if (SSL_CTX_use_PrivateKey_file(ctx, key_file.c_str(), SSL_FILETYPE_PEM) <= 0) { in Server()
63 fprintf(stderr, "Failed to load private key: %s\n", key_file.c_str()); in Server()
66 if (SSL_CTX_use_certificate_chain_file(ctx, key_file.c_str()) != 1) { in Server()
67 fprintf(stderr, "Failed to load cert chain: %s\n", key_file.c_str()); in Server()
/external/vboot_reference/host/lib/
Dsignature_digest.c41 uint8_t* SignatureBuf(const uint8_t* buf, uint64_t len, const char* key_file, in SignatureBuf() argument
49 key_fp = fopen(key_file, "r"); in SignatureBuf()
51 VBDEBUG(("SignatureBuf(): Couldn't open key file: %s\n", key_file)); in SignatureBuf()
59 key_file)); in SignatureBuf()
Dhost_signature.c249 const char* key_file, in CalculateSignature_external() argument
292 key_file, /* Key file to use */ in CalculateSignature_external()
/external/vboot_reference/host/lib/include/
Dsignature_digest.h34 uint8_t* SignatureBuf(const uint8_t* buf, uint64_t len, const char* key_file,
Dhost_signature.h59 const char* key_file,
/external/vboot_reference/scripts/image_signing/
Dsign_official_build.sh460 local key_size key_file="${key_dir}/update_key.pem"
470 key_size=$(openssl rsa -text -noout -in "${key_file}" | \
478 openssl rsautl -sign -pkcs -inkey "${key_file}" -out "${output}"
/external/boringssl/src/ssl/test/
Dtest_config.h27 std::string key_file; member
Dtest_config.cc88 { "-key-file", &TestConfig::key_file },
Dbssl_shim.cc134 if (!config->key_file.empty() && in InstallCertificate()
135 !SSL_use_PrivateKey_file(ssl, config->key_file.c_str(), in InstallCertificate()