Home
last modified time | relevance | path

Searched refs:mp_init (Results 1 – 19 of 19) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_mulmod_timing.c46 if ((err = mp_init(&mu)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
50 if ((err = mp_init(&a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
53 if ((err = mp_init(&ma)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
A Decc_sizes.c24 if (mp_init(&prime) == CRYPT_OK) { in ecc_sizes()
A Dltc_ecc_mulmod.c47 if ((err = mp_init(&mu)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
51 if ((err = mp_init(&a_plus3)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
54 if ((err = mp_init(&ma)) != CRYPT_OK) { goto error; } in ltc_ecc_mulmod()
A Dltc_ecc_mul2add.c90 if ((err = mp_init(&mu)) != CRYPT_OK) { in ltc_ecc_mul2add()
A Decc_set_curve_internal.c21 if (mp_init(&bn) != CRYPT_OK) return; in s_ecc_oid_lookup()
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dradix_to_bin.c37 if ((err = mp_init(&mpi)) != CRYPT_OK) return err; in radix_to_bin()
A Dmulti.c16 if (mp_init(cur) != CRYPT_OK) { in ltc_init_multi()
A Dltm_desc.c65 if ((err = mpi_to_ltc_error(mp_init(*a))) != CRYPT_OK) { in init()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/integer/
A Dder_decode_integer.c53 if (mp_init(&tmp) != CRYPT_OK) { in der_decode_integer()
A Dder_encode_integer.c81 if (mp_init(&tmp) != CRYPT_OK) { in der_encode_integer()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/
A Ddh_check_pubkey.c21 if ((err = mp_init(&p_minus1)) != CRYPT_OK) { in dh_check_pubkey()
A Ddh_shared_secret.c38 if ((err = mp_init(&tmp)) != CRYPT_OK) { in dh_shared_secret()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_shared_secret.c35 if ((err = mp_init(&res)) != CRYPT_OK) { in dsa_shared_secret()
A Ddsa_decrypt_key.c56 if ((err = mp_init(&g_pub)) != CRYPT_OK) { in dsa_decrypt_key()
A Ddsa_verify_key.c143 if ((err = mp_init(&tmp)) != CRYPT_OK) { in dsa_int_validate_xy()
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/fp/
A Dltc_ecc_fp_mulmod.c790 if ((err = mp_init(&order)) != CRYPT_OK) { in s_accel_fp_mul()
800 if ((err = mp_init(&tk)) != CRYPT_OK) { in s_accel_fp_mul()
915 if ((err = mp_init(&order)) != CRYPT_OK) { in ss_accel_fp_mul2add()
925 if ((err = mp_init(&tka)) != CRYPT_OK) { in ss_accel_fp_mul2add()
953 if ((err = mp_init(&order)) != CRYPT_OK) { in ss_accel_fp_mul2add()
963 if ((err = mp_init(&tkb)) != CRYPT_OK) { in ss_accel_fp_mul2add()
1157 if ((err = mp_init(&mu)) != CRYPT_OK) { in ltc_ecc_fp_mul2add()
1177 if ((err = mp_init(&mu)) != CRYPT_OK) { in ltc_ecc_fp_mul2add()
1256 if ((err = mp_init(&mu)) != CRYPT_OK) { in ltc_ecc_fp_mulmod()
1355 if ((err = mp_init(&mu)) != CRYPT_OK) { in ltc_ecc_fp_add_point()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_make_key.c101 if ((err = mp_init(&tmp_e)) != CRYPT_OK) { in rsa_make_key()
129 if ((err = mp_init(&tmp_e)) != CRYPT_OK) { in rsa_make_key_ubin_e()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
A Dder_decode_sequence_flexi.c152 if ((err = mp_init(&l->data)) != CRYPT_OK) { in s_der_decode_sequence_flexi()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h166 #define mp_init(a) ltc_mp.init(a) macro

Completed in 19 milliseconds