Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/boringssl/src/tool/
Dgenerate_ech.cc93 size_t public_key_len, private_key_len; in GenerateECH() local
97 !EVP_HPKE_KEY_private_key(key.get(), private_key, &private_key_len, in GenerateECH()
128 bssl::MakeConstSpan(private_key, private_key_len))) { in GenerateECH()
/external/cronet/third_party/boringssl/src/tool/
Dgenerate_ech.cc93 size_t public_key_len, private_key_len; in GenerateECH() local
97 !EVP_HPKE_KEY_private_key(key.get(), private_key, &private_key_len, in GenerateECH()
128 bssl::MakeConstSpan(private_key, private_key_len))) { in GenerateECH()
/external/boringssl/src/tool/
Dgenerate_ech.cc93 size_t public_key_len, private_key_len; in GenerateECH() local
97 !EVP_HPKE_KEY_private_key(key.get(), private_key, &private_key_len, in GenerateECH()
128 bssl::MakeConstSpan(private_key, private_key_len))) { in GenerateECH()
/external/open-dice/src/
Dboringssl_ecdsa_utils.c88 size_t private_key_len) { in derivePrivateKey() argument
108 if (1 != hmac(k, v, private_key, private_key_len)) { in derivePrivateKey()
114 candidate = BN_bin2bn(private_key, private_key_len, NULL); in derivePrivateKey()
/external/boringssl/src/crypto/hpke/
Dhpke.c41 size_t private_key_len; member
236 return kem->private_key_len; in EVP_HPKE_KEM_private_key_len()
310 if (max_out < key->kem->private_key_len) { in EVP_HPKE_KEY_private_key()
314 OPENSSL_memcpy(out, key->private_key, key->kem->private_key_len); in EVP_HPKE_KEY_private_key()
315 *out_len = key->kem->private_key_len; in EVP_HPKE_KEY_private_key()
Dhpke_test.cc97 size_t private_key_len; in Verify() local
98 ASSERT_TRUE(EVP_HPKE_KEY_private_key(key, private_key, &private_key_len, in Verify()
100 EXPECT_EQ(Bytes(private_key, private_key_len), Bytes(secret_key_r_)); in Verify()
/external/cronet/third_party/boringssl/src/crypto/hpke/
Dhpke.c41 size_t private_key_len; member
236 return kem->private_key_len; in EVP_HPKE_KEM_private_key_len()
310 if (max_out < key->kem->private_key_len) { in EVP_HPKE_KEY_private_key()
314 OPENSSL_memcpy(out, key->private_key, key->kem->private_key_len); in EVP_HPKE_KEY_private_key()
315 *out_len = key->kem->private_key_len; in EVP_HPKE_KEY_private_key()
Dhpke_test.cc97 size_t private_key_len; in Verify() local
98 ASSERT_TRUE(EVP_HPKE_KEY_private_key(key, private_key, &private_key_len, in Verify()
100 EXPECT_EQ(Bytes(private_key, private_key_len), Bytes(secret_key_r_)); in Verify()
/external/rust/crates/quiche/deps/boringssl/src/crypto/hpke/
Dhpke.c41 size_t private_key_len; member
299 if (max_out < key->kem->private_key_len) { in EVP_HPKE_KEY_private_key()
303 OPENSSL_memcpy(out, key->private_key, key->kem->private_key_len); in EVP_HPKE_KEY_private_key()
304 *out_len = key->kem->private_key_len; in EVP_HPKE_KEY_private_key()
Dhpke_test.cc97 size_t private_key_len; in Verify() local
98 ASSERT_TRUE(EVP_HPKE_KEY_private_key(key, private_key, &private_key_len, in Verify()
100 EXPECT_EQ(Bytes(private_key, private_key_len), Bytes(secret_key_r_)); in Verify()