Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/ecdsa/
Decdsa_test.cc120 if (!BN_bn2bin_padded(raw_buf.data(), bn_len, ecdsa_sig->r) || in TestTamperedSig()
121 !BN_bn2bin_padded(raw_buf.data() + bn_len, bn_len, ecdsa_sig->s)) { in TestTamperedSig()
/external/boringssl/src/crypto/ecdh/
Decdh.c127 if (!BN_bn2bin_padded(buf, buflen, x)) { in ECDH_compute_key()
/external/boringssl/src/crypto/ec/
Doct.c136 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()
Dec_asn1.c417 if (!BN_bn2bin_padded(buffer, buf_len, key->priv_key)) { in i2d_ECPrivateKey()
/external/boringssl/src/crypto/bn/
Dconvert.c162 int BN_bn2bin_padded(uint8_t *out, size_t len, const BIGNUM *in) { in BN_bn2bin_padded() function
201 return CBB_add_space(out, &ptr, len) && BN_bn2bin_padded(ptr, len, in); in BN_bn2cbb_padded()
Dbn_test.cc1471 if (!n || !BN_bn2bin_padded(NULL, 0, n.get())) { in test_bn2bin_padded()
1477 if (!BN_bn2bin_padded(out, sizeof(out), n.get())) { in test_bn2bin_padded()
1500 if (BN_bn2bin_padded(NULL, 0, n.get())) { in test_bn2bin_padded()
1506 if (BN_bn2bin_padded(out, bytes - 1, n.get())) { in test_bn2bin_padded()
1511 if (!BN_bn2bin_padded(out, bytes, n.get()) || in test_bn2bin_padded()
1517 if (!BN_bn2bin_padded(out, bytes + 1, n.get()) || in test_bn2bin_padded()
1523 if (!BN_bn2bin_padded(out, sizeof(out), n.get()) || in test_bn2bin_padded()
/external/boringssl/src/crypto/rsa/
Drsa_impl.c167 if (!BN_bn2bin_padded(out, rsa_size, result)) { in rsa_default_encrypt()
489 if (!BN_bn2bin_padded(buf, rsa_size, result)) { in rsa_default_verify_raw()
599 if (!BN_bn2bin_padded(out, len, result)) { in rsa_default_private_transform()
/external/boringssl/src/ssl/
Dssl_ecdh.c140 if (secret == NULL || !BN_bn2bin_padded(secret, secret_len, x)) { in ssl_ec_point_compute_secret()
/external/boringssl/src/include/openssl/
Dbn.h254 OPENSSL_EXPORT int BN_bn2bin_padded(uint8_t *out, size_t len, const BIGNUM *in);