Home
last modified time | relevance | path

Searched refs:ctx2 (Results 1 – 12 of 12) sorted by relevance

/openbsd/sbin/isakmpd/
H A Dprf.c50 memcpy(ctx->hash->ctx2, ctx->ctx2, ctx->hash->ctxsize); in prf_hash_init()
113 prfctx->ctx2 = malloc(hash->ctxsize); in prf_alloc()
114 if (!prfctx->ctx2) { in prf_alloc()
135 memcpy(prfctx->ctx2, hash->ctx2, hash->ctxsize); in prf_alloc()
153 free(prfctx->ctx2); in prf_free()
H A Dhash.c148 hash->Init(hash->ctx2); in hmac_init()
149 hash->Update(hash->ctx2, key, hash->blocklen); in hmac_init()
162 hash->Update(hash->ctx2, dgst, hash->hashsize); in hmac_final()
163 hash->Final(dgst, hash->ctx2); in hmac_final()
H A Dprf.h52 void *ctx, *ctx2; /* Contexts we need for later */ member
H A Dhash.h60 void *ctx2; /* Pointer to a 2nd context, for HMAC octx */ member
/openbsd/gnu/usr.bin/perl/cpan/Digest-MD5/t/
H A Dcontext.t29 my $ctx2 = Digest::MD5->new;
30 $ctx2->context( $ctx1->context );
31 $ctx2->add($string);
34 $ctx3->context( $ctx2->context );
/openbsd/regress/sys/kern/pipe/
H A Dtest-close.c45 struct context ctx1, ctx2; in test_close_race() local
58 ctx2.c_alive = &alive; in test_close_race()
59 ctx2.c_fd = 4; in test_close_race()
60 error = pthread_create(&th2, NULL, close_thread, &ctx2); in test_close_race()
/openbsd/usr.bin/openssl/
H A Ds_server.c970 ctx2 = NULL; in s_server_init()
1207 if (ctx2 == NULL) { in s_server_main()
1220 if (ctx2) { in s_server_main()
1297 if (ctx2) { in s_server_main()
1345 if (ctx2) in s_server_main()
1352 if (ctx2 && !set_cert_key_stuff(ctx2, s_cert2, s_key2)) in s_server_main()
1365 if (ctx2 && !SSL_CTX_set_cipher_list(ctx2, in s_server_main()
1381 if (ctx2) { in s_server_main()
1400 if (ctx2) in s_server_main()
1428 SSL_CTX_free(ctx2); in s_server_main()
[all …]
H A Dx509.c843 X509V3_CTX ctx2; in x509_main() local
864 X509V3_set_ctx_test(&ctx2); in x509_main()
865 X509V3_set_nconf(&ctx2, extconf); in x509_main()
866 if (!X509V3_EXT_add_nconf(extconf, &ctx2, cfg.extsect, NULL)) { in x509_main()
1454 X509V3_CTX ctx2; in x509_certify() local
1457 X509V3_set_ctx(&ctx2, xca, x, NULL, NULL, 0); in x509_certify()
1458 X509V3_set_nconf(&ctx2, conf); in x509_certify()
1459 if (!X509V3_EXT_add_nconf(conf, &ctx2, section, x)) in x509_certify()
/openbsd/regress/lib/libcrypto/hmac/
H A Dhmactest.c145 HMAC_CTX *ctx = NULL, *ctx2 = NULL; in main() local
295 if ((ctx2 = HMAC_CTX_new()) == NULL) { in main()
299 if (!HMAC_CTX_copy(ctx2, ctx)) { in main()
304 if (!HMAC_Final(ctx2, buf, &len)) { in main()
319 HMAC_CTX_free(ctx2); in main()
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/API/
H A DContext.t174 my $ctx2 = sub {
178 $ctx2->release;
294 my ($ctx1, $ctx2);
300 $ctx2 = context();
304 $ctx2->release;
379 my $ctx2 = context();
389 $ctx2->release;
397 my $ctx2 = context();
408 $ctx2 = undef;
/openbsd/sys/arch/mips64/mips64/
H A Dcontext.S207 bltz t0, ctx2 # not in tlb
217 ctx2: label
/openbsd/usr.bin/sort/
H A Dcoll.c952 MD5_CTX ctx1, ctx2; in randomcoll() local
967 memcpy(&ctx2, &md5_ctx, sizeof(MD5_CTX)); in randomcoll()
970 MD5Update(&ctx2, bwsrawdata(s2), bwsrawlen(s2)); in randomcoll()
972 b2 = MD5End(&ctx2, NULL); in randomcoll()