/dports/devel/radare2/radare2-5.1.1/libr/util/ |
H A D | asn1.c | 251 if (!asn1str) { in r_asn1_print_hexdump_padded() 255 return asn1str; in r_asn1_print_hexdump_padded() 269 RASN1String* asn1str = NULL; in r_asn1_to_string() local 292 asn1str = r_asn1_print_hexdump_padded (object, depth); in r_asn1_to_string() 302 asn1str = r_asn1_print_hexdump_padded (object, depth); in r_asn1_to_string() 315 asn1str = r_asn1_print_hexdump_padded (object, depth); in r_asn1_to_string() 334 asn1str = r_asn1_print_hexdump_padded (object, depth); in r_asn1_to_string() 418 if (asn1str) { in r_asn1_to_string() 419 string = asn1str->string; in r_asn1_to_string() 425 r_asn1_free_string (asn1str); in r_asn1_to_string() [all …]
|
H A D | astr.c | 100 if (!asn1str) { in r_asn1_stringify_utctime() 103 return asn1str; in r_asn1_stringify_utctime() 142 if (!asn1str) { in r_asn1_stringify_time() 145 return asn1str; in r_asn1_stringify_time() 170 if (!asn1str) { in r_asn1_stringify_bits() 173 return asn1str; in r_asn1_stringify_bits() 205 if (!asn1str) { in r_asn1_stringify_integer() 208 return asn1str; in r_asn1_stringify_integer() 241 if (!asn1str) { in r_asn1_stringify_bytes() 244 return asn1str; in r_asn1_stringify_bytes() [all …]
|
/dports/security/py-m2crypto/M2Crypto-0.38.0/src/M2Crypto/ |
H A D | ASN1.py | 54 def __init__(self, asn1str, _pyfree=0): argument 56 self.asn1str = asn1str 62 m2.asn1_string_print(buf.bio_ptr(), self.asn1str) 72 self.m2_asn1_string_free(self.asn1str) 75 return self.asn1str 87 m2.asn1_string_print_ex(buf.bio_ptr(), self.asn1str, flags)
|
/dports/security/suricata/suricata-6.0.4/src/ |
H A D | detect-asn1.c | 103 static DetectAsn1Data *DetectAsn1Parse(const char *asn1str) in DetectAsn1Parse() argument 105 DetectAsn1Data *ad = rs_detect_asn1_parse(asn1str); in DetectAsn1Parse() 109 asn1str); in DetectAsn1Parse() 126 static int DetectAsn1Setup(DetectEngineCtx *de_ctx, Signature *s, const char *asn1str) in DetectAsn1Setup() argument 131 ad = DetectAsn1Parse(asn1str); in DetectAsn1Setup()
|
/dports/security/libressl-static/libressl-3.3.5/tests/ |
H A D | rfc5280time.c | 195 asn1_compare_str(int test_no, struct asn1_string_st *asn1str, const char *str) in asn1_compare_str() argument 199 if (asn1str->length != length) { in asn1_compare_str() 201 "(%i != %i)\n", test_no, asn1str->length, length); in asn1_compare_str() 204 if (strncmp(asn1str->data, str, length) != 0) { in asn1_compare_str() 206 "('%s' != '%s')\n", test_no, asn1str->data, str); in asn1_compare_str()
|
H A D | asn1time.c | 171 asn1_compare_str(int test_no, struct asn1_string_st *asn1str, const char *str) in asn1_compare_str() argument 175 if (asn1str->length != length) { in asn1_compare_str() 177 "(%i != %i)\n", test_no, asn1str->length, length); in asn1_compare_str() 180 if (strncmp(asn1str->data, str, length) != 0) { in asn1_compare_str() 182 "('%s' != '%s')\n", test_no, asn1str->data, str); in asn1_compare_str()
|
/dports/security/libressl/libressl-3.4.3/tests/ |
H A D | rfc5280time.c | 195 asn1_compare_str(int test_no, struct asn1_string_st *asn1str, const char *str) in asn1_compare_str() argument 199 if (asn1str->length != length) { in asn1_compare_str() 201 "(%i != %i)\n", test_no, asn1str->length, length); in asn1_compare_str() 204 if (strncmp(asn1str->data, str, length) != 0) { in asn1_compare_str() 206 "('%s' != '%s')\n", test_no, asn1str->data, str); in asn1_compare_str()
|
H A D | asn1time.c | 171 asn1_compare_str(int test_no, struct asn1_string_st *asn1str, const char *str) in asn1_compare_str() argument 175 if (asn1str->length != length) { in asn1_compare_str() 177 "(%i != %i)\n", test_no, asn1str->length, length); in asn1_compare_str() 180 if (strncmp(asn1str->data, str, length) != 0) { in asn1_compare_str() 182 "('%s' != '%s')\n", test_no, asn1str->data, str); in asn1_compare_str()
|
/dports/www/obhttpd/libressl-3.4.1/tests/ |
H A D | rfc5280time.c | 195 asn1_compare_str(int test_no, struct asn1_string_st *asn1str, const char *str) in asn1_compare_str() argument 199 if (asn1str->length != length) { in asn1_compare_str() 201 "(%i != %i)\n", test_no, asn1str->length, length); in asn1_compare_str() 204 if (strncmp(asn1str->data, str, length) != 0) { in asn1_compare_str() 206 "('%s' != '%s')\n", test_no, asn1str->data, str); in asn1_compare_str()
|
H A D | asn1time.c | 171 asn1_compare_str(int test_no, struct asn1_string_st *asn1str, const char *str) in asn1_compare_str() argument 175 if (asn1str->length != length) { in asn1_compare_str() 177 "(%i != %i)\n", test_no, asn1str->length, length); in asn1_compare_str() 180 if (strncmp(asn1str->data, str, length) != 0) { in asn1_compare_str() 182 "('%s' != '%s')\n", test_no, asn1str->data, str); in asn1_compare_str()
|
/dports/devel/rudiments/rudiments-1.2.2/src/ |
H A D | tls.cpp | 1959 str[0]=asn1str[2]; in asn1timeToDateTime() 1960 str[1]=asn1str[3]; in asn1timeToDateTime() 1963 str[3]=asn1str[4]; in asn1timeToDateTime() 1964 str[4]=asn1str[5]; in asn1timeToDateTime() 1974 str[8]=asn1str[0]; in asn1timeToDateTime() 1975 str[9]=asn1str[1]; in asn1timeToDateTime() 1978 str[0]=asn1str[4]; in asn1timeToDateTime() 1979 str[1]=asn1str[5]; in asn1timeToDateTime() 1982 str[3]=asn1str[6]; in asn1timeToDateTime() 1983 str[4]=asn1str[7]; in asn1timeToDateTime() [all …]
|
/dports/www/apache24/httpd-2.4.53/modules/ssl/ |
H A D | ssl_util_ssl.c | 205 static char *asn1_string_convert(apr_pool_t *p, ASN1_STRING *asn1str, int raw) in asn1_string_convert() argument 215 ASN1_STRING_print_ex(bio, asn1str, flags); in asn1_string_convert()
|
/dports/lang/racket/racket-8.3/collects/openssl/ |
H A D | mzssl.rkt | 1751 [asn1str (X509_NAME_ENTRY_get_data entry)]) 1752 (asn1string->bytes asn1str))]))) 1754 (define (asn1string->bytes asn1str) 1755 (let* ([len (ASN1_STRING_length asn1str)] 1756 [data (ASN1_STRING_data asn1str)] 1774 (let* ([asn1str (GENERAL_NAME-d gn)]) 1775 (cons (asn1string->bytes asn1str) acc))]
|
/dports/lang/racket-minimal/racket-8.3/collects/openssl/ |
H A D | mzssl.rkt | 1751 [asn1str (X509_NAME_ENTRY_get_data entry)]) 1752 (asn1string->bytes asn1str))]))) 1754 (define (asn1string->bytes asn1str) 1755 (let* ([len (ASN1_STRING_length asn1str)] 1756 [data (ASN1_STRING_data asn1str)] 1774 (let* ([asn1str (GENERAL_NAME-d gn)]) 1775 (cons (asn1string->bytes asn1str) acc))]
|
/dports/www/netsurf/netsurf-3.10/content/fetchers/ |
H A D | about.c | 554 static const unsigned char *ns_ASN1_STRING_get0_data(ASN1_STRING *asn1str) in ns_ASN1_STRING_get0_data() argument 556 return (const unsigned char *)ASN1_STRING_data(asn1str); in ns_ASN1_STRING_get0_data()
|
/dports/security/wolfssl/wolfssl-5.1.0/src/ |
H A D | ssl.c | 10150 char* asn1str; in wolfSSL_X509V3_EXT_print() local 11083 if (asn1str == NULL) { in wolfSSL_X509_get_ext_d2i() 11095 asn1str->type = KEY_USAGE_OID; in wolfSSL_X509_get_ext_d2i() 11101 return asn1str; in wolfSSL_X509_get_ext_d2i() 11471 WOLFSSL_ASN1_STRING* asn1str = NULL; in wolfSSL_X509V3_EXT_i2d() local 11491 asn1str = (WOLFSSL_ASN1_STRING*)data; in wolfSSL_X509V3_EXT_i2d() 11492 ext->value = *asn1str; in wolfSSL_X509V3_EXT_i2d() 11493 if (asn1str->isDynamic) { in wolfSSL_X509V3_EXT_i2d() 11502 XMEMCPY(ext->value.data, asn1str->data, asn1str->length); in wolfSSL_X509V3_EXT_i2d() 11612 if (asn1str) { in wolfSSL_X509V3_EXT_i2d() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/src/ |
H A D | ssl.c | 10150 char* asn1str; in wolfSSL_X509V3_EXT_print() local 11083 if (asn1str == NULL) { in wolfSSL_X509_get_ext_d2i() 11095 asn1str->type = KEY_USAGE_OID; in wolfSSL_X509_get_ext_d2i() 11101 return asn1str; in wolfSSL_X509_get_ext_d2i() 11471 WOLFSSL_ASN1_STRING* asn1str = NULL; in wolfSSL_X509V3_EXT_i2d() local 11491 asn1str = (WOLFSSL_ASN1_STRING*)data; in wolfSSL_X509V3_EXT_i2d() 11492 ext->value = *asn1str; in wolfSSL_X509V3_EXT_i2d() 11493 if (asn1str->isDynamic) { in wolfSSL_X509V3_EXT_i2d() 11502 XMEMCPY(ext->value.data, asn1str->data, asn1str->length); in wolfSSL_X509V3_EXT_i2d() 11612 if (asn1str) { in wolfSSL_X509V3_EXT_i2d() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/src/ |
H A D | ssl.c | 10150 char* asn1str; in wolfSSL_X509V3_EXT_print() local 11083 if (asn1str == NULL) { in wolfSSL_X509_get_ext_d2i() 11095 asn1str->type = KEY_USAGE_OID; in wolfSSL_X509_get_ext_d2i() 11101 return asn1str; in wolfSSL_X509_get_ext_d2i() 11471 WOLFSSL_ASN1_STRING* asn1str = NULL; in wolfSSL_X509V3_EXT_i2d() local 11491 asn1str = (WOLFSSL_ASN1_STRING*)data; in wolfSSL_X509V3_EXT_i2d() 11492 ext->value = *asn1str; in wolfSSL_X509V3_EXT_i2d() 11493 if (asn1str->isDynamic) { in wolfSSL_X509V3_EXT_i2d() 11502 XMEMCPY(ext->value.data, asn1str->data, asn1str->length); in wolfSSL_X509V3_EXT_i2d() 11612 if (asn1str) { in wolfSSL_X509V3_EXT_i2d() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/src/ |
H A D | ssl.c | 10150 char* asn1str; in wolfSSL_X509V3_EXT_print() local 11083 if (asn1str == NULL) { in wolfSSL_X509_get_ext_d2i() 11095 asn1str->type = KEY_USAGE_OID; in wolfSSL_X509_get_ext_d2i() 11101 return asn1str; in wolfSSL_X509_get_ext_d2i() 11471 WOLFSSL_ASN1_STRING* asn1str = NULL; in wolfSSL_X509V3_EXT_i2d() local 11491 asn1str = (WOLFSSL_ASN1_STRING*)data; in wolfSSL_X509V3_EXT_i2d() 11492 ext->value = *asn1str; in wolfSSL_X509V3_EXT_i2d() 11493 if (asn1str->isDynamic) { in wolfSSL_X509V3_EXT_i2d() 11502 XMEMCPY(ext->value.data, asn1str->data, asn1str->length); in wolfSSL_X509V3_EXT_i2d() 11612 if (asn1str) { in wolfSSL_X509V3_EXT_i2d() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/src/ |
H A D | ssl.c | 10150 char* asn1str; in wolfSSL_X509V3_EXT_print() local 11083 if (asn1str == NULL) { in wolfSSL_X509_get_ext_d2i() 11095 asn1str->type = KEY_USAGE_OID; in wolfSSL_X509_get_ext_d2i() 11101 return asn1str; in wolfSSL_X509_get_ext_d2i() 11471 WOLFSSL_ASN1_STRING* asn1str = NULL; in wolfSSL_X509V3_EXT_i2d() local 11491 asn1str = (WOLFSSL_ASN1_STRING*)data; in wolfSSL_X509V3_EXT_i2d() 11492 ext->value = *asn1str; in wolfSSL_X509V3_EXT_i2d() 11493 if (asn1str->isDynamic) { in wolfSSL_X509V3_EXT_i2d() 11502 XMEMCPY(ext->value.data, asn1str->data, asn1str->length); in wolfSSL_X509V3_EXT_i2d() 11612 if (asn1str) { in wolfSSL_X509V3_EXT_i2d() [all …]
|
/dports/security/wolfssl/wolfssl-5.1.0/tests/ |
H A D | api.c | 44539 WOLFSSL_ASN1_STRING* asn1str; local 44576 asn1str)); 44581 wolfSSL_ASN1_STRING_free(asn1str); 44596 AssertNotNull(asn1str = aKeyId->keyid); 44613 AssertNotNull(data = (unsigned char*)ASN1_STRING_get0_data(asn1str)); 44615 AssertNotNull(data = wolfSSL_ASN1_STRING_data(asn1str)); 44624 wolfSSL_ASN1_STRING_free(asn1str); 44652 AssertNotNull(asn1str = gn->d.uniformResourceIdentifier); 44653 AssertIntEQ(wolfSSL_ASN1_STRING_length(asn1str), 22); 44655 str = (char*)ASN1_STRING_get0_data(asn1str); [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/tests/ |
H A D | api.c | 44541 WOLFSSL_ASN1_STRING* asn1str; local 44578 asn1str)); 44583 wolfSSL_ASN1_STRING_free(asn1str); 44598 AssertNotNull(asn1str = aKeyId->keyid); 44615 AssertNotNull(data = (unsigned char*)ASN1_STRING_get0_data(asn1str)); 44617 AssertNotNull(data = wolfSSL_ASN1_STRING_data(asn1str)); 44626 wolfSSL_ASN1_STRING_free(asn1str); 44654 AssertNotNull(asn1str = gn->d.uniformResourceIdentifier); 44655 AssertIntEQ(wolfSSL_ASN1_STRING_length(asn1str), 22); 44657 str = (char*)ASN1_STRING_get0_data(asn1str); [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/tests/ |
H A D | api.c | 44541 WOLFSSL_ASN1_STRING* asn1str; local 44578 asn1str)); 44583 wolfSSL_ASN1_STRING_free(asn1str); 44598 AssertNotNull(asn1str = aKeyId->keyid); 44615 AssertNotNull(data = (unsigned char*)ASN1_STRING_get0_data(asn1str)); 44617 AssertNotNull(data = wolfSSL_ASN1_STRING_data(asn1str)); 44626 wolfSSL_ASN1_STRING_free(asn1str); 44654 AssertNotNull(asn1str = gn->d.uniformResourceIdentifier); 44655 AssertIntEQ(wolfSSL_ASN1_STRING_length(asn1str), 22); 44657 str = (char*)ASN1_STRING_get0_data(asn1str); [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/tests/ |
H A D | api.c | 44541 WOLFSSL_ASN1_STRING* asn1str; local 44578 asn1str)); 44583 wolfSSL_ASN1_STRING_free(asn1str); 44598 AssertNotNull(asn1str = aKeyId->keyid); 44615 AssertNotNull(data = (unsigned char*)ASN1_STRING_get0_data(asn1str)); 44617 AssertNotNull(data = wolfSSL_ASN1_STRING_data(asn1str)); 44626 wolfSSL_ASN1_STRING_free(asn1str); 44654 AssertNotNull(asn1str = gn->d.uniformResourceIdentifier); 44655 AssertIntEQ(wolfSSL_ASN1_STRING_length(asn1str), 22); 44657 str = (char*)ASN1_STRING_get0_data(asn1str); [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/tests/ |
H A D | api.c | 44541 WOLFSSL_ASN1_STRING* asn1str; local 44578 asn1str)); 44583 wolfSSL_ASN1_STRING_free(asn1str); 44598 AssertNotNull(asn1str = aKeyId->keyid); 44615 AssertNotNull(data = (unsigned char*)ASN1_STRING_get0_data(asn1str)); 44617 AssertNotNull(data = wolfSSL_ASN1_STRING_data(asn1str)); 44626 wolfSSL_ASN1_STRING_free(asn1str); 44654 AssertNotNull(asn1str = gn->d.uniformResourceIdentifier); 44655 AssertIntEQ(wolfSSL_ASN1_STRING_length(asn1str), 22); 44657 str = (char*)ASN1_STRING_get0_data(asn1str); [all …]
|