Searched refs:csum (Results 1 – 2 of 2) sorted by relevance
236 uint8_t csum[32]; in ParseOps() local237 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()
41 static int64_t (*bpf_csum_update)(struct __sk_buff* skb, __wsum csum) = (void*)BPF_FUNC_csum_update;