Searched refs:ver (Results 1 – 11 of 11) sorted by relevance
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | entropy_poll.c | 114 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()
|
D | x509_csr.c | 73 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()
|
D | pkparse.c | 232 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()
|
D | x509_crl.c | 79 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()
|
D | ssl_tls.c | 7593 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()
|
D | x509_crt.c | 211 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()
|
D | ssl_srv.c | 3116 unsigned char ver[2]; local 3152 ssl->conf->transport, ver ); 3172 diff |= peer_pms[0] ^ ver[0]; 3173 diff |= peer_pms[1] ^ ver[1];
|
D | rsa.c | 1482 dst->ver = src->ver; in mbedtls_rsa_copy()
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_x509write.function | 78 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/ |
D | ssl_internal.h | 444 unsigned char ver[2] ); 446 const unsigned char ver[2] );
|
D | rsa.h | 81 int ver; /*!< always 0 */ member
|