Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_verify_hash.c34 void *w, *v, *u1, *u2; in dsa_verify_hash_raw() local
46 if ((err = mp_init_multi(&w, &v, &u1, &u2, NULL)) != CRYPT_OK) { in dsa_verify_hash_raw()
67 …if ((err = mp_mulmod(r, w, key->q, u2)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
71 …if ((err = mp_exptmod(key->y, u2, key->p, u2)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
72 …if ((err = mp_mulmod(u1, u2, key->p, v)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
82 mp_clear_multi(w, v, u1, u2, NULL); in dsa_verify_hash_raw()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
A Decc_verify_hash.c36 void *r, *s, *v, *w, *u1, *u2, *e, *p, *m, *a, *a_plus3; in ecc_verify_hash_ex() local
52 if ((err = mp_init_multi(&r, &s, &v, &w, &u1, &u2, &e, &a_plus3, NULL)) != CRYPT_OK) { in ecc_verify_hash_ex()
161 …if ((err = mp_mulmod(r, w, p, u2)) != CRYPT_OK) … in ecc_verify_hash_ex()
180 …if ((err = ltc_mp.ecc_ptmul(u2, mQ, mQ, a, m, 0)) != CRYPT_OK) … in ecc_verify_hash_ex()
189 …if ((err = ltc_mp.ecc_mul2add(mG, u1, mQ, u2, mG, ma, m)) != CRYPT_OK) … in ecc_verify_hash_ex()
207 mp_clear_multi(r, s, v, w, u1, u2, e, a_plus3, NULL); in ecc_verify_hash_ex()
A Decc_recover_key.c39 void *r, *s, *v, *w, *t1, *t2, *u1, *u2, *v1, *v2, *e, *x, *y, *a_plus3; in ecc_recover_key() local
56 …if ((err = mp_init_multi(&r, &s, &v, &w, &t1, &t2, &u1, &u2, &v1, &v2, &e, &x, &y, &a_plus3, NULL)… in ecc_recover_key()
213 …if ((err = mp_mulmod(r, w, p, u2)) != CRYPT_OK) … in ecc_recover_key()
233 …if ((err = ltc_mp.ecc_mul2add(mG, u1, mQ, u2, mG, ma, m)) != CRYPT_OK) … in ecc_recover_key()
261 mp_clear_multi(a_plus3, y, x, e, v2, v1, u2, u1, t2, t1, w, v, s, r, NULL); in ecc_recover_key()
/optee_os/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/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c659 S(u0, u1, u2, u3, u4); \ in _sosemanuk_internal()
678 ulong32 u0, u1, u2, u3, u4; in _sosemanuk_internal() local
683 STEP(02, 03, 04, 05, 06, 07, 08, 09, 00, 01, v2, u2); in _sosemanuk_internal()
688 STEP(06, 07, 08, 09, 00, 01, 02, 03, 04, 05, v2, u2); in _sosemanuk_internal()
693 STEP(00, 01, 02, 03, 04, 05, 06, 07, 08, 09, v2, u2); in _sosemanuk_internal()
698 STEP(04, 05, 06, 07, 08, 09, 00, 01, 02, 03, v2, u2); in _sosemanuk_internal()
703 STEP(08, 09, 00, 01, 02, 03, 04, 05, 06, 07, v2, u2); in _sosemanuk_internal()

Completed in 8 milliseconds