Home
last modified time | relevance | path

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

/net-tools-3.7.0/mbedtls-2.4.0/library/
Dpkparse.c723 static int pk_parse_key_sec1_der( mbedtls_ecp_keypair *eck, in pk_parse_key_sec1_der() argument
762 if( ( ret = mbedtls_mpi_read_binary( &eck->d, p, len ) ) != 0 ) in pk_parse_key_sec1_der()
764 mbedtls_ecp_keypair_free( eck ); in pk_parse_key_sec1_der()
780 ( ret = pk_use_ecparams( &params, &eck->grp ) ) != 0 ) in pk_parse_key_sec1_der()
782 mbedtls_ecp_keypair_free( eck ); in pk_parse_key_sec1_der()
788 mbedtls_ecp_keypair_free( eck ); in pk_parse_key_sec1_der()
808 if( ( ret = pk_get_ecpubkey( &p, end2, eck ) ) == 0 ) in pk_parse_key_sec1_der()
822 mbedtls_ecp_keypair_free( eck ); in pk_parse_key_sec1_der()
828 ( ret = mbedtls_ecp_mul( &eck->grp, &eck->Q, &eck->d, &eck->grp.G, in pk_parse_key_sec1_der()
831 mbedtls_ecp_keypair_free( eck ); in pk_parse_key_sec1_der()
[all …]