Searched refs:ctx_size (Results 1 - 18 of 18) sorted by relevance

/macosx-10.10/ruby-106/ruby/ext/digest/
H A Ddigest.h28 size_t ctx_size; member in struct:__anon12287
H A Ddigest.c534 pctx = xmalloc(algo->ctx_size);
557 memcpy(pctx2, pctx1, algo->ctx_size);
/macosx-10.10/OpenSSL098-52/src/crypto/evp/
H A Ddigest.c300 if (ctx->digest && ctx->digest->ctx_size)
303 if (type->ctx_size)
305 ctx->md_data=OPENSSL_malloc(type->ctx_size);
354 memset(ctx->md_data,0,ctx->digest->ctx_size);
390 if (out->digest->ctx_size)
396 out->md_data=OPENSSL_malloc(out->digest->ctx_size);
403 memcpy(out->md_data,in->md_data,out->digest->ctx_size);
443 if (ctx->digest && ctx->digest->ctx_size && ctx->md_data
446 OPENSSL_cleanse(ctx->md_data,ctx->digest->ctx_size);
H A Denc_min.c234 if (ctx->cipher->ctx_size)
236 ctx->cipher_data=OPENSSL_malloc(ctx->cipher->ctx_size);
335 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size);
H A Devp.h247 int ctx_size; /* how big does the ctx->md_data need to be */ member in struct:env_md_st
344 int ctx_size; /* how big ctx->cipher_data needs to be */ member in struct:evp_cipher_st
/macosx-10.10/OpenSSH-189/osslshim/ossl/
H A Dossl-evp-cc.c377 .ctx_size = sizeof(struct cc_key),
412 .ctx_size = sizeof(struct cc_key),
492 .ctx_size = sizeof(struct cc_key),
527 .ctx_size = sizeof(struct cc_key),
598 .ctx_size = sizeof(struct cc_key),
626 .ctx_size = sizeof(struct cc_key),
696 .ctx_size = sizeof(struct cc_key),
725 .ctx_size = sizeof(struct cc_key),
804 .ctx_size = sizeof(struct cc_key),
837 .ctx_size
[all...]
H A Dossl-evp.c182 memset(ctx->ptr, 0, ctx->md->ctx_size);
245 if (out->md->ctx_size) {
246 out->ptr = malloc(in->md->ctx_size);
251 memcpy(out->ptr, in->ptr, out->md->ctx_size);
286 ctx->ptr = calloc(1, md->ctx_size);
605 .ctx_size = 0,
725 memset(c->cipher_data, 0, c->cipher->ctx_size);
906 ctx->cipher_data = calloc(1, c->ctx_size);
907 if ((ctx->cipher_data == NULL) && (c->ctx_size != 0)) {
1161 .ctx_size
[all...]
H A Dossl-evp.h242 int ctx_size; member in struct:ossl_CIPHER
283 int ctx_size; member in struct:ossl_evp_md
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/
H A Dccdigest.c78 int ctx_size; member in struct:CCDigest_s
127 CCDigestRef ctx = calloc(1, sizeof(*ctx) + alg->ctx_size);
156 memset(ctx, 0, sizeof(*ctx) + alg->ctx_size);
H A Devp.h149 int ctx_size; member in struct:hc_CIPHER
184 int ctx_size; member in struct:hc_evp_md
H A Devp.c181 memset(ctx->ptr, 0, ctx->md->ctx_size);
258 ctx->ptr = calloc(1, md->ctx_size);
587 size_t size = c->cipher->ctx_size;
791 ctx->cipher_data = calloc(1, c->ctx_size);
792 if (ctx->cipher_data == NULL && c->ctx_size != 0)
/macosx-10.10/OpenSSH-189/openssh/
H A Dmd-sha256.c88 ssh_sha256.ctx_size = sizeof(SHA256_CTX);
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dopenssl-compat.h103 #define EVP_X_STATE_LEN(evp) (evp).cipher->ctx_size
/macosx-10.10/ruby-106/ruby/ext/openssl/
H A Dopenssl_missing.c128 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size);
129 memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size);
/macosx-10.10/OpenSSL098-52/src/demos/engines/rsaref/
H A Drsaref.c580 memset(data(ctx), 0, ctx->cipher->ctx_size);
611 memset(data(ctx), 0, ctx->cipher->ctx_size);
642 memset(data(ctx), 0, ctx->cipher->ctx_size);
/macosx-10.10/CommonCrypto-60061/lib/
H A DCommonECCryptor.c195 size_t ctx_size = ccec_pub_ctx_size(ccec_cp_prime_size(cp)); local
196 CC_XMEMCPY(publicCryptor->ecKey.public, privateKey->ecKey.public, ctx_size);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/openssl/
H A Devp.h279 int ctx_size; /* how big does the ctx need to be */ member in struct:env_md_st
340 int ctx_size; /* how big the ctx needs to be */ member in struct:evp_cipher_st
/macosx-10.10/OpenSSL098-52/src/include/openssl/
H A Devp.h247 int ctx_size; /* how big does the ctx->md_data need to be */ member in struct:env_md_st
344 int ctx_size; /* how big ctx->cipher_data needs to be */ member in struct:evp_cipher_st

Completed in 412 milliseconds