Searched refs:bn_x (Results 1 – 6 of 6) sorted by relevance
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf_getput_crypto.c | 53 BIGNUM *bn_x, *bn_y; in sshbuf_getput_crypto_tests() local 232 MKBN(ec256_x, bn_x); in sshbuf_getput_crypto_tests() 235 EC_KEY_get0_group(eck), ecp, bn_x, bn_y, NULL), 1); in sshbuf_getput_crypto_tests() 237 BN_free(bn_x); in sshbuf_getput_crypto_tests() 259 bn_x = BN_new(); in sshbuf_getput_crypto_tests() 261 ASSERT_PTR_NE(bn_x, NULL); in sshbuf_getput_crypto_tests() 265 bn_x, bn_y, NULL), 1); in sshbuf_getput_crypto_tests() 268 ASSERT_INT_EQ(BN_cmp(bn_x, bn), 0); in sshbuf_getput_crypto_tests() 273 BN_free(bn_x); in sshbuf_getput_crypto_tests()
|
/external/tpm2-tss/src/tss2-esys/ |
D | esys_crypto_bssl.c | 707 BIGNUM *bn_x = NULL; in tpm_pub_to_ossl_pub() local 711 if (!(bn_x = BN_bin2bn(&key->publicArea.unique.ecc.x.buffer[0], in tpm_pub_to_ossl_pub() 732 *tpm_pub_key, bn_x, in tpm_pub_to_ossl_pub() 745 OSSL_FREE(bn_x, BN); in tpm_pub_to_ossl_pub() 782 BIGNUM *bn_x = NULL; in iesys_cryptbssl_get_ecdh_point() local 844 if (!(bn_x = BN_new())) { in iesys_cryptbssl_get_ecdh_point() 852 if (1 != EC_POINT_get_affine_coordinates_GFp(group, eph_pub_key, bn_x, in iesys_cryptbssl_get_ecdh_point() 858 if (1 != iesys_bn2binpad(bn_x, &Q->x.buffer[0], key_size)) { in iesys_cryptbssl_get_ecdh_point() 889 if (1 != EC_POINT_get_affine_coordinates_GFp(group, mul_eph_tpm, bn_x, in iesys_cryptbssl_get_ecdh_point() 895 if (1 != iesys_bn2binpad(bn_x, &Z->buffer[0], key_size)) { in iesys_cryptbssl_get_ecdh_point() [all …]
|
D | esys_crypto_ossl.c | 718 BIGNUM *bn_x = NULL; in tpm_pub_to_ossl_pub() local 722 if (!(bn_x = BN_bin2bn(&key->publicArea.unique.ecc.x.buffer[0], in tpm_pub_to_ossl_pub() 743 *tpm_pub_key, bn_x, in tpm_pub_to_ossl_pub() 756 OSSL_FREE(bn_x, BN); in tpm_pub_to_ossl_pub() 793 BIGNUM *bn_x = NULL; in iesys_cryptossl_get_ecdh_point() local 855 if (!(bn_x = BN_new())) { in iesys_cryptossl_get_ecdh_point() 863 if (1 != EC_POINT_get_affine_coordinates_GFp(group, eph_pub_key, bn_x, in iesys_cryptossl_get_ecdh_point() 869 if (1 != iesys_bn2binpad(bn_x, &Q->x.buffer[0], key_size)) { in iesys_cryptossl_get_ecdh_point() 900 if (1 != EC_POINT_get_affine_coordinates_GFp(group, mul_eph_tpm, bn_x, in iesys_cryptossl_get_ecdh_point() 906 if (1 != iesys_bn2binpad(bn_x, &Z->buffer[0], key_size)) { in iesys_cryptossl_get_ecdh_point() [all …]
|
/external/libwebsockets/lib/tls/openssl/ |
D | lws-genec.c | 99 BIGNUM *bn_d, *bn_x, *bn_y; in lws_genec_eckey_import() local 113 bn_x = BN_bin2bn(el[LWS_GENCRYPTO_EC_KEYEL_X].buf, in lws_genec_eckey_import() 115 if (!bn_x) { in lws_genec_eckey_import() 126 n = EC_KEY_set_public_key_affine_coordinates(ec, bn_x, bn_y); in lws_genec_eckey_import() 127 BN_free(bn_x); in lws_genec_eckey_import() 168 BN_free(bn_x); in lws_genec_eckey_import()
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | ec.py | 263 bn_x = self._backend._lib.BN_CTX_get(bn_ctx) 266 res = get_func(group, point, bn_x, bn_y, bn_ctx) 269 x = self._backend._bn_to_int(bn_x)
|
D | backend.py | 1426 bn_x = self._lib.BN_CTX_get(bn_ctx) 1429 res = get_func(group, point, bn_x, bn_y, bn_ctx)
|