Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_make_key.c41 … if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto cleanup; } /* tmp1 = p-1 */ in s_rsa_make_key()
48 … if ((err = mp_sub_d( q, 1, tmp1)) != CRYPT_OK) { goto cleanup; } /* tmp1 = q-1 */ in s_rsa_make_key()
53 …if ((err = mp_sub_d( p, 1, tmp2)) != CRYPT_OK) { goto cleanup; } /* tmp2 = p-1 … in s_rsa_make_key()
68 …if ((err = mp_sub_d( p, 1, tmp1)) != CRYPT_OK) { goto errkey; } /* tmp1 = q-1… in s_rsa_make_key()
69 …if ((err = mp_sub_d( q, 1, tmp2)) != CRYPT_OK) { goto errkey; } /* tmp2 = p-1… in s_rsa_make_key()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c161 if ((err = mp_sub_d(c, 1, p)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
182 if ((err = mp_sub_d(p, 1, e)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
190 if ((err = mp_sub_d(h, 1, h)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
A Ddsa_verify_key.c75 if ((err = mp_sub_d(key->p, 1, tmp1)) != CRYPT_OK) { goto error; } in dsa_int_validate_pqg()
153 if ((err = mp_sub_d(key->p, 1, tmp)) != CRYPT_OK) { in dsa_int_validate_xy()
/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_check_pubkey.c33 if ((err = mp_sub_d(key->prime, 1, p_minus1)) != CRYPT_OK) { in dh_check_pubkey()
/optee_os/core/lib/libtomcrypt/src/math/
A Dltm_desc.c243 return mpi_to_ltc_error(mp_sub_d(a, b, c)); in subi()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h185 #define mp_sub_d(a, b, c) ltc_mp.subi(a, b, c) macro

Completed in 7 milliseconds