Home
last modified time | relevance | path

Searched refs:BN_bn2bin_padded (Results 1 – 16 of 16) sorted by relevance

/external/boringssl/src/util/fipstools/cavp/
Dcavp_ecdsa2_siggen_test.cc77 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()
Dcavp_ecdsa2_keypair_test.cc64 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()
Dcavp_rsa2_siggen_test.cc64 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()
Dcavp_rsa2_keygen_test.cc62 !BN_bn2bin_padded(d_bytes.data(), d_bytes.size(), d) || in TestRSA2KeyGen()
/external/boringssl/src/crypto/bn_extra/
Dconvert.c74 return CBB_add_space(out, &ptr, len) && BN_bn2bin_padded(ptr, len, in); in BN_bn2cbb_padded()
466 !BN_bn2bin_padded(out, (size_t)len, in)) { in BN_bn2binpad()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbytes.c183 int BN_bn2bin_padded(uint8_t *out, size_t len, const BIGNUM *in) { in BN_bn2bin_padded() function
Dbn_test.cc1004 ASSERT_TRUE(BN_bn2bin_padded(NULL, 0, n.get())); in TEST_F()
1007 ASSERT_TRUE(BN_bn2bin_padded(out, sizeof(out), n.get())); in TEST_F()
1018 EXPECT_FALSE(BN_bn2bin_padded(NULL, 0, n.get())); in TEST_F()
1021 EXPECT_FALSE(BN_bn2bin_padded(out, bytes - 1, n.get())); in TEST_F()
1024 ASSERT_TRUE(BN_bn2bin_padded(out, bytes, n.get())); in TEST_F()
1028 ASSERT_TRUE(BN_bn2bin_padded(out, bytes + 1, n.get())); in TEST_F()
1033 ASSERT_TRUE(BN_bn2bin_padded(out, sizeof(out), n.get())); in TEST_F()
1041 EXPECT_FALSE(BN_bn2bin_padded(out, bytes - 1, n.get())); in TEST_F()
1043 ASSERT_TRUE(BN_bn2bin_padded(out, bytes + 1, n.get())); in TEST_F()
1077 ASSERT_TRUE(BN_bn2bin_padded(expected, sizeof(expected), x.get())); in TEST_F()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc160 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()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c327 if (!BN_bn2bin_padded(out, rsa_size, result)) { in RSA_encrypt()
635 if (!BN_bn2bin_padded(buf, rsa_size, result)) { in RSA_verify_raw()
778 if (!BN_bn2bin_padded(out, len, result)) { in rsa_default_private_transform()
/external/boringssl/src/ssl/
Dssl_key_share.cc119 !BN_bn2bin_padded(secret.data(), secret.size(), x)) { in Finish()
/external/boringssl/src/include/openssl/
Dbn.h262 OPENSSL_EXPORT int BN_bn2bin_padded(uint8_t *out, size_t len, const BIGNUM *in);
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc987 ASSERT_TRUE(BN_bn2bin_padded(priv.data(), priv.size(), in TEST()
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list717 BN_bn2bin_padded
DBoringSSL-GRPC.podspec2269 '#define BN_bn2bin_padded GRPC_SHADOW_BN_bn2bin_padded',
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1326 if (BN_bn2bin_padded(buf, padlen, (const BIGNUM *) a) == 0) in crypto_bignum_to_bin()
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h745 #define BN_bn2bin_padded GRPC_SHADOW_BN_bn2bin_padded macro