Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mbedtls/library/
A Decdsa.c184 if( rs_ctx != NULL && rs_ctx->ecp.depth++ == 0 ) \
189 rs_ctx != NULL && rs_ctx->SUB == NULL ) \
191 rs_ctx->SUB = mbedtls_calloc( 1, sizeof( *rs_ctx->SUB ) ); \
279 if( rs_ctx != NULL && rs_ctx->sig != NULL ) in ecdsa_sign_restartable()
320 if( rs_ctx != NULL && rs_ctx->sig != NULL ) in ecdsa_sign_restartable()
332 if( rs_ctx != NULL && rs_ctx->sig != NULL ) in ecdsa_sign_restartable()
368 if( rs_ctx != NULL && rs_ctx->sig != NULL ) in ecdsa_sign_restartable()
427 if( rs_ctx != NULL && rs_ctx->det != NULL ) in ecdsa_sign_det_restartable()
445 if( rs_ctx != NULL && rs_ctx->det != NULL ) in ecdsa_sign_det_restartable()
511 if( rs_ctx != NULL && rs_ctx->ver != NULL ) in ecdsa_verify_restartable()
[all …]
A Decp.c1622 if( rs_ctx != NULL && rs_ctx->rsm != NULL ) in ecp_precompute_comb()
1638 if( rs_ctx != NULL && rs_ctx->rsm != NULL ) in ecp_precompute_comb()
1655 if( rs_ctx != NULL && rs_ctx->rsm != NULL && rs_ctx->rsm->i != 0 ) in ecp_precompute_comb()
1675 if( rs_ctx != NULL && rs_ctx->rsm != NULL ) in ecp_precompute_comb()
1803 if( rs_ctx != NULL && rs_ctx->rsm != NULL && rs_ctx->rsm->i != 0 ) in ecp_mul_comb_core()
2034 if( rs_ctx != NULL && rs_ctx->rsm != NULL && rs_ctx->rsm->T != NULL ) in ecp_mul_comb()
2511 if( rs_ctx != NULL && rs_ctx->ma != NULL )
2529 if( rs_ctx != NULL && rs_ctx->ma != NULL )
2542 if( rs_ctx != NULL && rs_ctx->ma != NULL )
2550 if( rs_ctx != NULL && rs_ctx->ma != NULL )
[all …]
A Dpk.c86 ctx->rs_ctx = NULL; in mbedtls_pk_restart_init()
100 ctx->pk_info->rs_free_func( ctx->rs_ctx ); in mbedtls_pk_restart_free()
103 ctx->rs_ctx = NULL; in mbedtls_pk_restart_free()
257 if( rs_ctx != NULL && in mbedtls_pk_verify_restartable()
267 md_alg, hash, hash_len, sig, sig_len, rs_ctx->rs_ctx ); in mbedtls_pk_verify_restartable()
270 mbedtls_pk_restart_free( rs_ctx ); in mbedtls_pk_verify_restartable()
275 (void) rs_ctx; in mbedtls_pk_verify_restartable()
367 mbedtls_pk_restart_ctx *rs_ctx ) in mbedtls_pk_sign_restartable() argument
380 if( rs_ctx != NULL && in mbedtls_pk_sign_restartable()
390 hash, hash_len, sig, sig_len, f_rng, p_rng, rs_ctx->rs_ctx ); in mbedtls_pk_sign_restartable()
[all …]
A Dpk_wrap.c284 void *rs_ctx );
300 eckey_restart_ctx *rs_ctx; in eckey_rs_alloc() local
306 rs_ctx = ctx; in eckey_rs_alloc()
316 eckey_restart_ctx *rs_ctx; in eckey_rs_free() local
321 rs_ctx = ctx; in eckey_rs_free()
331 void *rs_ctx ) in eckey_verify_rs_wrap() argument
334 eckey_restart_ctx *rs = rs_ctx; in eckey_verify_rs_wrap()
356 void *rs_ctx ) in eckey_sign_rs_wrap() argument
359 eckey_restart_ctx *rs = rs_ctx; in eckey_sign_rs_wrap()
504 void *rs_ctx ) in ecdsa_verify_rs_wrap() argument
[all …]
A Decdh.c64 mbedtls_ecp_restart_ctx *rs_ctx ) in ecdh_gen_public_restartable() argument
70 if( rs_ctx == NULL || rs_ctx->rsm == NULL ) in ecdh_gen_public_restartable()
75 f_rng, p_rng, rs_ctx ) ); in ecdh_gen_public_restartable()
105 mbedtls_ecp_restart_ctx *rs_ctx ) in ecdh_compute_shared_restartable() argument
284 mbedtls_ecp_restart_ctx *rs_ctx = NULL; in ecdh_make_params_internal() local
292 rs_ctx = &ctx->rs; in ecdh_make_params_internal()
473 mbedtls_ecp_restart_ctx *rs_ctx = NULL; in ecdh_make_public_internal() local
481 rs_ctx = &ctx->rs; in ecdh_make_public_internal()
585 mbedtls_ecp_restart_ctx *rs_ctx = NULL; in ecdh_calc_secret_internal() local
593 rs_ctx = &ctx->rs; in ecdh_calc_secret_internal()
[all …]
A Dx509_crt.c2064 (void) rs_ctx; in x509_crt_check_signature()
2168 if( rs_ctx != NULL && rs_ctx->parent != NULL ) in x509_crt_find_parent_in()
2171 parent = rs_ctx->parent; in x509_crt_find_parent_in()
2176 rs_ctx->parent = NULL; in x509_crt_find_parent_in()
2177 rs_ctx->fallback_parent = NULL; in x509_crt_find_parent_in()
2211 rs_ctx->parent = parent; in x509_crt_find_parent_in()
2294 if( rs_ctx != NULL && rs_ctx->parent_is_trusted != -1 ) in x509_crt_find_parent()
2297 rs_ctx->parent_is_trusted = -1; in x509_crt_find_parent()
2430 if( rs_ctx != NULL && rs_ctx->in_progress == x509_crt_rs_find_parent ) in x509_crt_verify_chain()
2434 self_cnt = rs_ctx->self_cnt; in x509_crt_verify_chain()
[all …]
A Dssl_cli.c2516 void *rs_ctx = NULL; in ssl_parse_server_key_exchange() local
2641 rs_ctx = &ssl->handshake->ecrs_ctx.pk; in ssl_parse_server_key_exchange()
2646 md_alg, hash, hashlen, p, sig_len, rs_ctx ) ) != 0 ) in ssl_parse_server_key_exchange()
3224 void *rs_ctx = NULL; in ssl_write_certificate_verify() local
3354 rs_ctx = &ssl->handshake->ecrs_ctx.pk; in ssl_write_certificate_verify()
3360 ssl->conf->f_rng, ssl->conf->p_rng, rs_ctx ) ) != 0 ) in ssl_write_certificate_verify()
A Dssl_tls.c5699 void *rs_ctx = NULL; in mbedtls_ssl_parse_certificate() local
5769 rs_ctx = &ssl->handshake->ecrs_ctx; in mbedtls_ssl_parse_certificate()
5810 ssl->conf->f_vrfy, ssl->conf->p_vrfy, rs_ctx ); in mbedtls_ssl_parse_certificate()
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dpk_internal.h67 void *rs_ctx );
74 void *p_rng, void *rs_ctx );
103 void (*rs_free_func)( void *rs_ctx );
A Decp.h239 mbedtls_ecp_restart_ctx *rs_ctx,
244 MBEDTLS_MPI_CHK( mbedtls_ecp_check_budget( grp, rs_ctx, \
865 mbedtls_ecp_restart_ctx *rs_ctx );
938 mbedtls_ecp_restart_ctx *rs_ctx );
A Dpk.h143 void * rs_ctx; /**< Underlying restart context */ member
359 mbedtls_pk_restart_ctx *rs_ctx );
453 mbedtls_pk_restart_ctx *rs_ctx );
A Decdsa.h335 mbedtls_ecdsa_restart_ctx *rs_ctx );
460 mbedtls_ecdsa_restart_ctx *rs_ctx );
A Dx509_crt.h475 mbedtls_x509_crt_restart_ctx *rs_ctx );

Completed in 42 milliseconds