Home
last modified time | relevance | path

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

/openssl-master/crypto/cmp/
A Dcmp_protect.c33 ASN1_BIT_STRING *prot = NULL; in ossl_cmp_calc_protection() local
92 if ((prot = ASN1_BIT_STRING_new()) == NULL) in ossl_cmp_calc_protection()
95 prot->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); in ossl_cmp_calc_protection()
96 prot->flags |= ASN1_STRING_FLAG_BITS_LEFT; in ossl_cmp_calc_protection()
97 if (!ASN1_BIT_STRING_set(prot, protection, sig_len)) { in ossl_cmp_calc_protection()
98 ASN1_BIT_STRING_free(prot); in ossl_cmp_calc_protection()
99 prot = NULL; in ossl_cmp_calc_protection()
105 return prot; in ossl_cmp_calc_protection()
121 if ((prot = ASN1_BIT_STRING_new()) == NULL) in ossl_cmp_calc_protection()
126 return prot; in ossl_cmp_calc_protection()
[all …]
/openssl-master/apps/include/
A Ds_apps.h21 typedef int (*do_server_cb)(int s, int stype, int prot, unsigned char *context);
/openssl-master/apps/
A Ds_server.c60 static int sv_body(int s, int stype, int prot, unsigned char *context);
61 static int www_body(int s, int stype, int prot, unsigned char *context);
62 static int rev_body(int s, int stype, int prot, unsigned char *context);
2304 static int sv_body(int s, int stype, int prot, unsigned char *context) in sv_body() argument
2319 int isdtls = (stype == SOCK_DGRAM || prot == IPPROTO_SCTP); in sv_body()
2360 if (prot == IPPROTO_SCTP) in sv_body()
2396 if (prot != IPPROTO_SCTP) in sv_body()
2986 static int www_body(int s, int stype, int prot, unsigned char *context) in www_body() argument
3412 static int rev_body(int s, int stype, int prot, unsigned char *context) in rev_body() argument
/openssl-master/test/
A Dsslapitest.c3882 const unsigned char *prot; in alpn_select_cb() local
3884 for (prot = in; prot < in + inlen; prot += protlen) { in alpn_select_cb()
3885 protlen = *prot++; in alpn_select_cb()
3886 if (in + inlen < prot + protlen) in alpn_select_cb()
3890 && memcmp(prot, servalpn, protlen) == 0) { in alpn_select_cb()
3891 *out = prot; in alpn_select_cb()
8055 static int test_cert_cb_int(int prot, int tst) in test_cert_cb_int() argument
8070 prot, in test_cert_cb_int()
8234 static int test_ca_names_int(int prot, int tst) in test_ca_names_int() argument
8259 prot, in test_ca_names_int()
[all …]

Completed in 26 milliseconds