Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dcow_reader.cpp236 uint8_t csum[32]; in ParseOps() local
237 memset(csum, 0, sizeof(uint8_t) * 32); in ParseOps()
250 if (memcmp(csum, footer_->data.ops_checksum, sizeof(csum)) != 0) { in ParseOps()
254 SHA256(ops_buffer.get()->data(), footer_->op.ops_size, csum); in ParseOps()
255 if (memcmp(csum, footer_->data.ops_checksum, sizeof(csum)) != 0) { in ParseOps()
/system/netd/bpf_progs/
Dbpf_net_helpers.h41 static int64_t (*bpf_csum_update)(struct __sk_buff* skb, __wsum csum) = (void*)BPF_FUNC_csum_update;