/external/marisa-trie/lib/marisa/grimoire/trie/ |
D | louds-trie.cc | 81 agent.set_key(state.key_buf().begin(), state.key_buf().size()); in reverse_lookup() 87 const std::size_t prev_key_pos = state.key_buf().size(); in reverse_lookup() 89 std::reverse(state.key_buf().begin() + prev_key_pos, in reverse_lookup() 90 state.key_buf().end()); in reverse_lookup() 92 state.key_buf().push_back((char)bases_[state.node_id()]); in reverse_lookup() 96 std::reverse(state.key_buf().begin(), state.key_buf().end()); in reverse_lookup() 97 agent.set_key(state.key_buf().begin(), state.key_buf().size()); in reverse_lookup() 155 history.set_key_pos(state.key_buf().size()); in predictive_search() 160 agent.set_key(state.key_buf().begin(), state.key_buf().size()); in predictive_search() 184 state.key_buf().push_back((char)bases_[next.node_id()]); in predictive_search() [all …]
|
D | tail.cc | 67 state.key_buf().push_back(*ptr); in restore() 71 state.key_buf().push_back(buf_[offset]); in restore() 118 state.key_buf().push_back(ptr[state.query_pos()]); in prefix_match() 126 state.key_buf().push_back(*ptr); in prefix_match() 134 state.key_buf().push_back(buf_[offset]); in prefix_match() 141 state.key_buf().push_back(buf_[offset]); in prefix_match()
|
D | state.h | 56 const Vector<char> &key_buf() const { in key_buf() function 63 Vector<char> &key_buf() { in key_buf() function
|
/external/mbedtls/library/ |
D | constant_time.c | 478 unsigned char key_buf[MAX_HASH_BLOCK_LENGTH]; in mbedtls_ct_hmac() local 503 PSA_CHK( psa_export_key( key, key_buf, block_size, &mac_key_length ) ); in mbedtls_ct_hmac() 507 key_buf[i] = (unsigned char)( key_buf[i] ^ 0x36 ); in mbedtls_ct_hmac() 509 key_buf[i] = 0x36; in mbedtls_ct_hmac() 514 PSA_CHK( psa_hash_update( &operation, key_buf, block_size ) ); in mbedtls_ct_hmac() 543 key_buf[i] = (unsigned char)( ( key_buf[i] ^ 0x36 ) ^ 0x5C ); in mbedtls_ct_hmac() 545 key_buf[i] = 0x5C; in mbedtls_ct_hmac() 549 PSA_CHK( psa_hash_update( &operation, key_buf, block_size ) ); in mbedtls_ct_hmac() 556 mbedtls_platform_zeroize( key_buf, MAX_HASH_BLOCK_LENGTH ); in mbedtls_ct_hmac()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sake_common.c | 278 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys() local 309 key_buf, sizeof(key_buf)) < 0) in eap_sake_derive_keys() 311 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys() 312 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys()
|
/external/marisa-trie/tests/ |
D | marisa-test.cc | 205 char key_buf[16]; in MakeKeyset() local 208 static_cast<std::size_t>(std::rand()) % sizeof(key_buf); in MakeKeyset() 210 key_buf[j] = (char)(std::rand() % 10); in MakeKeyset() 212 key_buf[j] = static_cast<char>(key_buf[j] + '0'); in MakeKeyset() 215 keyset->push_back(key_buf, length); in MakeKeyset()
|
D | trie-test.cc | 453 ASSERT(state.key_buf().empty()); in TestState()
|
/external/vboot_reference/host/lib21/ |
D | host_key.c | 381 uint8_t *key_data, *key_buf; in vb2_public_key_read_keyb() local 406 key_buf = vb2_public_key_packed_data(key); in vb2_public_key_read_keyb() 407 memcpy(key_buf, key_data, key_size); in vb2_public_key_read_keyb() 410 if (vb2_unpack_key_data(key, key_buf, key_size)) { in vb2_public_key_read_keyb()
|
/external/boringssl/src/ssl/ |
D | tls13_enc.cc | 166 uint8_t key_buf[EVP_AEAD_MAX_KEY_LENGTH]; in tls13_set_traffic_key() local 167 auto key = MakeSpan(key_buf, key_len); in tls13_set_traffic_key() 327 uint8_t key_buf[EVP_MAX_MD_SIZE]; in tls13_verify_data() local 328 auto key = MakeSpan(key_buf, EVP_MD_size(digest)); in tls13_verify_data()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | tls13_enc.cc | 182 uint8_t key_buf[EVP_AEAD_MAX_KEY_LENGTH]; in tls13_set_traffic_key() local 183 auto key = MakeSpan(key_buf, key_len); in tls13_set_traffic_key() 343 uint8_t key_buf[EVP_MAX_MD_SIZE]; in tls13_verify_data() local 344 auto key = MakeSpan(key_buf, EVP_MD_size(digest)); in tls13_verify_data()
|
/external/cronet/third_party/boringssl/src/ssl/ |
D | tls13_enc.cc | 166 uint8_t key_buf[EVP_AEAD_MAX_KEY_LENGTH]; in tls13_set_traffic_key() local 167 auto key = MakeSpan(key_buf, key_len); in tls13_set_traffic_key() 327 uint8_t key_buf[EVP_MAX_MD_SIZE]; in tls13_verify_data() local 328 auto key = MakeSpan(key_buf, EVP_MD_size(digest)); in tls13_verify_data()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_table.cc | 232 const uint8_t* key_buf = GRPC_SLICE_START_PTR(GRPC_MDKEY(elem)); in grpc_chttp2_get_size_in_hpack_table() local 236 if (grpc_key_is_binary_header(key_buf, key_len)) { in grpc_chttp2_get_size_in_hpack_table()
|
D | hpack_encoder.cc | 586 uint8_t* key_buf = add_tiny_header_data(st, 1 + len_key_len); in emit_lithdr_v() local 587 key_buf[0] = type == EmitLitHdrVType::INC_IDX_V ? 0x40 : 0x00; in emit_lithdr_v() 588 GRPC_CHTTP2_WRITE_VARINT(len_key, 1, 0x00, &key_buf[1], len_key_len); in emit_lithdr_v()
|