Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dentropy_poll.c114 const char *ver; in check_version_3_17_plus() local
118 ver = un.release; in check_version_3_17_plus()
121 if( ver[0] < '3' || ver[0] > '9' || ver [1] != '.' ) in check_version_3_17_plus()
124 if( ver[0] - '0' > 3 ) in check_version_3_17_plus()
129 if( ver[2] < '0' || ver[2] > '9' ) in check_version_3_17_plus()
132 minor = ver[2] - '0'; in check_version_3_17_plus()
134 if( ver[3] >= '0' && ver[3] <= '9' ) in check_version_3_17_plus()
135 minor = 10 * minor + ver[3] - '0'; in check_version_3_17_plus()
136 else if( ver [3] != '.' ) in check_version_3_17_plus()
Dx509_csr.c73 int *ver ) in x509_csr_get_version() argument
77 if( ( ret = mbedtls_asn1_get_int( p, end, ver ) ) != 0 ) in x509_csr_get_version()
81 *ver = 0; in x509_csr_get_version()
Dpkparse.c232 int ver; in pk_group_from_specified() local
235 if( ( ret = mbedtls_asn1_get_int( &p, end, &ver ) ) != 0 ) in pk_group_from_specified()
238 if( ver < 1 || ver > 3 ) in pk_group_from_specified()
677 if( ( ret = mbedtls_asn1_get_int( &p, end, &rsa->ver ) ) != 0 ) in pk_parse_key_pkcs1_der()
682 if( rsa->ver != 0 ) in pk_parse_key_pkcs1_der()
Dx509_crl.c79 int *ver ) in x509_crl_get_version() argument
83 if( ( ret = mbedtls_asn1_get_int( p, end, ver ) ) != 0 ) in x509_crl_get_version()
87 *ver = 0; in x509_crl_get_version()
Dssl_tls.c7593 unsigned char ver[2] ) in mbedtls_ssl_write_version()
7601 ver[0] = (unsigned char)( 255 - ( major - 2 ) ); in mbedtls_ssl_write_version()
7602 ver[1] = (unsigned char)( 255 - ( minor - 1 ) ); in mbedtls_ssl_write_version()
7609 ver[0] = (unsigned char) major; in mbedtls_ssl_write_version()
7610 ver[1] = (unsigned char) minor; in mbedtls_ssl_write_version()
7615 const unsigned char ver[2] ) in mbedtls_ssl_read_version()
7620 *major = 255 - ver[0] + 2; in mbedtls_ssl_read_version()
7621 *minor = 255 - ver[1] + 1; in mbedtls_ssl_read_version()
7631 *major = ver[0]; in mbedtls_ssl_read_version()
7632 *minor = ver[1]; in mbedtls_ssl_read_version()
Dx509_crt.c211 int *ver ) in x509_get_version() argument
221 *ver = 0; in x509_get_version()
230 if( ( ret = mbedtls_asn1_get_int( p, end, ver ) ) != 0 ) in x509_get_version()
Dssl_srv.c3116 unsigned char ver[2]; local
3152 ssl->conf->transport, ver );
3172 diff |= peer_pms[0] ^ ver[0];
3173 diff |= peer_pms[1] ^ ver[1];
Drsa.c1482 dst->ver = src->ver; in mbedtls_rsa_copy()
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509write.function78 int md_type, int key_usage, int cert_type, int ver,
104 if( ver != -1 )
105 mbedtls_x509write_crt_set_version( &crt, ver );
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dssl_internal.h444 unsigned char ver[2] );
446 const unsigned char ver[2] );
Drsa.h81 int ver; /*!< always 0 */ member