Home
last modified time | relevance | path

Searched refs:mp_sub_d (Results 1 – 6 of 6) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_make_key.c34 … if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto cleanup; } /* tmp1 = p-1 */ in s_rsa_make_key()
41 … if ((err = mp_sub_d( q, 1, tmp1)) != CRYPT_OK) { goto cleanup; } /* tmp1 = q-1 */ in s_rsa_make_key()
46 …if ((err = mp_sub_d( p, 1, tmp2)) != CRYPT_OK) { goto cleanup; } /* tmp2 = p-1 … in s_rsa_make_key()
61 …if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = p-1… in s_rsa_make_key()
62 …if ((err = mp_sub_d( q, 1, tmp2)) != CRYPT_OK) { goto errkey; } /* tmp2 = q-1… in s_rsa_make_key()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/
A Ddh_check_pubkey.c26 if ((err = mp_sub_d(key->prime, 1, p_minus1)) != CRYPT_OK) { in dh_check_pubkey()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_verify_key.c68 if ((err = mp_sub_d(key->p, 1, tmp1)) != CRYPT_OK) { goto error; } in dsa_int_validate_pqg()
146 if ((err = mp_sub_d(key->p, 1, tmp)) != CRYPT_OK) { in dsa_int_validate_xy()
A Ddsa_generate_pqg.c154 if ((err = mp_sub_d(c, 1, p)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
175 if ((err = mp_sub_d(p, 1, e)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
183 if ((err = mp_sub_d(h, 1, h)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dltm_desc.c267 return mpi_to_ltc_error(mp_sub_d(a, b, c)); in subi()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h198 #define mp_sub_d(a, b, c) ltc_mp.subi(a, b, c) macro

Completed in 8 milliseconds