Searched refs:nm (Results 1 - 25 of 61) sorted by relevance

123

/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/evp/
H A Dnames.c142 static void do_all_cipher_fn(const OBJ_NAME *nm, void *arg) argument
145 if (nm->alias)
146 dc->fn(NULL, nm->name, nm->data, dc->arg);
148 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg);
176 static void do_all_md_fn(const OBJ_NAME *nm, void *arg) argument
179 if (nm->alias)
180 dc->fn(NULL, nm->name, nm
[all...]
/barrelfish-2018-10-04/include/net/
H A Ddhcp.h71 * @param nm returns the netmask
75 errval_t netif_get_ipconfig(struct in_addr *ip, struct in_addr *gw, struct in_addr *nm);
82 * @param nm the Netmask
86 errval_t netif_set_ipconfig(struct in_addr *ip, struct in_addr *gw, struct in_addr *nm);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/pem/
H A Dpem_pkey.c77 char *nm=NULL; local
84 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u))
88 if (strcmp(nm,PEM_STRING_PKCS8INF) == 0) {
98 } else if (strcmp(nm,PEM_STRING_PKCS8) == 0) {
122 } else if ((slen = pem_check_suffix(nm, "PRIVATE KEY")) > 0)
125 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen);
134 OPENSSL_free(nm);
157 char *nm=NULL; local
164 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_PARAMETERS,
169 if ((slen = pem_check_suffix(nm, "PARAMETER
[all...]
H A Dpem_lib.c82 static int check_pem(const char *nm, const char *name);
185 static int check_pem(const char *nm, const char *name) argument
187 /* Normal matching nm and name */
188 if (!strcmp(nm,name)) return 1;
196 if(!strcmp(nm,PEM_STRING_PKCS8))
198 if(!strcmp(nm,PEM_STRING_PKCS8INF))
200 slen = pem_check_suffix(nm, "PRIVATE KEY");
207 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen);
218 slen = pem_check_suffix(nm, "PARAMETERS");
222 ameth = EVP_PKEY_asn1_find_str(&e, nm, sle
277 char *nm=NULL,*header=NULL; local
[all...]
/barrelfish-2018-10-04/lib/net/
H A Ddhcp.c168 uint64_t ip, nm, gw; local
169 err = oct_read(record, "_" NET_CONFIG_IP_RECORD_FIELDS, &ip, &gw, &nm);
179 netmask.s_addr = (uint32_t)nm;
218 uint64_t ip, nm, gw; local
219 err = oct_read(record, "_" NET_CONFIG_IP_RECORD_FIELDS, &ip, &gw, &nm);
229 netmask.s_addr = (uint32_t)nm;
251 * @param nm returns the netmask
255 errval_t netif_get_ipconfig(struct in_addr *ip, struct in_addr *gw, struct in_addr *nm) argument
266 if (nm) {
267 nm
282 netif_set_ipconfig(struct in_addr *ip, struct in_addr *gw, struct in_addr *nm) argument
[all...]
/barrelfish-2018-10-04/lib/libc/gen/
H A Ddisklabel.c51 const char **nm; local
53 for (nm = names; *nm; nm++)
54 if (strcasecmp(t, *nm) == 0)
55 return (nm - names);
/barrelfish-2018-10-04/lib/net/test/
H A Ddhcp.c40 ip_addr_t nm; variable
75 err = oct_set(DHCP_RECORD_FORMAT,ip.addr, gw.addr, nm.addr);
88 IP_ADDR4(&nm, 255,255,255,0);
H A Darp.c40 ip_addr_t nm; variable
92 IP_ADDR4(&nm, 255,255,255,0);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/ms/
H A Dcmp.pl43 $nm=$tot+$n1;
45 printf STDERR "diff at char $tot of $nm\n";
/barrelfish-2018-10-04/lib/lwip/src/barrelfish/
H A DARP_lookup_client.c132 struct ip_addr ip, gw, nm; local
136 &ip.addr, &gw.addr, &nm.addr);
146 netif_add(&netif, &ip, &nm, &gw, NULL, bfeth_init, ethernet_input);
H A Didc_net_control.c232 struct ip_addr ip, gw, nm; local
235 &nm.addr);
241 netif_add(&netif, &ip, &nm, &gw, NULL, bfeth_init, ethernet_input);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/x509v3/
H A Dv3_ncons.c77 static int nc_dn(X509_NAME *sub, X509_NAME *nm);
242 X509_NAME *nm;
244 nm = X509_get_subject_name(x);
246 if (X509_NAME_entry_count(nm) > 0)
250 gntmp.d.directoryName = nm;
265 i = X509_NAME_get_index_by_NID(nm,
270 ne = X509_NAME_get_entry(nm, i);
376 static int nc_dn(X509_NAME *nm, X509_NAME *base)
379 if (nm->modified && i2d_X509_NAME(nm, NUL
[all...]
H A Dv3_alt.c345 X509_NAME *nm; local
357 if(ctx->subject_cert) nm = X509_get_subject_name(ctx->subject_cert);
358 else nm = X509_REQ_get_subject_name(ctx->subject_req);
362 while((i = X509_NAME_get_index_by_NID(nm,
364 ne = X509_NAME_get_entry(nm, i);
368 X509_NAME_delete_entry(nm, i);
595 X509_NAME *nm; local
596 if (!(nm = X509_NAME_new()))
603 X509_NAME_free(nm);
607 ret = X509V3_NAME_from_section(nm, s
[all...]
H A Dv3_crld.c130 X509_NAME *nm; local
131 nm = X509_NAME_new();
132 if (!nm)
141 ret = X509V3_NAME_from_section(nm, dnsect, MBSTRING_ASC);
143 rnm = nm->entries;
144 nm->entries = NULL;
145 X509_NAME_free(nm);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ocsp/
H A Docsp_vfy.c70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs,
362 X509_NAME *nm; local
377 nm = gen->d.directoryName;
378 ret = ocsp_req_find_signer(&signer, req, nm, certs, store, flags);
428 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs, argument
434 signer = X509_find_by_subject(req->optionalSignature->certs, nm);
439 signer = X509_find_by_subject(certs, nm);
H A Docsp_cl.c100 int OCSP_request_set1_name(OCSP_REQUEST *req, X509_NAME *nm) argument
106 if (!X509_NAME_set(&gen->d.directoryName, nm))
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/asn1/
H A Dx_name.c179 union { X509_NAME *x; ASN1_VALUE *a; } nm = {NULL}; local
193 if(!x509_name_ex_new(&nm.a, NULL)) goto err;
195 if(!BUF_MEM_grow(nm.x->bytes, p - q)) goto err;
196 memcpy(nm.x->bytes->data, q, p - q);
204 if(!sk_X509_NAME_ENTRY_push(nm.x->entries, entry))
210 ret = x509_name_canon(nm.x);
213 nm.x->modified = 0;
214 *val = nm.a;
H A Da_strex.c519 int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags) argument
522 return X509_NAME_print(out, nm, indent);
523 return do_name_ex(send_bio_chars, out, nm, indent, flags);
527 int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags) argument
535 ret = X509_NAME_print(btmp, nm, indent);
539 return do_name_ex(send_fp_chars, fp, nm, indent, flags);
H A Dx_crl.c415 static int crl_revoked_issuer_match(X509_CRL *crl, X509_NAME *nm,
422 if (!nm)
424 if (!X509_NAME_cmp(nm, X509_CRL_get_issuer(crl)))
429 if (!nm)
430 nm = X509_CRL_get_issuer(crl);
437 if (!X509_NAME_cmp(nm, gen->d.directoryName))
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/objects/
H A Dobjects.h1021 #define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm) \
1022 static int nm##_cmp_BSEARCH_CMP_FN(const void *, const void *); \
1023 static int nm##_cmp(type1 const *, type2 const *); \
1024 scope type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
1028 #define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \
1029 type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
1058 #define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \
1059 static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \
1063 return nm##_cmp(a,b); \
1065 static type2 *OBJ_bsearch_##nm(type
[all...]
/barrelfish-2018-10-04/include/openssl/
H A Dobjects.h1021 #define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm) \
1022 static int nm##_cmp_BSEARCH_CMP_FN(const void *, const void *); \
1023 static int nm##_cmp(type1 const *, type2 const *); \
1024 scope type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
1028 #define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \
1029 type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num)
1058 #define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \
1059 static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \
1063 return nm##_cmp(a,b); \
1065 static type2 *OBJ_bsearch_##nm(type
[all...]
H A Dx509_vfy.h203 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
204 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
253 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
254 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
415 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
416 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/x509/
H A Dx509_vfy.h203 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
204 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
253 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
254 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
415 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *st, X509_NAME *nm);
416 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *st, X509_NAME *nm);
H A Dx509_lu.c488 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *ctx, X509_NAME *nm)
496 idx = x509_object_idx_cnt(ctx->ctx->objs, X509_LU_X509, nm, &cnt);
504 if (!X509_STORE_get_by_subject(ctx, X509_LU_X509, nm, &xobj))
511 idx = x509_object_idx_cnt(ctx->ctx->objs,X509_LU_X509,nm, &cnt);
537 STACK_OF(X509_CRL)* X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm)
546 idx = x509_object_idx_cnt(ctx->ctx->objs, X509_LU_CRL, nm, &cnt);
551 if (!X509_STORE_get_by_subject(ctx, X509_LU_CRL, nm, &xobj))
558 idx = x509_object_idx_cnt(ctx->ctx->objs,X509_LU_CRL, nm, &cnt);
/barrelfish-2018-10-04/lib/libc/locale/
H A Deuc.c394 wchar_t nm; local
432 nm = (wc >> ((len - 1) * 8));
433 if (nm == cs2) {
438 } else if (nm == cs3) {

Completed in 136 milliseconds

123