Home
last modified time | relevance | path

Searched refs:newcc (Results 1 – 25 of 59) sorted by relevance

123

/dports/security/palisade/palisade-release-d76213499af44558170cca6c72c5314755fec23c/src/pke/unittest/
H A DUnitTestSer.h55 CryptoContext<T> newcc;
56 Serial::Deserialize(newcc, s, sertype);
58 ASSERT_TRUE(newcc.get() != 0) << msg << " Deserialize failed";
60 EXPECT_EQ(*cc, *newcc) << msg << " Mismatched context";
62 EXPECT_EQ(*cc->GetEncryptionAlgorithm(), *newcc->GetEncryptionAlgorithm())
64 EXPECT_EQ(*cc->GetCryptoParameters(), *newcc->GetCryptoParameters())
66 EXPECT_EQ(*cc->GetEncodingParams(), *newcc->GetEncodingParams())
69 newcc->GetEncryptionAlgorithm()->GetEnabled())
H A DUnitTestSerializeCKKS.cpp151 CryptoContext<T> newcc; in UnitTestContextWithSertype() local
153 Serial::Deserialize(newcc, s, sertype); in UnitTestContextWithSertype()
155 ASSERT_TRUE(newcc) << msg << " Deserialize failed"; in UnitTestContextWithSertype()
157 EXPECT_EQ(*cc, *newcc) << msg << " Mismatched context"; in UnitTestContextWithSertype()
159 EXPECT_EQ(*cc->GetEncryptionAlgorithm(), *newcc->GetEncryptionAlgorithm()) in UnitTestContextWithSertype()
161 EXPECT_EQ(*cc->GetCryptoParameters(), *newcc->GetCryptoParameters()) in UnitTestContextWithSertype()
163 EXPECT_EQ(*cc->GetEncodingParams(), *newcc->GetEncodingParams()) in UnitTestContextWithSertype()
166 newcc->GetEncryptionAlgorithm()->GetEnabled()) in UnitTestContextWithSertype()
412 CryptoContext<T> newcc; in TestDecryptionSerNoCRTTables() local
414 Serial::Deserialize(newcc, s, sertype); in TestDecryptionSerNoCRTTables()
[all …]
H A DUnitTestSerializeBGVrns.cpp129 CryptoContext<T> newcc; in UnitTestContextWithSertype() local
131 Serial::Deserialize(newcc, s, sertype); in UnitTestContextWithSertype()
133 ASSERT_TRUE(newcc) << msg << " Deserialize failed"; in UnitTestContextWithSertype()
135 EXPECT_EQ(*cc, *newcc) << msg << " Mismatched context"; in UnitTestContextWithSertype()
137 EXPECT_EQ(*cc->GetEncryptionAlgorithm(), *newcc->GetEncryptionAlgorithm()) in UnitTestContextWithSertype()
139 EXPECT_EQ(*cc->GetCryptoParameters(), *newcc->GetCryptoParameters()) in UnitTestContextWithSertype()
141 EXPECT_EQ(*cc->GetEncodingParams(), *newcc->GetEncodingParams()) in UnitTestContextWithSertype()
144 newcc->GetEncryptionAlgorithm()->GetEnabled()) in UnitTestContextWithSertype()
/dports/x11-wm/cwm/cwm-6.7/
H A Dkbfunc.c408 struct client_ctx *newcc, *oldcc, *prevcc; in kbfunc_client_cycle() local
426 newcc = oldcc; in kbfunc_client_cycle()
430 newcc = (flags & CWM_CYCLE_REVERSE) ? client_prev(newcc) : in kbfunc_client_cycle()
431 client_next(newcc); in kbfunc_client_cycle()
436 (newcc->gc != oldcc->gc))) in kbfunc_client_cycle()
440 if (newcc == oldcc) { in kbfunc_client_cycle()
451 client_raise(newcc); in kbfunc_client_cycle()
452 if (!client_inbound(newcc, newcc->ptr.x, newcc->ptr.y)) { in kbfunc_client_cycle()
453 newcc->ptr.x = newcc->geom.w / 2; in kbfunc_client_cycle()
454 newcc->ptr.y = newcc->geom.h / 2; in kbfunc_client_cycle()
[all …]
/dports/www/sitecopy/sitecopy-0.16.6/lib/neon/
H A Dne_gnutls.c510 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
512 newcc->decrypted = 1; in dup_client_cert()
515 newcc->keyless = 1; in dup_client_cert()
518 ret = gnutls_x509_privkey_init(&newcc->pkey); in dup_client_cert()
525 newcc->cert.subject = x509_crt_copy(cc->cert.subject); in dup_client_cert()
526 if (!newcc->cert.subject) goto dup_error; in dup_client_cert()
530 populate_cert(&newcc->cert, newcc->cert.subject); in dup_client_cert()
531 return newcc; in dup_client_cert()
534 if (newcc->pkey) gnutls_x509_privkey_deinit(newcc->pkey); in dup_client_cert()
535 if (newcc->cert.subject) gnutls_x509_crt_deinit(newcc->cert.subject); in dup_client_cert()
[all …]
H A Dne_openssl.c475 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
477 newcc->decrypted = 1; in dup_client_cert()
478 newcc->pkey = cc->pkey; in dup_client_cert()
480 newcc->friendly_name = ne_strdup(cc->friendly_name); in dup_client_cert()
482 populate_cert(&newcc->cert, cc->cert.subject); in dup_client_cert()
486 return newcc; in dup_client_cert()
/dports/dns/bind-tools/bind-9.16.27/lib/dns/
H A Dgen.c397 struct cc *newcc; in add() local
461 newcc = (struct cc *)malloc(sizeof(*newcc)); in add()
462 if (newcc == NULL) { in add()
466 newcc->rdclass = rdclass; in add()
467 strncpy(newcc->classbuf, classbuf, sizeof(newcc->classbuf)); in add()
468 newcc->classbuf[sizeof(newcc->classbuf) - 1] = '\0'; in add()
478 free((char *)newcc); in add()
482 newcc->next = cc; in add()
484 oldcc->next = newcc; in add()
486 classes = newcc; in add()
/dports/dns/bind911/bind-9.11.37/lib/dns/
H A Dgen.c390 struct cc *newcc; in add() local
454 newcc = (struct cc *)malloc(sizeof(*newcc)); in add()
455 if (newcc == NULL) { in add()
459 newcc->rdclass = rdclass; in add()
460 strncpy(newcc->classbuf, classbuf, sizeof(newcc->classbuf)); in add()
461 newcc->classbuf[sizeof(newcc->classbuf) - 1] = '\0'; in add()
471 free((char *)newcc); in add()
475 newcc->next = cc; in add()
477 oldcc->next = newcc; in add()
479 classes = newcc; in add()
/dports/dns/samba-nsupdate/bind-9.16.5/lib/dns/
H A Dgen.c395 struct cc *newcc; in add() local
459 newcc = (struct cc *)malloc(sizeof(*newcc)); in add()
460 if (newcc == NULL) { in add()
464 newcc->rdclass = rdclass; in add()
465 strncpy(newcc->classbuf, classbuf, sizeof(newcc->classbuf)); in add()
466 newcc->classbuf[sizeof(newcc->classbuf) - 1] = '\0'; in add()
476 free((char *)newcc); in add()
480 newcc->next = cc; in add()
482 oldcc->next = newcc; in add()
484 classes = newcc; in add()
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/lib/dns/
H A Dgen.c377 struct cc *newcc; in add() local
441 newcc = (struct cc *)malloc(sizeof(*newcc)); in add()
442 if (newcc == NULL) { in add()
446 newcc->rdclass = rdclass; in add()
447 strncpy(newcc->classbuf, classbuf, sizeof(newcc->classbuf)); in add()
448 newcc->classbuf[sizeof(newcc->classbuf) - 1] = '\0'; in add()
458 free((char *)newcc); in add()
462 newcc->next = cc; in add()
464 oldcc->next = newcc; in add()
466 classes = newcc; in add()
/dports/dns/bind916/bind-9.16.27/lib/dns/
H A Dgen.c397 struct cc *newcc; in add() local
461 newcc = (struct cc *)malloc(sizeof(*newcc)); in add()
462 if (newcc == NULL) { in add()
466 newcc->rdclass = rdclass; in add()
467 strncpy(newcc->classbuf, classbuf, sizeof(newcc->classbuf)); in add()
468 newcc->classbuf[sizeof(newcc->classbuf) - 1] = '\0'; in add()
478 free((char *)newcc); in add()
482 newcc->next = cc; in add()
484 oldcc->next = newcc; in add()
486 classes = newcc; in add()
/dports/www/neon/neon-0.32.1/src/
H A Dne_gnutls.c530 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
532 newcc->decrypted = 1; in dup_client_cert()
535 newcc->keyless = 1; in dup_client_cert()
537 newcc->sign_func = cc->sign_func; in dup_client_cert()
538 newcc->sign_ud = cc->sign_ud; in dup_client_cert()
550 if (!newcc->cert.subject) goto dup_error; in dup_client_cert()
554 populate_cert(&newcc->cert, newcc->cert.subject); in dup_client_cert()
555 return newcc; in dup_client_cert()
558 if (newcc->pkey) gnutls_x509_privkey_deinit(newcc->pkey); in dup_client_cert()
559 if (newcc->cert.subject) gnutls_x509_crt_deinit(newcc->cert.subject); in dup_client_cert()
[all …]
H A Dne_openssl.c507 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
509 newcc->decrypted = 1; in dup_client_cert()
510 newcc->pkey = cc->pkey; in dup_client_cert()
512 newcc->friendly_name = ne_strdup(cc->friendly_name); in dup_client_cert()
514 populate_cert(&newcc->cert, cc->cert.subject); in dup_client_cert()
518 return newcc; in dup_client_cert()
/dports/www/davix/davix-0.7.6/deps/libneon/src/
H A Dne_gnutls.c532 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
534 newcc->decrypted = 1; in dup_client_cert()
537 newcc->keyless = 1; in dup_client_cert()
540 ret = gnutls_x509_privkey_init(&newcc->pkey); in dup_client_cert()
549 newcc->cert.chain_len = cc->cert.chain_len; in dup_client_cert()
552 if (!newcc->cert.chain[n]) goto dup_error; in dup_client_cert()
555 return newcc; in dup_client_cert()
558 if (newcc->pkey) gnutls_x509_privkey_deinit(newcc->pkey); in dup_client_cert()
559 if (newcc->cert.chain) { in dup_client_cert()
562 gnutls_free(newcc->cert.chain); in dup_client_cert()
[all …]
H A Dne_openssl.c495 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
498 newcc->decrypted = 1; in dup_client_cert()
499 newcc->pkey = cc->pkey; in dup_client_cert()
501 newcc->friendly_name = ne_strdup(cc->friendly_name); in dup_client_cert()
503 populate_cert(&newcc->cert, cc->cert.subject); in dup_client_cert()
510 newcc->cert.chain = sk_X509_dup(cc->cert.chain); in dup_client_cert()
511 count = sk_X509_num(newcc->cert.chain); in dup_client_cert()
513 X509_up_ref(sk_X509_value(newcc->cert.chain, n)); in dup_client_cert()
517 return newcc; in dup_client_cert()
/dports/www/litmus/litmus-0.13/lib/neon/
H A Dne_gnutls.c523 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
525 newcc->decrypted = 1; in dup_client_cert()
528 newcc->keyless = 1; in dup_client_cert()
531 ret = gnutls_x509_privkey_init(&newcc->pkey); in dup_client_cert()
538 newcc->cert.subject = x509_crt_copy(cc->cert.subject); in dup_client_cert()
539 if (!newcc->cert.subject) goto dup_error; in dup_client_cert()
543 populate_cert(&newcc->cert, newcc->cert.subject); in dup_client_cert()
544 return newcc; in dup_client_cert()
547 if (newcc->pkey) gnutls_x509_privkey_deinit(newcc->pkey); in dup_client_cert()
548 if (newcc->cert.subject) gnutls_x509_crt_deinit(newcc->cert.subject); in dup_client_cert()
[all …]
H A Dne_openssl.c492 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
494 newcc->decrypted = 1; in dup_client_cert()
495 newcc->pkey = cc->pkey; in dup_client_cert()
497 newcc->friendly_name = ne_strdup(cc->friendly_name); in dup_client_cert()
499 populate_cert(&newcc->cert, cc->cert.subject); in dup_client_cert()
503 return newcc; in dup_client_cert()
/dports/devel/tla/tla-1.3.5/src/libneon/src/
H A Dne_openssl.c419 ne_ssl_client_cert *newcc = ne_calloc(sizeof *newcc); in dup_client_cert() local
421 newcc->decrypted = 1; in dup_client_cert()
422 newcc->pkey = cc->pkey; in dup_client_cert()
424 newcc->friendly_name = ne_strdup(cc->friendly_name); in dup_client_cert()
426 populate_cert(&newcc->cert, cc->cert.subject); in dup_client_cert()
435 return newcc; in dup_client_cert()
/dports/lang/python310/Python-3.10.1/Lib/distutils/
H A Dsysconfig.py224 newcc = os.environ['CC']
230 ldshared = newcc + ldshared[len(cc):]
231 cc = newcc
/dports/lang/python311/Python-3.11.0a3/Lib/distutils/
H A Dsysconfig.py224 newcc = os.environ['CC']
230 ldshared = newcc + ldshared[len(cc):]
231 cc = newcc
/dports/cad/electric/electric-7.00/src/io/
H A Diocifin.c712 CIFCELL *newcc, *cc; in io_newcifcell() local
718 newcc = (CIFCELL *)emalloc((sizeof (CIFCELL)), io_tool->cluster); in io_newcifcell()
719 if (newcc == (CIFCELL *) 0) in io_newcifcell()
745 newcc->addr = NONODEPROTO; in io_newcifcell()
746 newcc->cindex = cindex; in io_newcifcell()
747 io_insertcifcell(newcc); in io_newcifcell()
749 io_curcell = newcc; in io_newcifcell()
750 return(newcc); in io_newcifcell()
/dports/lang/python-legacy/Python-2.7.18/Lib/distutils/
H A Dsysconfig.py190 newcc = os.environ['CC']
196 ldshared = newcc + ldshared[len(cc):]
197 cc = newcc
/dports/lang/python27/Python-2.7.18/Lib/distutils/
H A Dsysconfig.py190 newcc = os.environ['CC']
196 ldshared = newcc + ldshared[len(cc):]
197 cc = newcc
/dports/databases/py-sqlite3/Python-3.8.12/Lib/distutils/
H A Dsysconfig.py195 newcc = os.environ['CC']
201 ldshared = newcc + ldshared[len(cc):]
202 cc = newcc
/dports/databases/py-gdbm/Python-3.8.12/Lib/distutils/
H A Dsysconfig.py195 newcc = os.environ['CC']
201 ldshared = newcc + ldshared[len(cc):]
202 cc = newcc

123