Home
last modified time | relevance | path

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

/openssl/crypto/cmp/
H A Dcmp_protect.c34 ASN1_BIT_STRING *prot = NULL; in ossl_cmp_calc_protection() local
93 if ((prot = ASN1_BIT_STRING_new()) == NULL) in ossl_cmp_calc_protection()
96 ossl_asn1_string_set_bits_left(prot, 0); 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()
124 NULL, prot, &prot_part, NULL, ctx->pkey, md, in ossl_cmp_calc_protection()
126 return prot; in ossl_cmp_calc_protection()
[all …]
/openssl/apps/include/
H A Ds_apps.h21 typedef int (*do_server_cb)(int s, int stype, int prot, unsigned char *context);
/openssl/apps/
H A Ds_server.c59 static int sv_body(int s, int stype, int prot, unsigned char *context);
60 static int www_body(int s, int stype, int prot, unsigned char *context);
61 static int rev_body(int s, int stype, int prot, unsigned char *context);
2356 static int sv_body(int s, int stype, int prot, unsigned char *context) in sv_body() argument
2371 int isdtls = (stype == SOCK_DGRAM || prot == IPPROTO_SCTP); in sv_body()
2412 if (prot == IPPROTO_SCTP) in sv_body()
2453 if (prot != IPPROTO_SCTP) in sv_body()
3063 static int www_body(int s, int stype, int prot, unsigned char *context) in www_body() argument
3512 static int rev_body(int s, int stype, int prot, unsigned char *context) in rev_body() argument
/openssl/test/
H A Dsslapitest.c3935 const unsigned char *prot; in alpn_select_cb() local
3937 for (prot = in; prot < in + inlen; prot += protlen) { in alpn_select_cb()
3938 protlen = *prot++; in alpn_select_cb()
3939 if (in + inlen < prot + protlen) in alpn_select_cb()
3943 && memcmp(prot, servalpn, protlen) == 0) { in alpn_select_cb()
3944 *out = prot; in alpn_select_cb()
8184 static int test_cert_cb_int(int prot, int tst) in test_cert_cb_int() argument
8199 prot, in test_cert_cb_int()
8367 static int test_ca_names_int(int prot, int tst) in test_ca_names_int() argument
8392 prot, in test_ca_names_int()
[all …]

Completed in 43 milliseconds