/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_verify_hash.c | 39 if ((err = mp_init_multi(&w, &v, &u1, &u2, LTC_NULL)) != CRYPT_OK) { in dsa_verify_hash_raw() 75 mp_clear_multi(w, v, u1, u2, LTC_NULL); in dsa_verify_hash_raw() 101 if ((err = mp_init_multi(&r, &s, LTC_NULL)) != CRYPT_OK) { in dsa_verify_hash() 122 mp_clear_multi(r, s, LTC_NULL); in dsa_verify_hash()
|
A D | dsa_sign_hash.c | 54 …if ((err = mp_init_multi(&k, &kinv, &tmp, LTC_NULL)) != CRYPT_OK) { goto ERRBUF;… in dsa_sign_hash_raw() 92 mp_clear_multi(k, kinv, tmp, LTC_NULL); in dsa_sign_hash_raw() 124 if (mp_init_multi(&r, &s, LTC_NULL) != CRYPT_OK) { in dsa_sign_hash() 138 mp_clear_multi(r, s, LTC_NULL); in dsa_sign_hash()
|
A D | dsa_encrypt_key.c | 53 if ((err = mp_init_multi(&g_pub, &g_priv, LTC_NULL)) != CRYPT_OK) { in dsa_encrypt_key() 66 mp_clear_multi(g_pub, g_priv, LTC_NULL); in dsa_encrypt_key() 114 mp_clear_multi(g_pub, g_priv, LTC_NULL); in dsa_encrypt_key()
|
A D | dsa_free.c | 19 mp_cleanup_multi(&key->y, &key->x, &key->q, &key->g, &key->p, LTC_NULL); in dsa_free()
|
A D | dsa_set_pqg_dsaparam.c | 28 err = mp_init_multi(&key->p, &key->g, &key->q, &key->x, &key->y, LTC_NULL); in dsa_set_pqg_dsaparam()
|
A D | dsa_verify_key.c | 65 if ((err = mp_init_multi(&tmp1, &tmp2, LTC_NULL)) != CRYPT_OK) { return err; } in dsa_int_validate_pqg() 87 mp_clear_multi(tmp2, tmp1, LTC_NULL); in dsa_int_validate_pqg()
|
A D | dsa_generate_pqg.c | 111 err = mp_init_multi(&t2L1, &t2N1, &t2q, &t2seedlen, &U, &W, &X, &c, &h, &e, &seedinc, LTC_NULL); in s_dsa_make_params() 190 mp_clear_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()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_is_point_at_infinity.c | 30 if ((err = mp_init_multi(&x3, &y2, LTC_NULL)) != CRYPT_OK) goto done; in ltc_ecc_is_point_at_infinity() 48 mp_clear_multi(x3, y2, LTC_NULL); in ltc_ecc_is_point_at_infinity()
|
A D | ltc_ecc_points.c | 25 &p->x, &p->y, &p->z, LTC_NULL) != CRYPT_OK) { in ltc_ecc_new_point() 39 …mp_clear_multi(p->x, p->y, p->z, LTC_NULL); /* note: p->z may be NULL but that's ok with this func… in ltc_ecc_del_point()
|
A D | ltc_ecc_is_point.c | 24 if ((err = mp_init_multi(&t1, &t2, LTC_NULL)) != CRYPT_OK) return err; in ltc_ecc_is_point() 58 mp_clear_multi(t1, t2, LTC_NULL); in ltc_ecc_is_point()
|
A D | ltc_ecc_map.c | 33 if ((err = mp_init_multi(&t1, &t2, LTC_NULL)) != CRYPT_OK) { in ltc_ecc_map() 58 mp_clear_multi(t1, t2, LTC_NULL); in ltc_ecc_map()
|
A D | ltc_ecc_import_point.c | 15 if (mp_init_multi(&t1, &t2, LTC_NULL) != CRYPT_OK) { in ltc_ecc_import_point() 57 mp_clear_multi(t1, t2, LTC_NULL); in ltc_ecc_import_point()
|
A D | ecc_verify_hash.c | 45 if ((err = mp_init_multi(&r, &s, &v, &w, &u1, &u2, &e, &a_plus3, LTC_NULL)) != CRYPT_OK) { in ecc_verify_hash_ex() 69 … LTC_ASN1_EOL, 0UL, LTC_NULL)) != CRYPT_OK) { goto error; } in ecc_verify_hash_ex() 166 …if ((err = mp_init_multi(&mu, &ma, LTC_NULL)) != CRYPT_OK) … in ecc_verify_hash_ex() 201 mp_clear_multi(r, s, v, w, u1, u2, e, a_plus3, LTC_NULL); in ecc_verify_hash_ex()
|
A D | ecc_recover_key.c | 49 …multi(&r, &s, &v, &w, &t1, &t2, &u1, &u2, &v1, &v2, &e, &x, &y, &a_plus3, LTC_NULL)) != CRYPT_OK) { in ecc_recover_key() 75 … LTC_ASN1_EOL, 0UL, LTC_NULL)) != CRYPT_OK) { goto error; } in ecc_recover_key() 217 …if ((err = mp_init_multi(&mu, &ma, LTC_NULL)) != CRYPT_OK) … in ecc_recover_key() 255 mp_clear_multi(a_plus3, y, x, e, v2, v1, u2, u1, t2, t1, w, v, s, r, LTC_NULL); in ecc_recover_key()
|
A D | ecc_import_x509.c | 43 if ((err = mp_init_multi(&prime, &order, &a, &b, &gx, &gy, LTC_NULL)) != CRYPT_OK) { in s_ecc_import_x509_with_curve() 82 mp_clear_multi(prime, order, a, b, gx, gy, LTC_NULL); in s_ecc_import_x509_with_curve()
|
A D | ecc_import_openssl.c | 52 if ((err = mp_init_multi(&prime, &order, &a, &b, &gx, &gy, LTC_NULL)) != CRYPT_OK) { in s_ecc_import_private_with_curve() 98 mp_clear_multi(prime, order, a, b, gx, gy, LTC_NULL); in s_ecc_import_private_with_curve()
|
A D | ltc_ecc_projective_add_point.c | 34 if ((err = mp_init_multi(&t1, &t2, &x, &y, &z, LTC_NULL)) != CRYPT_OK) { in ltc_ecc_projective_add_point() 55 mp_clear_multi(t1, t2, x, y, z, LTC_NULL); in ltc_ecc_projective_add_point() 193 mp_clear_multi(t1, t2, x, y, z, LTC_NULL); in ltc_ecc_projective_add_point()
|
A D | ecc_import_pkcs8.c | 63 err = mp_init_multi(&a, &b, &gx, &gy, LTC_NULL); in ecc_import_pkcs8() 180 mp_clear_multi(a, b, gx, gy, LTC_NULL); in ecc_import_pkcs8()
|
A D | ecc_sign_hash.c | 49 if ((err = mp_init_multi(&r, &s, &e, &b, LTC_NULL)) != CRYPT_OK) { in ecc_sign_hash_ex() 177 mp_clear_multi(r, s, e, b, LTC_NULL); in ecc_sign_hash_ex()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_free.c | 15 mp_cleanup_multi(&key->prime, &key->base, &key->y, &key->x, LTC_NULL); in dh_free()
|
A D | dh_set.c | 29 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 D | dh_set_pg_dhparam.c | 27 if ((err = mp_init_multi(&key->x, &key->y, &key->base, &key->prime, LTC_NULL)) != CRYPT_OK) { in dh_set_pg_dhparam()
|
A D | dh_import.c | 25 if ((err = mp_init_multi(&key->x, &key->y, &key->base, &key->prime, LTC_NULL)) != CRYPT_OK) { in dh_import()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_key.c | 90 …mp_init_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP, &key->qP, &key->p, &key->q, LTC_NULL); in rsa_init() 100 …cleanup_multi(&key->q, &key->p, &key->qP, &key->dP, &key->dQ, &key->N, &key->d, &key->e, LTC_NULL); in rsa_free()
|
A D | rsa_make_key.c | 25 if ((err = mp_init_multi(&p, &q, &tmp1, &tmp2, LTC_NULL)) != CRYPT_OK) { in s_rsa_make_key() 79 mp_clear_multi(tmp2, tmp1, q, p, LTC_NULL); in s_rsa_make_key()
|