Home
last modified time | relevance | path

Searched refs:raw_buf (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc158 std::vector<uint8_t> raw_buf(buf_len); in TestTamperedSig() local
160 ASSERT_TRUE(BN_bn2bin_padded(raw_buf.data(), bn_len, ecdsa_sig->r)); in TestTamperedSig()
161 ASSERT_TRUE(BN_bn2bin_padded(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s)); in TestTamperedSig()
164 size_t offset = raw_buf[10] % buf_len; in TestTamperedSig()
165 uint8_t dirt = raw_buf[11] ? raw_buf[11] : 1; in TestTamperedSig()
166 raw_buf[offset] ^= dirt; in TestTamperedSig()
168 ASSERT_TRUE(BN_bin2bn(raw_buf.data(), bn_len, ecdsa_sig->r)); in TestTamperedSig()
169 ASSERT_TRUE(BN_bin2bn(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s)); in TestTamperedSig()
173 raw_buf[offset] ^= dirt; in TestTamperedSig()
174 ASSERT_TRUE(BN_bin2bn(raw_buf.data(), bn_len, ecdsa_sig->r)); in TestTamperedSig()
[all …]
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1207 agg::rendering_buffer raw_buf(pThisLayer->GetBuffer(), pThisLayer->GetWidth(), in SetClipMask() local
1210 agg::pixfmt_gray8 pixel_buf(raw_buf); in SetClipMask()
/external/e2fsprogs/misc/
Dfuse2fs.c2395 const void *raw_buf, size_t raw_sz);
2397 const void **raw_buf, size_t *raw_sz);