Searched refs:BN_bn2bin_padded (Results 1 – 13 of 13) sorted by relevance
/external/boringssl/src/fipstools/ |
D | cavp_ecdsa2_siggen_test.cc | 77 if (!BN_bn2bin_padded(qx_bytes.data(), qx_bytes.size(), qx.get()) || in TestECDSA2SigGenImpl() 78 !BN_bn2bin_padded(qy_bytes.data(), qy_bytes.size(), qy.get()) || in TestECDSA2SigGenImpl() 79 !BN_bn2bin_padded(r_bytes.data(), r_bytes.size(), sig->r) || in TestECDSA2SigGenImpl() 80 !BN_bn2bin_padded(s_bytes.data(), s_bytes.size(), sig->s)) { in TestECDSA2SigGenImpl()
|
D | cavp_ecdsa2_keypair_test.cc | 64 if (!BN_bn2bin_padded(qx_bytes.data(), qx_bytes.size(), qx.get()) || in TestECDSA2KeyPair() 65 !BN_bn2bin_padded(qy_bytes.data(), qy_bytes.size(), qy.get()) || in TestECDSA2KeyPair() 66 !BN_bn2bin_padded(d_bytes.data(), d_bytes.size(), in TestECDSA2KeyPair()
|
D | cavp_rsa2_siggen_test.cc | 64 if (!BN_bn2bin_padded(n_bytes.data(), n_bytes.size(), n) || in TestRSA2SigGen() 65 !BN_bn2bin_padded(e_bytes.data(), e_bytes.size(), e)) { in TestRSA2SigGen()
|
D | cavp_rsa2_keygen_test.cc | 62 !BN_bn2bin_padded(d_bytes.data(), d_bytes.size(), d) || in TestRSA2KeyGen()
|
/external/boringssl/src/crypto/ecdh/ |
D | ecdh.c | 130 if (!BN_bn2bin_padded(buf, buflen, x)) { in ECDH_compute_key()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 136 if (!BN_bn2bin_padded(buf + i, field_len, x)) { in ec_GFp_simple_point2oct() 143 if (!BN_bn2bin_padded(buf + i, field_len, y)) { in ec_GFp_simple_point2oct()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 692 ASSERT_TRUE(BN_bn2bin_padded(NULL, 0, n.get())); in TEST_F() 695 ASSERT_TRUE(BN_bn2bin_padded(out, sizeof(out), n.get())); in TEST_F() 706 EXPECT_FALSE(BN_bn2bin_padded(NULL, 0, n.get())); in TEST_F() 709 EXPECT_FALSE(BN_bn2bin_padded(out, bytes - 1, n.get())); in TEST_F() 712 ASSERT_TRUE(BN_bn2bin_padded(out, bytes, n.get())); in TEST_F() 716 ASSERT_TRUE(BN_bn2bin_padded(out, bytes + 1, n.get())); in TEST_F() 721 ASSERT_TRUE(BN_bn2bin_padded(out, sizeof(out), n.get())); in TEST_F() 756 ASSERT_TRUE(BN_bn2bin_padded(expected, sizeof(expected), x.get())); in TEST_F()
|
D | bytes.c | 208 int BN_bn2bin_padded(uint8_t *out, size_t len, const BIGNUM *in) { in BN_bn2bin_padded() function
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa_test.cc | 120 ASSERT_TRUE(BN_bn2bin_padded(raw_buf.data(), bn_len, ecdsa_sig->r)); in TestTamperedSig() 121 ASSERT_TRUE(BN_bn2bin_padded(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s)); in TestTamperedSig()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 190 if (!BN_bn2bin_padded(out, rsa_size, result)) { in RSA_encrypt() 501 if (!BN_bn2bin_padded(buf, rsa_size, result)) { in RSA_verify_raw() 632 if (!BN_bn2bin_padded(out, len, result)) { in rsa_default_private_transform()
|
/external/boringssl/src/crypto/bn_extra/ |
D | convert.c | 74 return CBB_add_space(out, &ptr, len) && BN_bn2bin_padded(ptr, len, in); in BN_bn2cbb_padded()
|
/external/boringssl/src/ssl/ |
D | ssl_ecdh.cc | 114 if (!secret || !BN_bn2bin_padded(secret.get(), secret_len, x)) { in ssl_ec_point_finish()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 259 OPENSSL_EXPORT int BN_bn2bin_padded(uint8_t *out, size_t len, const BIGNUM *in);
|