/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
D | polochallengeresponse.cc | 69 BN_bn2bin(client_pub_rsa->n, pos); in GetAlpha() 72 BN_bn2bin(client_pub_rsa->e, pos); in GetAlpha() 75 BN_bn2bin(server_pub_rsa->n, pos); in GetAlpha() 78 BN_bn2bin(server_pub_rsa->e, pos); in GetAlpha()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 529 BN_bn2bin(data->my_scalar, scalar + offset); in eap_pwd_perform_commit_exchange() 532 BN_bn2bin(x, element + offset); in eap_pwd_perform_commit_exchange() 534 BN_bn2bin(y, element + BN_num_bytes(data->grp->prime) + offset); in eap_pwd_perform_commit_exchange() 620 BN_bn2bin(data->k, cruft + offset); in eap_pwd_perform_confirm_exchange() 633 BN_bn2bin(x, cruft + offset); in eap_pwd_perform_confirm_exchange() 637 BN_bn2bin(y, cruft + offset); in eap_pwd_perform_confirm_exchange() 644 BN_bn2bin(data->server_scalar, cruft + offset); in eap_pwd_perform_confirm_exchange() 658 BN_bn2bin(x, cruft + offset); in eap_pwd_perform_confirm_exchange() 662 BN_bn2bin(y, cruft + offset); in eap_pwd_perform_confirm_exchange() 669 BN_bn2bin(data->my_scalar, cruft + offset); in eap_pwd_perform_confirm_exchange() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 273 BN_bn2bin(data->my_scalar, scalar + offset); in eap_pwd_build_commit_req() 276 BN_bn2bin(x, element + offset); in eap_pwd_build_commit_req() 278 BN_bn2bin(y, element + BN_num_bytes(data->grp->prime) + offset); in eap_pwd_build_commit_req() 341 BN_bn2bin(data->k, cruft + offset); in eap_pwd_build_confirm_req() 355 BN_bn2bin(x, cruft + offset); in eap_pwd_build_confirm_req() 359 BN_bn2bin(y, cruft + offset); in eap_pwd_build_confirm_req() 366 BN_bn2bin(data->my_scalar, cruft + offset); in eap_pwd_build_confirm_req() 380 BN_bn2bin(x, cruft + offset); in eap_pwd_build_confirm_req() 384 BN_bn2bin(y, cruft + offset); in eap_pwd_build_confirm_req() 391 BN_bn2bin(data->peer_scalar, cruft + offset); in eap_pwd_build_confirm_req() [all …]
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_test.c | 220 i = BN_bn2bin(dsa->q, buf); in test_generate() 227 i = BN_bn2bin(dsa->p, buf); in test_generate() 234 i = BN_bn2bin(dsa->g, buf); in test_generate()
|
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
D | poloutil.cc | 40 BN_bn2bin(bn, &bytes[0]); in HexStringToBytes() 59 BN_bn2bin(bn, &bytes[4 - length]); in IntToBigEndianBytes()
|
/external/openssh/ |
D | rsa.c | 94 BN_bn2bin(in, inbuf); in rsa_public_encrypt() 137 BN_bn2bin(in, inbuf); in rsa_private_decrypt()
|
D | ssh-dss.c | 86 BN_bn2bin(sig->r, sigblob + SIGBLOB_LEN - INTBLOB_LEN - rlen); in ssh_dss_sign() 87 BN_bn2bin(sig->s, sigblob + SIGBLOB_LEN - slen); in ssh_dss_sign()
|
D | sshbuf-getput-crypto.c | 155 if (BN_bn2bin(v, d + 1) != len) in sshbuf_put_bignum2() 177 if (BN_bn2bin(v, d) != (int)len_bytes) in sshbuf_put_bignum1()
|
D | auth-rsa.c | 113 BN_bn2bin(challenge, buf + 32 - len); in auth_rsa_verify_response()
|
D | kex.c | 801 if (BN_bn2bin(host_modulus, hbuf) <= 0 || in derive_ssh1_session_id() 802 BN_bn2bin(server_modulus, sbuf) <= 0) { in derive_ssh1_session_id()
|
D | sshconnect1.c | 193 BN_bn2bin(challenge, buf + sizeof(buf) - len); in respond_to_rsa_challenge()
|
D | ssh-agent.c | 339 BN_bn2bin(challenge, buf + 32 - len); in process_authentication_challenge1()
|
/external/ipsec-tools/src/racoon/ |
D | plainrsa-gen.c | 94 binbuf[0] = BN_bn2bin(key->e, (unsigned char *) &binbuf[1]); in mix_b64_pubkey() 95 ret = BN_bn2bin(key->n, (unsigned char *) (&binbuf[binbuf[0] + 1])); in mix_b64_pubkey()
|
D | crypto_openssl.c | 266 BN_bn2bin(bn, (unsigned char *) binbuf); in eay_hex2asn1dn() 2601 (*var)->l = BN_bn2bin(bn, (unsigned char *) (*var)->v); 2798 BN_bn2bin(in, (unsigned char *) binbuf->v); in bignum_pubkey2rsa()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 313 BN_bn2bin(peer_scalar, cruft + offset); in compute_keys() 317 BN_bn2bin(server_scalar, cruft + offset); in compute_keys() 329 BN_bn2bin(k, cruft + offset); in compute_keys()
|
/external/boringssl/src/crypto/asn1/ |
D | t_pkey.c | 92 n=BN_bn2bin(num,&buf[1]); in ASN1_bn_print()
|
D | x_bignum.c | 120 BN_bn2bin(bn, cont); in bn_i2c()
|
D | a_enum.c | 168 ret->length=BN_bn2bin(bn,ret->data); in BN_to_ASN1_ENUMERATED()
|
D | a_int.c | 436 ret->length=BN_bn2bin(bn,ret->data); in BN_to_ASN1_INTEGER()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8.c | 180 !BN_bn2bin(Ij, B)) { in pkcs12_key_gen_raw() 186 if (!BN_bn2bin(Ij, B)) { in pkcs12_key_gen_raw() 193 if (!BN_bn2bin(Ij, I + j + v - Ijlen)) { in pkcs12_key_gen_raw() 196 } else if (!BN_bn2bin(Ij, I + j)) { in pkcs12_key_gen_raw()
|
/external/boringssl/src/crypto/dh/ |
D | dh_impl.c | 304 ret = BN_bn2bin(shared_key, out); in compute_key()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 402 *result_len = BN_bn2bin(bn_result, result); in crypto_mod_exp() 563 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init() 564 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init() 967 BN_bn2bin((const BIGNUM *) a, buf + offset); in crypto_bignum_to_bin()
|
/external/boringssl/src/crypto/ec/ |
D | p256-64.c | 142 num_bytes = BN_bn2bin(bn, b_in); in BN_to_felem() 1824 num_bytes = BN_bn2bin(tmp_scalar, tmp); in ec_GFp_nistp256_points_mul() 1826 num_bytes = BN_bn2bin(p_scalar, tmp); in ec_GFp_nistp256_points_mul() 1869 num_bytes = BN_bn2bin(tmp_scalar, tmp); in ec_GFp_nistp256_points_mul() 1871 num_bytes = BN_bn2bin(scalar, tmp); in ec_GFp_nistp256_points_mul()
|
/external/boringssl/src/crypto/bn/ |
D | convert.c | 114 size_t BN_bn2bin(const BIGNUM *in, uint8_t *out) { in BN_bn2bin() function
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 247 OPENSSL_EXPORT size_t BN_bn2bin(const BIGNUM *in, uint8_t *out);
|