Home
last modified time | relevance | path

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

/freebsd-12-stable/crypto/openssl/crypto/sm2/
Dsm2_sign.c107 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()
Dsm2_crypt.c185 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()
/freebsd-12-stable/crypto/openssl/doc/man3/
DBN_bn2bin.pod5 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
/freebsd-12-stable/crypto/openssl/crypto/srp/
Dsrp_lib.c36 if (BN_bn2binpad(x, tmp, numN) < 0 in srp_Calc_xy()
37 || BN_bn2binpad(y, tmp + numN, numN) < 0 in srp_Calc_xy()
/freebsd-12-stable/crypto/openssl/crypto/ec/
Dec_print.c48 if (!BN_bn2binpad(bn, buf, buf_len)) { in EC_POINT_bn2point()
Dec_asn1.c404 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()
Dec_key.c643 if (BN_bn2binpad(eckey->priv_key, buf, buf_len) == -1) { in ec_key_simple_priv2oct()
Dec_curve.c3302 if (BN_bn2binpad(bn[i], &param_bytes[i*param_len], param_len) <= 0) in ec_curve_nid_from_params()
/freebsd-12-stable/crypto/openssl/crypto/rsa/
Drsa_ossl.c149 r = BN_bn2binpad(ret, to, num); in rsa_ossl_public_encrypt()
360 r = BN_bn2binpad(res, to, num); in rsa_ossl_private_encrypt()
471 j = BN_bn2binpad(ret, buf, num); in rsa_ossl_private_decrypt()
570 i = BN_bn2binpad(ret, buf, num); in rsa_ossl_public_decrypt()
/freebsd-12-stable/crypto/openssl/crypto/bn/
Dbn_rand.c228 if (BN_bn2binpad(priv, private_bytes, sizeof(private_bytes)) < 0) { in BN_generate_dsa_nonce()
Dbn_lib.c530 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen) in BN_bn2binpad() function
/freebsd-12-stable/crypto/openssl/crypto/dh/
Ddh_key.c242 ret = BN_bn2binpad(tmp, key, BN_num_bytes(dh->p)); in compute_key()
/freebsd-12-stable/crypto/openssl/include/openssl/
Dbn.h223 int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
/freebsd-12-stable/secure/lib/libcrypto/
DVersion.map466 BN_bn2binpad;
/freebsd-12-stable/contrib/wpa/src/crypto/
Dcrypto_openssl.c1404 return BN_bn2binpad((const BIGNUM *) a, buf, padlen); in crypto_bignum_to_bin()
/freebsd-12-stable/secure/lib/libcrypto/man/man3/
DMakefile823 MLINKS+= BN_bn2bin.3 BN_bn2binpad.3