Home
last modified time | relevance | path

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

/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dtrust_token.c92 CBB priv_cbb, pub_cbb; in TRUST_TOKEN_generate_key() local
93 CBB_zero(&priv_cbb); in TRUST_TOKEN_generate_key()
95 if (!CBB_init_fixed(&priv_cbb, out_priv_key, max_priv_key_len) || in TRUST_TOKEN_generate_key()
97 !CBB_add_u32(&priv_cbb, id) || in TRUST_TOKEN_generate_key()
103 if (!method->generate_key(&priv_cbb, &pub_cbb)) { in TRUST_TOKEN_generate_key()
107 if (!CBB_finish(&priv_cbb, NULL, out_priv_key_len) || in TRUST_TOKEN_generate_key()
116 CBB_cleanup(&priv_cbb); in TRUST_TOKEN_generate_key()
/external/boringssl/src/crypto/trust_token/
Dtrust_token.c114 CBB priv_cbb, pub_cbb; in TRUST_TOKEN_generate_key() local
115 CBB_zero(&priv_cbb); in TRUST_TOKEN_generate_key()
117 if (!CBB_init_fixed(&priv_cbb, out_priv_key, max_priv_key_len) || in TRUST_TOKEN_generate_key()
119 !CBB_add_u32(&priv_cbb, id) || in TRUST_TOKEN_generate_key()
125 if (!method->generate_key(&priv_cbb, &pub_cbb)) { in TRUST_TOKEN_generate_key()
129 if (!CBB_finish(&priv_cbb, NULL, out_priv_key_len) || in TRUST_TOKEN_generate_key()
138 CBB_cleanup(&priv_cbb); in TRUST_TOKEN_generate_key()