Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
A Dpk_wrap.c300 mbedtls_ecdsa_context ecdsa_ctx; member
313 mbedtls_ecdsa_init( &rs_ctx->ecdsa_ctx ); in eckey_rs_alloc()
328 mbedtls_ecdsa_free( &rs_ctx->ecdsa_ctx ); in eckey_rs_free()
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()
371 if( rs->ecdsa_ctx.grp.pbits == 0 ) in eckey_sign_rs_wrap()
372 MBEDTLS_MPI_CHK( mbedtls_ecdsa_from_keypair( &rs->ecdsa_ctx, ctx ) ); in eckey_sign_rs_wrap()
374 MBEDTLS_MPI_CHK( ecdsa_sign_rs_wrap( &rs->ecdsa_ctx, md_alg, in eckey_sign_rs_wrap()

Completed in 4 milliseconds