/third_party/openssl/crypto/sm2/ |
D | sm2_sign.c | 107 if (BN_bn2binpad(a, buf, p_bytes) < 0 in sm2_compute_z_digest() 109 || BN_bn2binpad(b, buf, p_bytes) < 0 in sm2_compute_z_digest() 114 || BN_bn2binpad(xG, buf, p_bytes) < 0 in sm2_compute_z_digest() 116 || BN_bn2binpad(yG, buf, p_bytes) < 0 in sm2_compute_z_digest() 121 || BN_bn2binpad(xA, buf, p_bytes) < 0 in sm2_compute_z_digest() 123 || BN_bn2binpad(yA, buf, p_bytes) < 0 in sm2_compute_z_digest()
|
D | sm2_crypt.c | 185 if (BN_bn2binpad(x2, x2y2, field_size) < 0 in sm2_encrypt() 186 || BN_bn2binpad(y2, x2y2 + field_size, field_size) < 0) { in sm2_encrypt() 341 if (BN_bn2binpad(x2, x2y2, field_size) < 0 in sm2_decrypt() 342 || BN_bn2binpad(y2, x2y2 + field_size, field_size) < 0 in sm2_decrypt()
|
/third_party/openssl/doc/man3/ |
D | BN_bn2bin.pod | 5 BN_bn2binpad, 15 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen); 38 BN_bn2binpad() also converts the absolute value of B<a> into big-endian form 47 BN_bn2lebinpad() and BN_lebin2bn() are identical to BN_bn2binpad() and 86 BN_bn2binpad() returns the number of bytes written or -1 if the supplied
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | lws-genec.c | 77 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) in BN_bn2binpad() function 431 m = BN_bn2binpad(bn[n - 1], el[n].buf, (int32_t)el[n].len); in lws_genec_new_keypair() 579 n = BN_bn2binpad(r, sig, keybytes); in lws_genecdsa_hash_sign_jws() 585 n = BN_bn2binpad(s, sig + keybytes, keybytes); in lws_genecdsa_hash_sign_jws()
|
D | private-lib-tls-openssl.h | 58 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
|
D | openssl-x509.c | 723 m = BN_bn2binpad(cmpi, jwk->e[LWS_GENCRYPTO_EC_KEYEL_D].buf, in lws_x509_jwk_privkey_pem()
|
/third_party/openssl/crypto/ec/ |
D | ec_print.c | 48 if (!BN_bn2binpad(bn, buf, buf_len)) { in EC_POINT_bn2point()
|
D | ec_asn1.c | 404 if (BN_bn2binpad(tmp_1, a_buf, len) < 0 in ec_asn1_group2curve() 405 || BN_bn2binpad(tmp_2, b_buf, len) < 0) { in ec_asn1_group2curve()
|
D | ec_key.c | 633 if (BN_bn2binpad(eckey->priv_key, buf, buf_len) == -1) { in ec_key_simple_priv2oct()
|
D | ec_curve.c | 3302 if (BN_bn2binpad(bn[i], ¶m_bytes[i*param_len], param_len) <= 0) in ec_curve_nid_from_params()
|
/third_party/openssl/crypto/srp/ |
D | srp_lib.c | 36 if (BN_bn2binpad(x, tmp, numN) < 0 in srp_Calc_xy() 37 || BN_bn2binpad(y, tmp + numN, numN) < 0 in srp_Calc_xy()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_ossl.c | 149 r = BN_bn2binpad(ret, to, num); in rsa_ossl_public_encrypt() 359 r = BN_bn2binpad(res, to, num); in rsa_ossl_private_encrypt() 478 j = BN_bn2binpad(ret, buf, num); in rsa_ossl_private_decrypt() 580 i = BN_bn2binpad(ret, buf, num); in rsa_ossl_public_decrypt()
|
/third_party/openssl/test/testutil/ |
D | format_output.c | 309 BN_bn2binpad(bn1, m1, len); in test_fail_bignum_common() 313 BN_bn2binpad(bn2, m2, len); in test_fail_bignum_common()
|
/third_party/openssl/crypto/bn/ |
D | bn_rand.c | 228 if (BN_bn2binpad(priv, private_bytes, sizeof(private_bytes)) < 0) { in BN_generate_dsa_nonce()
|
D | bn_lib.c | 530 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) in BN_bn2binpad() function
|
/third_party/openssl/crypto/dh/ |
D | dh_key.c | 242 ret = BN_bn2binpad(tmp, key, BN_num_bytes(dh->p)); in compute_key()
|
/third_party/openssl/test/ |
D | bntest.c | 1795 if (!TEST_int_eq(BN_bn2binpad(n, NULL, 0), 0)) in test_bn2padded() 1798 if (!TEST_int_eq(BN_bn2binpad(n, out, sizeof(out)), sizeof(out))) in test_bn2padded() 1814 if (!TEST_int_eq(BN_bn2binpad(n, NULL, 0), -1)) in test_bn2padded() 1817 if (!TEST_int_eq(BN_bn2binpad(n, out, bytes - 1), -1)) in test_bn2padded() 1820 if (!TEST_int_eq(BN_bn2binpad(n, out, bytes), bytes) in test_bn2padded() 1824 if (!TEST_int_eq(BN_bn2binpad(n, out, bytes + 1), bytes + 1) in test_bn2padded() 1829 if (!TEST_int_eq(BN_bn2binpad(n, out, sizeof(out)), sizeof(out)) in test_bn2padded()
|
D | ecdsatest.c | 71 || !TEST_true(BN_bn2binpad(tmp, buf, num))) in fbytes()
|
/third_party/openssl/include/openssl/ |
D | bn.h | 223 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
|
/third_party/libwebsockets/lib/tls/ |
D | CMakeLists.txt | 365 CHECK_FUNCTION_EXISTS(${VARIA}BN_bn2binpad LWS_HAVE_BN_bn2binpad PARENT_SCOPE)
|
/third_party/node/src/ |
D | node_crypto.cc | 4630 CHECK_EQ(n, static_cast<unsigned int>(BN_bn2binpad(r, data, n))); in ConvertSignatureToP1363() 4631 CHECK_EQ(n, static_cast<unsigned int>(BN_bn2binpad(s, data + n, n))); in ConvertSignatureToP1363() 5356 BN_bn2binpad( in GenerateKeys() 5378 BN_bn2binpad(num, reinterpret_cast<unsigned char*>(data.data()), size)); in GetField() 5703 CHECK_EQ(size, BN_bn2binpad(b, in GetPrivateKey()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_openssl.c | 1331 return BN_bn2binpad((const BIGNUM *) a, buf, padlen); in crypto_bignum_to_bin()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_openssl.c | 1404 return BN_bn2binpad((const BIGNUM *) a, buf, padlen); in crypto_bignum_to_bin()
|
/third_party/grpc/src/boringssl/ |
D | boringssl_prefix_symbols.h | 892 #define BN_bn2binpad BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_bn2binpad) macro
|
/third_party/openssl/util/ |
D | libcrypto.num | 3872 BN_bn2binpad 3824 1_1_0 EXIST::FUNCTION:
|