Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_verify_hash.c27 void *w, *v, *u1, *u2; in dsa_verify_hash_raw() local
39 if ((err = mp_init_multi(&w, &v, &u1, &u2, LTC_NULL)) != CRYPT_OK) { in dsa_verify_hash_raw()
60 …if ((err = mp_mulmod(r, w, key->q, u2)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
64 …if ((err = mp_exptmod(key->y, u2, key->p, u2)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
65 …if ((err = mp_mulmod(u1, u2, key->p, v)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
75 mp_clear_multi(w, v, u1, u2, LTC_NULL); in dsa_verify_hash_raw()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_verify_hash.c29 void *r, *s, *v, *w, *u1, *u2, *e, *p, *m, *a, *a_plus3; in ecc_verify_hash_ex() local
45 if ((err = mp_init_multi(&r, &s, &v, &w, &u1, &u2, &e, &a_plus3, LTC_NULL)) != CRYPT_OK) { in ecc_verify_hash_ex()
155 …if ((err = mp_mulmod(r, w, p, u2)) != CRYPT_OK) … in ecc_verify_hash_ex()
174 …if ((err = ltc_mp.ecc_ptmul(u2, mQ, mQ, a, m, 0)) != CRYPT_OK) … in ecc_verify_hash_ex()
183 …if ((err = ltc_mp.ecc_mul2add(mG, u1, mQ, u2, mG, ma, m)) != CRYPT_OK) … in ecc_verify_hash_ex()
201 mp_clear_multi(r, s, v, w, u1, u2, e, a_plus3, LTC_NULL); in ecc_verify_hash_ex()
A Decc_recover_key.c32 void *r, *s, *v, *w, *t1, *t2, *u1, *u2, *v1, *v2, *e, *x, *y, *a_plus3; in ecc_recover_key() local
49 …if ((err = mp_init_multi(&r, &s, &v, &w, &t1, &t2, &u1, &u2, &v1, &v2, &e, &x, &y, &a_plus3, LTC_N… in ecc_recover_key()
207 …if ((err = mp_mulmod(r, w, p, u2)) != CRYPT_OK) … in ecc_recover_key()
227 …if ((err = ltc_mp.ecc_mul2add(mG, u1, mQ, u2, mG, ma, m)) != CRYPT_OK) … in ecc_recover_key()
255 mp_clear_multi(a_plus3, y, x, e, v2, v1, u2, u1, t2, t1, w, v, s, r, LTC_NULL); in ecc_recover_key()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Decdsa.c63 mbedtls_mpi u1, u2; /* intermediate values */ member
76 mbedtls_mpi_init( &ctx->u2 ); in ecdsa_restart_ver_init()
89 mbedtls_mpi_free( &ctx->u2 ); in ecdsa_restart_ver_free()
605 mbedtls_mpi e, s_inv, u1, u2; in ecdsa_verify_restartable() local
607 mbedtls_mpi *pu1 = &u1, *pu2 = &u2; in ecdsa_verify_restartable()
611 mbedtls_mpi_init( &u1 ); mbedtls_mpi_init( &u2 ); in ecdsa_verify_restartable()
624 pu2 = &rs_ctx->ver->u2; in ecdsa_verify_restartable()
696 mbedtls_mpi_free( &u1 ); mbedtls_mpi_free( &u2 ); in ecdsa_verify_restartable()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c652 S(u0, u1, u2, u3, u4); \ in s_sosemanuk_internal()
671 ulong32 u0, u1, u2, u3, u4; in s_sosemanuk_internal() local
676 STEP(02, 03, 04, 05, 06, 07, 08, 09, 00, 01, v2, u2); in s_sosemanuk_internal()
681 STEP(06, 07, 08, 09, 00, 01, 02, 03, 04, 05, v2, u2); in s_sosemanuk_internal()
686 STEP(00, 01, 02, 03, 04, 05, 06, 07, 08, 09, v2, u2); in s_sosemanuk_internal()
691 STEP(04, 05, 06, 07, 08, 09, 00, 01, 02, 03, v2, u2); in s_sosemanuk_internal()
696 STEP(08, 09, 00, 01, 02, 03, 04, 05, 06, 07, v2, u2); in s_sosemanuk_internal()

Completed in 8 milliseconds