Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Decdsa.c170 #define ECDSA_RS_ECP ( rs_ctx == NULL ? NULL : &rs_ctx->ecp )
179 if( rs_ctx != NULL && rs_ctx->ecp.depth++ == 0 ) \
184 rs_ctx != NULL && rs_ctx->SUB == NULL ) \
280 if( rs_ctx != NULL && rs_ctx->sig != NULL ) in ecdsa_sign_restartable()
321 if( rs_ctx != NULL && rs_ctx->sig != NULL ) in ecdsa_sign_restartable()
335 if( rs_ctx != NULL && rs_ctx->sig != NULL ) in ecdsa_sign_restartable()
373 if( rs_ctx != NULL && rs_ctx->sig != NULL ) in ecdsa_sign_restartable()
449 if( rs_ctx != NULL && rs_ctx->det != NULL ) in ecdsa_sign_det_restartable()
467 if( rs_ctx != NULL && rs_ctx->det != NULL ) in ecdsa_sign_det_restartable()
620 if( rs_ctx != NULL && rs_ctx->ver != NULL ) in ecdsa_verify_restartable()
[all …]
A Decp.c1870 if( rs_ctx != NULL && rs_ctx->rsm != NULL ) in ecp_precompute_comb()
1886 if( rs_ctx != NULL && rs_ctx->rsm != NULL ) in ecp_precompute_comb()
1903 if( rs_ctx != NULL && rs_ctx->rsm != NULL && rs_ctx->rsm->i != 0 ) in ecp_precompute_comb()
1923 if( rs_ctx != NULL && rs_ctx->rsm != NULL ) in ecp_precompute_comb()
2051 if( rs_ctx != NULL && rs_ctx->rsm != NULL && rs_ctx->rsm->i != 0 ) in ecp_mul_comb_core()
2335 if( rs_ctx != NULL && rs_ctx->rsm != NULL && rs_ctx->rsm->T != NULL ) in ecp_mul_comb()
2858 if( rs_ctx != NULL && rs_ctx->ma != NULL ) in mbedtls_ecp_muladd_restartable()
2876 if( rs_ctx != NULL && rs_ctx->ma != NULL ) in mbedtls_ecp_muladd_restartable()
2889 if( rs_ctx != NULL && rs_ctx->ma != NULL ) in mbedtls_ecp_muladd_restartable()
2897 if( rs_ctx != NULL && rs_ctx->ma != NULL ) in mbedtls_ecp_muladd_restartable()
[all …]
A Dpk.c85 ctx->rs_ctx = NULL; in mbedtls_pk_restart_init()
99 ctx->pk_info->rs_free_func( ctx->rs_ctx ); in mbedtls_pk_restart_free()
102 ctx->rs_ctx = NULL; in mbedtls_pk_restart_free()
295 if( rs_ctx != NULL && in mbedtls_pk_verify_restartable()
305 md_alg, hash, hash_len, sig, sig_len, rs_ctx->rs_ctx ); in mbedtls_pk_verify_restartable()
308 mbedtls_pk_restart_free( rs_ctx ); in mbedtls_pk_verify_restartable()
313 (void) rs_ctx; in mbedtls_pk_verify_restartable()
405 mbedtls_pk_restart_ctx *rs_ctx ) in mbedtls_pk_sign_restartable() argument
418 if( rs_ctx != NULL && in mbedtls_pk_sign_restartable()
428 hash, hash_len, sig, sig_len, f_rng, p_rng, rs_ctx->rs_ctx ); in mbedtls_pk_sign_restartable()
[all …]
A Decdh.c76 mbedtls_ecp_restart_ctx *rs_ctx ) in ecdh_gen_public_restartable() argument
82 if( rs_ctx == NULL || rs_ctx->rsm == NULL ) in ecdh_gen_public_restartable()
87 f_rng, p_rng, rs_ctx ) ); in ecdh_gen_public_restartable()
117 mbedtls_ecp_restart_ctx *rs_ctx ) in ecdh_compute_shared_restartable() argument
308 mbedtls_ecp_restart_ctx *rs_ctx = NULL; in ecdh_make_params_internal() local
316 rs_ctx = &ctx->rs; in ecdh_make_params_internal()
530 mbedtls_ecp_restart_ctx *rs_ctx = NULL; in ecdh_make_public_internal() local
538 rs_ctx = &ctx->rs; in ecdh_make_public_internal()
652 mbedtls_ecp_restart_ctx *rs_ctx = NULL; in ecdh_calc_secret_internal() local
660 rs_ctx = &ctx->rs; in ecdh_calc_secret_internal()
[all …]
A Dpk_wrap.c283 void *rs_ctx );
289 void *rs_ctx );
305 eckey_restart_ctx *rs_ctx; in eckey_rs_alloc() local
311 rs_ctx = ctx; in eckey_rs_alloc()
321 eckey_restart_ctx *rs_ctx; in eckey_rs_free() local
326 rs_ctx = ctx; in eckey_rs_free()
336 void *rs_ctx ) in eckey_verify_rs_wrap() argument
339 eckey_restart_ctx *rs = rs_ctx; in eckey_verify_rs_wrap()
361 void *rs_ctx ) in eckey_sign_rs_wrap() argument
364 eckey_restart_ctx *rs = rs_ctx; in eckey_sign_rs_wrap()
[all …]
A Dx509_crt.c2471 (void) rs_ctx; in x509_crt_check_signature()
2575 if( rs_ctx != NULL && rs_ctx->parent != NULL ) in x509_crt_find_parent_in()
2578 parent = rs_ctx->parent; in x509_crt_find_parent_in()
2583 rs_ctx->parent = NULL; in x509_crt_find_parent_in()
2584 rs_ctx->fallback_parent = NULL; in x509_crt_find_parent_in()
2618 rs_ctx->parent = parent; in x509_crt_find_parent_in()
2699 if( rs_ctx != NULL && rs_ctx->parent_is_trusted != -1 ) in x509_crt_find_parent()
2702 rs_ctx->parent_is_trusted = -1; in x509_crt_find_parent()
2838 if( rs_ctx != NULL && rs_ctx->in_progress == x509_crt_rs_find_parent ) in x509_crt_verify_chain()
2842 self_cnt = rs_ctx->self_cnt; in x509_crt_verify_chain()
[all …]
A Dssl_cli.c3310 void *rs_ctx = NULL; in ssl_parse_server_key_exchange() local
3454 rs_ctx = &ssl->handshake->ecrs_ctx.pk; in ssl_parse_server_key_exchange()
3458 md_alg, hash, hashlen, p, sig_len, rs_ctx ) ) != 0 ) in ssl_parse_server_key_exchange()
4194 void *rs_ctx = NULL; in ssl_write_certificate_verify() local
4319 rs_ctx = &ssl->handshake->ecrs_ctx.pk; in ssl_write_certificate_verify()
4325 ssl->conf->f_rng, ssl->conf->p_rng, rs_ctx ) ) != 0 ) in ssl_write_certificate_verify()
A Dssl_tls.c2624 void *rs_ctx ) in ssl_parse_certificate_verify() argument
2656 ((void) rs_ctx); in ssl_parse_certificate_verify()
2697 f_vrfy, p_vrfy, rs_ctx ); in ssl_parse_certificate_verify()
2875 void *rs_ctx = NULL; in mbedtls_ssl_parse_certificate() local
2945 rs_ctx = &ssl->handshake->ecrs_ctx; in mbedtls_ssl_parse_certificate()
2949 chain, rs_ctx ); in mbedtls_ssl_parse_certificate()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dpk_internal.h65 void *rs_ctx );
72 void *p_rng, void *rs_ctx );
101 void (*rs_free_func)( void *rs_ctx );
A Decp.h411 mbedtls_ecp_restart_ctx *rs_ctx,
416 MBEDTLS_MPI_CHK( mbedtls_ecp_check_budget( grp, rs_ctx, \
1000 mbedtls_ecp_restart_ctx *rs_ctx );
1086 mbedtls_ecp_restart_ctx *rs_ctx );
A Decdsa.h422 mbedtls_ecdsa_restart_ctx *rs_ctx );
547 mbedtls_ecdsa_restart_ctx *rs_ctx );
A Dpk.h213 void * rs_ctx; /**< Underlying restart context */ member
441 mbedtls_pk_restart_ctx *rs_ctx );
545 mbedtls_pk_restart_ctx *rs_ctx );
A Dx509_crt.h701 mbedtls_x509_crt_restart_ctx *rs_ctx );

Completed in 46 milliseconds