Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpk_wrap.c339 eckey_restart_ctx *rs = rs_ctx; in eckey_verify_rs_wrap() local
342 if( rs == NULL ) in eckey_verify_rs_wrap()
346 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_verify_rs_wrap()
347 MBEDTLS_MPI_CHK( mbedtls_ecdsa_from_keypair( &rs->ecdsa_ctx, ctx ) ); in eckey_verify_rs_wrap()
349 MBEDTLS_MPI_CHK( ecdsa_verify_rs_wrap( &rs->ecdsa_ctx, in eckey_verify_rs_wrap()
351 sig, sig_len, &rs->ecdsa_rs ) ); in eckey_verify_rs_wrap()
364 eckey_restart_ctx *rs = rs_ctx; in eckey_sign_rs_wrap() local
367 if( rs == NULL ) in eckey_sign_rs_wrap()
371 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_sign_rs_wrap()
374 MBEDTLS_MPI_CHK( ecdsa_sign_rs_wrap( &rs->ecdsa_ctx, md_alg, in eckey_sign_rs_wrap()
[all …]
A Decdh.c167 mbedtls_ecp_restart_init( &ctx->rs ); in ecdh_init_internal()
246 mbedtls_ecp_restart_free( &ctx->rs ); in ecdh_free_internal()
316 rs_ctx = &ctx->rs; in ecdh_make_params_internal()
538 rs_ctx = &ctx->rs; in ecdh_make_public_internal()
660 rs_ctx = &ctx->rs; in ecdh_calc_secret_internal()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Decdh.h92 mbedtls_ecp_restart_ctx rs; /*!< The restart context for EC computations. */ member
118 mbedtls_ecp_restart_ctx rs; /*!< The restart context for EC computations. */ member

Completed in 8 milliseconds