Searched refs:bn_result (Results 1 - 18 of 18) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant-0.7.3/src/crypto/
H A Dcrypto_internal-modexp.c27 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
33 bn_result = bignum_init();
36 bn_result == NULL)
44 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
47 ret = bignum_get_unsigned_bin(bn_result, result, result_len);
53 bignum_deinit(bn_result);
H A Dcrypto_gnutls.c166 bn_result = NULL; local
176 bn_result = gcry_mpi_new(modulus_len * 8);
178 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
181 bn_result) != GPG_ERR_NO_ERROR)
190 gcry_mpi_release(bn_result);
H A Dcrypto_openssl.c267 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
278 bn_result = BN_new();
281 bn_result == NULL)
284 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
287 *result_len = BN_bn2bin(bn_result, result);
294 BN_free(bn_result);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant-0.7.3/src/crypto/
H A Dcrypto_internal-modexp.c27 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
33 bn_result = bignum_init();
36 bn_result == NULL)
44 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
47 ret = bignum_get_unsigned_bin(bn_result, result, result_len);
53 bignum_deinit(bn_result);
H A Dcrypto_gnutls.c166 bn_result = NULL; local
176 bn_result = gcry_mpi_new(modulus_len * 8);
178 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
181 bn_result) != GPG_ERR_NO_ERROR)
190 gcry_mpi_release(bn_result);
H A Dcrypto_openssl.c267 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
278 bn_result = BN_new();
281 bn_result == NULL)
284 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
287 *result_len = BN_bn2bin(bn_result, result);
294 BN_free(bn_result);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/src/crypto/
H A Dcrypto_internal-modexp.c27 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
33 bn_result = bignum_init();
36 bn_result == NULL)
44 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
47 ret = bignum_get_unsigned_bin(bn_result, result, result_len);
53 bignum_deinit(bn_result);
H A Dcrypto_gnutls.c166 bn_result = NULL; local
176 bn_result = gcry_mpi_new(modulus_len * 8);
178 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
181 bn_result) != GPG_ERR_NO_ERROR)
190 gcry_mpi_release(bn_result);
H A Dcrypto_openssl.c267 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
278 bn_result = BN_new();
281 bn_result == NULL)
284 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
287 *result_len = BN_bn2bin(bn_result, result);
294 BN_free(bn_result);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c217 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
228 bn_result = BN_new();
231 bn_result == NULL)
234 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
237 *result_len = BN_bn2bin(bn_result, result);
244 BN_free(bn_result);
H A Dcrypto_gnutls.c172 bn_result = NULL; local
182 bn_result = gcry_mpi_new(modulus_len * 8);
184 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
187 bn_result) != GPG_ERR_NO_ERROR)
196 gcry_mpi_release(bn_result);
H A Dcrypto_internal.c803 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
809 bn_result = bignum_init();
812 bn_result == NULL)
820 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
823 ret = bignum_get_unsigned_bin(bn_result, result, result_len);
829 bignum_deinit(bn_result);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c217 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
228 bn_result = BN_new();
231 bn_result == NULL)
234 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
237 *result_len = BN_bn2bin(bn_result, result);
244 BN_free(bn_result);
H A Dcrypto_gnutls.c172 bn_result = NULL; local
182 bn_result = gcry_mpi_new(modulus_len * 8);
184 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
187 bn_result) != GPG_ERR_NO_ERROR)
196 gcry_mpi_release(bn_result);
H A Dcrypto_internal.c803 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
809 bn_result = bignum_init();
812 bn_result == NULL)
820 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
823 ret = bignum_get_unsigned_bin(bn_result, result, result_len);
829 bignum_deinit(bn_result);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c217 BIGNUM *bn_base, *bn_exp, *bn_modulus, *bn_result; local
228 bn_result = BN_new();
231 bn_result == NULL)
234 if (BN_mod_exp(bn_result, bn_base, bn_exp, bn_modulus, ctx) != 1)
237 *result_len = BN_bn2bin(bn_result, result);
244 BN_free(bn_result);
H A Dcrypto_gnutls.c172 bn_result = NULL; local
182 bn_result = gcry_mpi_new(modulus_len * 8);
184 gcry_mpi_powm(bn_result, bn_base, bn_exp, bn_modulus);
187 bn_result) != GPG_ERR_NO_ERROR)
196 gcry_mpi_release(bn_result);
H A Dcrypto_internal.c803 struct bignum *bn_base, *bn_exp, *bn_modulus, *bn_result; local
809 bn_result = bignum_init();
812 bn_result == NULL)
820 if (bignum_exptmod(bn_base, bn_exp, bn_modulus, bn_result) < 0)
823 ret = bignum_get_unsigned_bin(bn_result, result, result_len);
829 bignum_deinit(bn_result);

Completed in 207 milliseconds