Searched refs:key_file (Results 1 – 9 of 9) sorted by relevance
/external/boringssl/src/tool/ |
D | server.cc | 58 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/ |
D | signature_digest.c | 41 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()
|
D | host_signature.c | 249 const char* key_file, in CalculateSignature_external() argument 292 key_file, /* Key file to use */ in CalculateSignature_external()
|
/external/vboot_reference/host/lib/include/ |
D | signature_digest.h | 34 uint8_t* SignatureBuf(const uint8_t* buf, uint64_t len, const char* key_file,
|
D | host_signature.h | 59 const char* key_file,
|
/external/vboot_reference/scripts/image_signing/ |
D | sign_official_build.sh | 460 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/ |
D | test_config.h | 27 std::string key_file; member
|
D | test_config.cc | 88 { "-key-file", &TestConfig::key_file },
|
D | bssl_shim.cc | 134 if (!config->key_file.empty() && in InstallCertificate() 135 !SSL_use_PrivateKey_file(ssl, config->key_file.c_str(), in InstallCertificate()
|