Searched refs:ctx2 (Results 1 - 11 of 11) sorted by relevance

/openbsd-current/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-current/sbin/isakmpd/
H A Dprf.h52 void *ctx, *ctx2; /* Contexts we need for later */ member in struct:prf_hash_ctx
H A Dprf.c50 memcpy(ctx->hash->ctx2, ctx->ctx2, ctx->hash->ctxsize);
113 prfctx->ctx2 = malloc(hash->ctxsize);
114 if (!prfctx->ctx2) {
135 memcpy(prfctx->ctx2, hash->ctx2, hash->ctxsize);
153 free(prfctx->ctx2);
H A Dhash.c118 * ctx, ctx2 hold the contexts, if you want to use the hash object for
148 hash->Init(hash->ctx2);
149 hash->Update(hash->ctx2, key, blocklen);
162 hash->Update(hash->ctx2, dgst, hash->hashsize);
163 hash->Final(dgst, hash->ctx2);
H A Dhash.h59 void *ctx2; /* Pointer to a 2nd context, for HMAC octx */ member in struct:hash
/openbsd-current/regress/sys/kern/pipe/
H A Dtest-close.c45 struct context ctx1, ctx2; local
58 ctx2.c_alive = &alive;
59 ctx2.c_fd = 4;
60 error = pthread_create(&th2, NULL, close_thread, &ctx2);
/openbsd-current/usr.bin/openssl/
H A Ds_server.c207 static SSL_CTX *ctx2 = NULL; variable
973 ctx2 = NULL;
1209 ctx2 = SSL_CTX_new(cfg.meth);
1210 if (ctx2 == NULL) {
1215 if (!SSL_CTX_set_min_proto_version(ctx2,
1218 if (!SSL_CTX_set_max_proto_version(ctx2,
1221 SSL_CTX_clear_mode(ctx2, SSL_MODE_AUTO_RETRY);
1223 if (ctx2) {
1233 if (!SSL_CTX_set_generate_session_id(ctx2,
1243 SSL_CTX_set_quiet_shutdown(ctx2,
[all...]
H A Dx509.c852 X509V3_CTX ctx2; local
873 X509V3_set_ctx_test(&ctx2);
874 X509V3_set_nconf(&ctx2, extconf);
875 if (!X509V3_EXT_add_nconf(extconf, &ctx2, cfg.extsect, NULL)) {
1542 X509V3_CTX ctx2; local
1545 X509V3_set_ctx(&ctx2, xca, x, NULL, NULL, 0);
1546 X509V3_set_nconf(&ctx2, conf);
1547 if (!X509V3_EXT_add_nconf(conf, &ctx2, section, x))
/openbsd-current/regress/lib/libcrypto/hmac/
H A Dhmactest.c145 HMAC_CTX *ctx = NULL, *ctx2 = NULL; local
295 if ((ctx2 = HMAC_CTX_new()) == NULL) {
299 if (!HMAC_CTX_copy(ctx2, ctx)) {
304 if (!HMAC_Final(ctx2, buf, &len)) {
319 HMAC_CTX_free(ctx2);
/openbsd-current/sys/arch/mips64/mips64/
H A Dcontext.S207 bltz t0, ctx2 # not in tlb
217 ctx2: label
/openbsd-current/usr.bin/sort/
H A Dcoll.c952 MD5_CTX ctx1, ctx2; local
967 memcpy(&ctx2, &md5_ctx, sizeof(MD5_CTX));
970 MD5Update(&ctx2, bwsrawdata(s2), bwsrawlen(s2));
972 b2 = MD5End(&ctx2, NULL);

Completed in 104 milliseconds