Home
last modified time | relevance | path

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

/external/openscreen/cast/receiver/channel/
Dstatic_credentials.cc90 size_t pkey_len = 0; in GenerateCredentials() local
92 OSP_CHECK(RSA_private_key_to_bytes(&pkey_bytes, &pkey_len, rsa_key)); in GenerateCredentials()
93 OSP_CHECK_GT(pkey_len, 0u); in GenerateCredentials()
94 std::vector<uint8_t> tls_key_serial(pkey_bytes, pkey_bytes + pkey_len); in GenerateCredentials()
98 pkey_len = 0; in GenerateCredentials()
100 OSP_CHECK(RSA_public_key_to_bytes(&pkey_bytes, &pkey_len, rsa_key)); in GenerateCredentials()
101 OSP_CHECK_GT(pkey_len, 0u); in GenerateCredentials()
102 std::vector<uint8_t> tls_pub_serial(pkey_bytes, pkey_bytes + pkey_len); in GenerateCredentials()