Searched refs:mp_sub_d (Results 1 – 6 of 6) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_make_key.c | 41 … 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 D | dsa_generate_pqg.c | 161 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 D | dsa_verify_key.c | 75 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 D | dh_check_pubkey.c | 33 if ((err = mp_sub_d(key->prime, 1, p_minus1)) != CRYPT_OK) { in dh_check_pubkey()
|
/optee_os/core/lib/libtomcrypt/src/math/ |
A D | ltm_desc.c | 243 return mpi_to_ltc_error(mp_sub_d(a, b, c)); in subi()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 185 #define mp_sub_d(a, b, c) ltc_mp.subi(a, b, c) macro
|
Completed in 7 milliseconds