Searched refs:BN_bn2bin_padded (Results 1 – 9 of 9) sorted by relevance
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa_test.cc | 120 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/ |
D | ecdh.c | 127 if (!BN_bn2bin_padded(buf, buflen, x)) { in ECDH_compute_key()
|
/external/boringssl/src/crypto/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()
|
D | ec_asn1.c | 417 if (!BN_bn2bin_padded(buffer, buf_len, key->priv_key)) { in i2d_ECPrivateKey()
|
/external/boringssl/src/crypto/bn/ |
D | convert.c | 162 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()
|
D | bn_test.cc | 1471 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/ |
D | rsa_impl.c | 167 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/ |
D | ssl_ecdh.c | 140 if (secret == NULL || !BN_bn2bin_padded(secret, secret_len, x)) { in ssl_ec_point_compute_secret()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 254 OPENSSL_EXPORT int BN_bn2bin_padded(uint8_t *out, size_t len, const BIGNUM *in);
|