Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_sign_hash.c27 void *k, *kinv, *tmp; in dsa_sign_hash_raw() local
54 …if ((err = mp_init_multi(&k, &kinv, &tmp, LTC_NULL)) != CRYPT_OK) { goto ERRBUF;… in dsa_sign_hash_raw()
71 …if ((err = mp_invmod(k, key->q, kinv)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
86 …if ((err = mp_mulmod(s, kinv, key->q, s)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
92 mp_clear_multi(k, kinv, tmp, LTC_NULL); in dsa_sign_hash_raw()

Completed in 2 milliseconds