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 D | rsa_make_key.c | 34 … 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 D | dh_check_pubkey.c | 26 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 D | dsa_verify_key.c | 68 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 D | dsa_generate_pqg.c | 154 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 D | ltm_desc.c | 267 return mpi_to_ltc_error(mp_sub_d(a, b, c)); in subi()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 198 #define mp_sub_d(a, b, c) ltc_mp.subi(a, b, c) macro
|
Completed in 8 milliseconds