Home
last modified time | relevance | path

Searched refs:CHECK_ABI (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/sha/
Dsha_test.cc29 CHECK_ABI(sha1_block_data_order, ctx.h, kBuf, 1); in TEST()
30 CHECK_ABI(sha1_block_data_order, ctx.h, kBuf, 2); in TEST()
31 CHECK_ABI(sha1_block_data_order, ctx.h, kBuf, 4); in TEST()
32 CHECK_ABI(sha1_block_data_order, ctx.h, kBuf, 8); in TEST()
42 CHECK_ABI(sha256_block_data_order, ctx.h, kBuf, 1); in TEST()
43 CHECK_ABI(sha256_block_data_order, ctx.h, kBuf, 2); in TEST()
44 CHECK_ABI(sha256_block_data_order, ctx.h, kBuf, 4); in TEST()
45 CHECK_ABI(sha256_block_data_order, ctx.h, kBuf, 8); in TEST()
55 CHECK_ABI(sha512_block_data_order, ctx.h, kBuf, 1); in TEST()
56 CHECK_ABI(sha512_block_data_order, ctx.h, kBuf, 2); in TEST()
[all …]
/external/boringssl/src/crypto/fipsmodule/aes/
Daes_test.cc209 CHECK_ABI(aes_nohw_set_encrypt_key, kKey, bits, &key); in TEST()
210 CHECK_ABI(aes_nohw_encrypt, block, block, &key); in TEST()
214 CHECK_ABI(aes_nohw_cbc_encrypt, buf, buf, AES_BLOCK_SIZE * blocks, &key, in TEST()
219 CHECK_ABI(aes_nohw_set_decrypt_key, kKey, bits, &key); in TEST()
220 CHECK_ABI(aes_nohw_decrypt, block, block, &key); in TEST()
224 CHECK_ABI(aes_nohw_cbc_encrypt, buf, buf, AES_BLOCK_SIZE * blocks, &key, in TEST()
234 CHECK_ABI(bsaes_ctr32_encrypt_blocks, buf, buf, blocks, &key, block); in TEST()
241 CHECK_ABI(bsaes_cbc_encrypt, buf, buf, AES_BLOCK_SIZE * blocks, &key, in TEST()
247 CHECK_ABI(vpaes_set_encrypt_key, kKey, bits, &key); in TEST()
248 CHECK_ABI(vpaes_encrypt, block, block, &key); in TEST()
[all …]
/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm_test.cc138 CHECK_ABI(gcm_init_4bit, Htable, kH); in TEST()
140 CHECK_ABI(gcm_gmult_4bit_mmx, X, Htable); in TEST()
142 CHECK_ABI(gcm_ghash_4bit_mmx, X, Htable, buf, 16 * blocks); in TEST()
145 CHECK_ABI(gcm_gmult_4bit, X, Htable); in TEST()
147 CHECK_ABI(gcm_ghash_4bit, X, Htable, buf, 16 * blocks); in TEST()
189 CHECK_ABI(aesni_gcm_encrypt, buf, buf, blocks * 16, &aes_key, iv, in TEST()
191 CHECK_ABI(aesni_gcm_encrypt, buf, buf, blocks * 16 + 7, &aes_key, iv, in TEST()
196 CHECK_ABI(aesni_gcm_decrypt, buf, buf, blocks * 16, &aes_key, iv, in TEST()
198 CHECK_ABI(aesni_gcm_decrypt, buf, buf, blocks * 16 + 7, &aes_key, iv, in TEST()
209 CHECK_ABI(gcm_init_neon, Htable, kH); in TEST()
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64_test.cc69 CHECK_ABI(ecp_nistz256_select_w5, &val, table, 7); in TEST()
98 CHECK_ABI(ecp_nistz256_select_w7, &val, table, 42); in TEST()
123 ASSERT_FALSE(CHECK_ABI(beeu_mod_inverse_vartime, out, in, order_words)); in TEST()
163 EXPECT_TRUE(CHECK_ABI(beeu_mod_inverse_vartime, out, in, order_words)); in TEST()
512 CHECK_ABI(ecp_nistz256_neg, b, a); in TEST()
513 CHECK_ABI(ecp_nistz256_mul_mont, c, a, b); in TEST()
514 CHECK_ABI(ecp_nistz256_sqr_mont, c, a); in TEST()
515 CHECK_ABI(ecp_nistz256_from_mont, c, a); in TEST()
516 CHECK_ABI(ecp_nistz256_ord_mul_mont, c, a, b); in TEST()
519 CHECK_ABI(ecp_nistz256_ord_sqr_mont, b, a, 1); in TEST()
[all …]
/external/boringssl/src/crypto/fipsmodule/md5/
Dmd5_test.cc29 CHECK_ABI(md5_block_asm_data_order, ctx.h, kBuf, 1); in TEST()
30 CHECK_ABI(md5_block_asm_data_order, ctx.h, kBuf, 2); in TEST()
31 CHECK_ABI(md5_block_asm_data_order, ctx.h, kBuf, 4); in TEST()
32 CHECK_ABI(md5_block_asm_data_order, ctx.h, kBuf, 8); in TEST()
/external/boringssl/src/crypto/chacha/
Dchacha_test.cc250 CHECK_ABI(ChaCha20_ctr32, buf.get(), kInput, len, key, kCounterNonce); in TEST()
255 CHECK_ABI(ChaCha20_ctr32, buf.get(), kInput, len, key, kCounterNonce); in TEST()
257 CHECK_ABI(ChaCha20_ctr32, buf.get(), kInput, len + 15, key, kCounterNonce); in TEST()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc2400 CHECK_ABI(bn_mul_mont, r.data(), a.data(), b.data(), mont->N.d, mont->n0, in TEST_F()
2402 CHECK_ABI(bn_mul_mont, r.data(), a.data(), a.data(), mont->N.d, mont->n0, in TEST_F()
2426 CHECK_ABI(bn_scatter5, r.data(), words, table.data(), 13); in TEST_F()
2431 CHECK_ABI(bn_gather5, r.data(), words, table.data(), 13); in TEST_F()
2433 CHECK_ABI(bn_mul_mont_gather5, r.data(), r.data(), table.data(), m->d, in TEST_F()
2435 CHECK_ABI(bn_mul_mont_gather5, r.data(), a.data(), table.data(), m->d, in TEST_F()
2439 CHECK_ABI(bn_power5, r.data(), r.data(), table.data(), m->d, mont->n0, in TEST_F()
2441 CHECK_ABI(bn_power5, r.data(), a.data(), table.data(), m->d, mont->n0, in TEST_F()
2443 EXPECT_EQ(1, CHECK_ABI(bn_from_montgomery, r.data(), r.data(), nullptr, in TEST_F()
2445 EXPECT_EQ(1, CHECK_ABI(bn_from_montgomery, r.data(), a.data(), nullptr, in TEST_F()
[all …]
/external/boringssl/src/crypto/test/
Dabi_test.h386 #define CHECK_ABI(...) CHECK_ABI_NO_UNWIND(__VA_ARGS__) macro
388 #define CHECK_ABI(...) CHECK_ABI_SEH(__VA_ARGS__) macro
/external/boringssl/src/crypto/hrss/
Dhrss_test.cc494 CHECK_ABI(poly_Rq_mul, r, a, b); in TEST()