Home
last modified time | relevance | path

Searched refs:mp_init_multi (Results 1 – 25 of 36) sorted by relevance

12

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/
A Ddh_set.c29 if ((err = mp_init_multi(&key->x, &key->y, &key->base, &key->prime, LTC_NULL)) != CRYPT_OK) { in dh_set_pg()
61 if ((err = mp_init_multi(&key->x, &key->y, &key->base, &key->prime, LTC_NULL)) != CRYPT_OK) { in dh_set_pg_groupsize()
A Ddh_set_pg_dhparam.c27 if ((err = mp_init_multi(&key->x, &key->y, &key->base, &key->prime, LTC_NULL)) != CRYPT_OK) { in dh_set_pg_dhparam()
A Ddh_import.c25 if ((err = mp_init_multi(&key->x, &key->y, &key->base, &key->prime, LTC_NULL)) != CRYPT_OK) { in dh_import()
A Ddh_make_key.c98 err = mp_init_multi(&key->x, &key->y, NULL); in dh_make_key()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Ddsa.c69 ltc_res = mp_init_multi(&ltc_tmp_key.g, &ltc_tmp_key.p, &ltc_tmp_key.q, in crypto_acipher_gen_dsa_key()
137 ltc_res = mp_init_multi(&r, &s, NULL); in crypto_acipher_dsa_sign()
187 ltc_res = mp_init_multi(&r, &s, NULL); in crypto_acipher_dsa_verify()
A Ddh.c48 ltc_res = mp_init_multi(&ltc_tmp_key.base, &ltc_tmp_key.prime, NULL); in crypto_acipher_gen_dh_key()
A Dsm2-dsa.c40 ltc_res = mp_init_multi(&k, &e, &r, &s, &tmp, NULL); in sm2_ltc_dsa_sign()
159 ltc_res = mp_init_multi(&rprime, &sprime, &t, &mu, &ma, &eprime, &R, in sm2_ltc_dsa_verify()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_verify_hash.c39 if ((err = mp_init_multi(&w, &v, &u1, &u2, LTC_NULL)) != CRYPT_OK) { in dsa_verify_hash_raw()
101 if ((err = mp_init_multi(&r, &s, LTC_NULL)) != CRYPT_OK) { in dsa_verify_hash()
A Ddsa_sign_hash.c54 …if ((err = mp_init_multi(&k, &kinv, &tmp, LTC_NULL)) != CRYPT_OK) { goto ERRBUF;… in dsa_sign_hash_raw()
124 if (mp_init_multi(&r, &s, LTC_NULL) != CRYPT_OK) { in dsa_sign_hash()
A Ddsa_set_pqg_dsaparam.c28 err = mp_init_multi(&key->p, &key->g, &key->q, &key->x, &key->y, LTC_NULL); in dsa_set_pqg_dsaparam()
A Ddsa_encrypt_key.c53 if ((err = mp_init_multi(&g_pub, &g_priv, LTC_NULL)) != CRYPT_OK) { in dsa_encrypt_key()
A Ddsa_set.c33 err = mp_init_multi(&key->p, &key->g, &key->q, &key->x, &key->y, LTC_NULL); in dsa_set_pqg()
A Ddsa_generate_pqg.c111 err = mp_init_multi(&t2L1, &t2N1, &t2q, &t2seedlen, &U, &W, &X, &c, &h, &e, &seedinc, LTC_NULL); in s_dsa_make_params()
216 if ((err = mp_init_multi(&key->p, &key->g, &key->q, &key->x, &key->y, LTC_NULL)) != CRYPT_OK) { in dsa_generate_pqg()
A Ddsa_import.c31 if (mp_init_multi(&key->p, &key->g, &key->q, &key->x, &key->y, LTC_NULL) != CRYPT_OK) { in dsa_import()
A Ddsa_verify_key.c65 if ((err = mp_init_multi(&tmp1, &tmp2, LTC_NULL)) != CRYPT_OK) { return err; } in dsa_int_validate_pqg()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_is_point_at_infinity.c30 if ((err = mp_init_multi(&x3, &y2, LTC_NULL)) != CRYPT_OK) goto done; in ltc_ecc_is_point_at_infinity()
A Dltc_ecc_is_point.c24 if ((err = mp_init_multi(&t1, &t2, LTC_NULL)) != CRYPT_OK) return err; in ltc_ecc_is_point()
A Dltc_ecc_map.c33 if ((err = mp_init_multi(&t1, &t2, LTC_NULL)) != CRYPT_OK) { in ltc_ecc_map()
A Dltc_ecc_import_point.c15 if (mp_init_multi(&t1, &t2, LTC_NULL) != CRYPT_OK) { in ltc_ecc_import_point()
A Decc_set_curve_internal.c47 if ((err = mp_init_multi(&key->dp.prime, &key->dp.order, &key->dp.A, &key->dp.B, in ecc_copy_curve()
91 if ((err = mp_init_multi(&key->dp.prime, &key->dp.order, &key->dp.A, &key->dp.B, in ecc_set_curve_from_mpis()
A Decc_verify_hash.c45 if ((err = mp_init_multi(&r, &s, &v, &w, &u1, &u2, &e, &a_plus3, LTC_NULL)) != CRYPT_OK) { in ecc_verify_hash_ex()
166 …if ((err = mp_init_multi(&mu, &ma, LTC_NULL)) != CRYPT_OK) … in ecc_verify_hash_ex()
A Decc_set_curve.c15 if ((err = mp_init_multi(&key->dp.prime, &key->dp.order, &key->dp.A, &key->dp.B, in ecc_set_curve()
A Decc_recover_key.c49 …if ((err = mp_init_multi(&r, &s, &v, &w, &t1, &t2, &u1, &u2, &v1, &v2, &e, &x, &y, &a_plus3, LTC_N… in ecc_recover_key()
217 …if ((err = mp_init_multi(&mu, &ma, LTC_NULL)) != CRYPT_OK) … in ecc_recover_key()
A Decc_import_x509.c43 if ((err = mp_init_multi(&prime, &order, &a, &b, &gx, &gy, LTC_NULL)) != CRYPT_OK) { in s_ecc_import_x509_with_curve()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_key.c90 …return mp_init_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP, &key->qP, &key->p, &key->q, LT… in rsa_init()

Completed in 14 milliseconds

12