/macosx-10.10/OpenSSL098-52/src/crypto/evp/ |
H A D | p_sign.c | 66 void EVP_SignInit(EVP_MD_CTX *ctx, EVP_MD *type) argument 68 EVP_DigestInit_ex(ctx,type); 71 void EVP_SignUpdate(EVP_MD_CTX *ctx, unsigned char *data, argument 74 EVP_DigestUpdate(ctx,data,count); 78 int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, argument 89 v=ctx->digest->required_pkey_type[i]; 102 if (ctx->digest->sign == NULL) 108 EVP_MD_CTX_copy_ex(&tmp_ctx,ctx); 109 if (ctx->digest->flags & EVP_MD_FLAG_SVCTX) 114 i = ctx [all...] |
H A D | m_sha1.c | 73 static int init(EVP_MD_CTX *ctx) argument 74 { return SHA1_Init(ctx->md_data); } 76 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 77 { return SHA1_Update(ctx->md_data,data,count); } 79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 80 { return SHA1_Final(md,ctx->md_data); } 104 static int init224(EVP_MD_CTX *ctx) argument 105 { return SHA224_Init(ctx->md_data); } 106 static int init256(EVP_MD_CTX *ctx) argument 107 { return SHA256_Init(ctx 113 update256(EVP_MD_CTX *ctx,const void *data,size_t count) argument 115 final256(EVP_MD_CTX *ctx,unsigned char *md) argument 158 init384(EVP_MD_CTX *ctx) argument 160 init512(EVP_MD_CTX *ctx) argument 163 update512(EVP_MD_CTX *ctx,const void *data,size_t count) argument 165 final512(EVP_MD_CTX *ctx,unsigned char *md) argument [all...] |
/macosx-10.10/mDNSResponder-561.1.1/mDNSCore/ |
H A D | CryptoAlg.h | 36 mStatus (*Create)(AlgContext *ctx); 37 mStatus (*Destroy)(AlgContext *ctx); 38 mDNSu32 (*Length)(AlgContext *ctx); 39 mStatus (*Add)(AlgContext *ctx, const void *data, mDNSu32 len); 40 // Verify the ctx using the key and compare it against signature/siglen 41 mStatus (*Verify)(AlgContext *ctx, mDNSu8 *key, mDNSu32 keylen, mDNSu8 *signature, mDNSu32 siglen); 43 mDNSu8* (*Encode)(AlgContext *ctx); 45 mStatus (*Final)(AlgContext *ctx, void *data, mDNSu32 len); 54 extern mStatus AlgDestroy(AlgContext *ctx); 55 extern mDNSu32 AlgLength(AlgContext *ctx); [all...] |
/macosx-10.10/hfs-285/fsck_hfs/ |
H A D | fsck_messages.c | 82 struct context *ctx = (struct context *)c; local 105 if (ctx->writer) (ctx->writer)(ctx, bufp); 118 if (ctx->writeToLog == 1) { 119 if (ctx->logger) (ctx->logger)(ctx, buf); 121 if (ctx->writer) (ctx 149 struct context *ctx = (struct context*)c; local 298 struct context *ctx = c; local 334 struct context *ctx = c; local 359 struct context *ctx = c; local 372 struct context *ctx = c; local 389 struct context *ctx = c; local 410 struct context *ctx = c; local 434 struct context *ctx = c; local 450 struct context *ctx = c; local 466 struct context *ctx = c; local 483 struct context *ctx = c; local 497 struct context *ctx = c; local 519 struct context *ctx = c; local 599 struct context *ctx = c; local 651 struct context *ctx = c; local 701 findmessage(struct context *ctx, int msgnum) argument 765 fsckPrintString(struct context *ctx, fsck_message_t *m, va_list ap) argument 786 fsckPrintXML(struct context *ctx, fsck_message_t *m, va_list ap) argument 876 fsckPrintGUI(struct context *ctx, fsck_message_t *m, va_list ap) argument 934 fsckPrintNothing(struct context *ctx, fsck_message_t *m, va_list ap) argument 953 struct context *ctx = c; local 1042 struct context *ctx = c; local [all...] |
/macosx-10.10/bind9-45.101/bind9/lib/isc/ |
H A D | base64.c | 111 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument 113 ctx->digits = 0; 114 ctx->seen_end = ISC_FALSE; 115 ctx->length = length; 116 ctx->target = target; 120 base64_decode_char(base64_decode_ctx_t *ctx, int c) { argument 123 if (ctx->seen_end) 127 ctx->val[ctx->digits++] = s - base64; 128 if (ctx 171 base64_decode_finish(base64_decode_ctx_t *ctx) argument 181 base64_decode_ctx_t ctx; local 211 base64_decode_ctx_t ctx; local [all...] |
H A D | base32.c | 149 base32_decode_init(base32_decode_ctx_t *ctx, int length, argument 152 ctx->digits = 0; 153 ctx->seen_end = ISC_FALSE; 154 ctx->seen_32 = 0; 155 ctx->length = length; 156 ctx->target = target; 157 ctx->base = base; 161 base32_decode_char(base32_decode_ctx_t *ctx, int c) { argument 165 if (ctx->seen_end) 167 if ((s = strchr(ctx 246 base32_decode_finish(base32_decode_ctx_t *ctx) argument 258 base32_decode_ctx_t ctx; local 298 base32_decode_ctx_t ctx; local 325 base32_decode_ctx_t ctx; local [all...] |
/macosx-10.10/ntp-92/lib/isc/ |
H A D | base64.c | 109 base64_decode_init(base64_decode_ctx_t *ctx, int length, isc_buffer_t *target) argument 111 ctx->digits = 0; 112 ctx->seen_end = ISC_FALSE; 113 ctx->length = length; 114 ctx->target = target; 118 base64_decode_char(base64_decode_ctx_t *ctx, int c) { argument 121 if (ctx->seen_end) 125 ctx->val[ctx->digits++] = s - base64; 126 if (ctx 169 base64_decode_finish(base64_decode_ctx_t *ctx) argument 179 base64_decode_ctx_t ctx; local 209 base64_decode_ctx_t ctx; local [all...] |
H A D | base32.c | 147 base32_decode_init(base32_decode_ctx_t *ctx, int length, argument 150 ctx->digits = 0; 151 ctx->seen_end = ISC_FALSE; 152 ctx->seen_32 = 0; 153 ctx->length = length; 154 ctx->target = target; 155 ctx->base = base; 159 base32_decode_char(base32_decode_ctx_t *ctx, int c) { argument 163 if (ctx->seen_end) 165 if ((s = strchr(ctx 244 base32_decode_finish(base32_decode_ctx_t *ctx) argument 256 base32_decode_ctx_t ctx; local 296 base32_decode_ctx_t ctx; local 323 base32_decode_ctx_t ctx; local [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/otp/ |
H A D | otp_db.c | 90 otp_delete (void *v, OtpContext *ctx) argument 95 key.dsize = strlen(ctx->user); 96 key.dptr = ctx->user; 106 otp_get_internal (void *v, OtpContext *ctx, int lockp) argument 113 key.dsize = strlen(ctx->user); 114 key.dptr = ctx->user; 118 ctx->err = "Entry not found"; 124 ctx->lock_time = then; 128 ctx->err = "Entry locked"; 134 ctx 159 otp_get(void *v, OtpContext *ctx) argument 169 otp_simple_get(void *v, OtpContext *ctx) argument 179 otp_put(void *v, OtpContext *ctx) argument [all...] |
/macosx-10.10/OpenSSL098-52/src/crypto/x509/ |
H A D | x509_vfy_apple.h | 46 * -1: Null was passed for either ctx or ctx->cert. 50 int X509_verify_cert(X509_STORE_CTX *ctx); 72 int X509_verify_cert_orig(X509_STORE_CTX *ctx);
|
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/ccOpensslCompat/ |
H A D | digestCommon.h | 79 MD2_CTX ctx; local 82 if(!MD2_Init(&ctx)) { 85 if(!MD2_Update(&ctx, cp, len)) { 88 if(!MD2_Final(md, &ctx)) { 96 MD4_CTX ctx; local 97 if(!MD4_Init(&ctx)) { 100 if(!MD4_Update(&ctx, p, len)) { 103 if(!MD4_Final(md, &ctx)) { 111 MD5_CTX ctx; local 112 if(!MD5_Init(&ctx)) { 126 SHA_CTX ctx; local 141 SHA256_CTX ctx; local 156 SHA256_CTX ctx; local 171 SHA512_CTX ctx; local 186 SHA512_CTX ctx; local [all...] |
/macosx-10.10/apache-793/httpd/modules/lua/ |
H A D | lua_passwd.c | 85 * indicates success; on failure, ctx->errstr points to the error message. 87 int mk_password_hash(passwd_ctx *ctx) argument 97 pw = ctx->passwd; 98 switch (ctx->alg) { 101 apr_sha1_base64(pw, strlen(pw), ctx->out); 105 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool); 110 rv = apr_md5_encode(pw, salt, ctx->out, ctx->out_len); 112 ctx [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/prng/YarrowCoreLib/src/ |
H A D | comp.c | 41 comp_error_status comp_init(__unused COMP_CTX* ctx) argument 47 comp_error_status comp_add_data( __unused COMP_CTX* ctx, argument 54 comp_error_status comp_get_ratio( __unused COMP_CTX* ctx,float* out ) argument 60 comp_error_status comp_end( __unused COMP_CTX* ctx ) 84 #define CTXCHECK(ctx) \ 85 PCHECK(ctx) \ 86 MMPCHECK(ctx->buf) 97 comp_error_status comp_init(COMP_CTX* ctx) argument 99 ctx->buf = mmMalloc(BUFSIZE); 100 if(ctx 112 comp_add_data(COMP_CTX* ctx,Bytef* inp,uInt inplen) argument 145 comp_get_ratio(COMP_CTX* ctx,float* out) argument 178 comp_end(COMP_CTX* ctx) argument [all...] |
H A D | comp.h | 88 comp_error_status comp_init(COMP_CTX* ctx); 89 comp_error_status comp_add_data(COMP_CTX* ctx,Bytef* inp,uInt inplen); 90 comp_error_status comp_end(COMP_CTX* ctx); 91 comp_error_status comp_get_ratio(COMP_CTX* ctx,float* out);
|
/macosx-10.10/OpenSSH-189/osslshim/ossl/ |
H A D | ossl-evp.c | 147 * @param ctx variable to initiate. 150 EVP_MD_CTX_init(EVP_MD_CTX *ctx) argument 152 memset(ctx, 0, sizeof(*ctx)); 159 * @param ctx context to free. 162 EVP_MD_CTX_destroy(EVP_MD_CTX *ctx) argument 164 EVP_MD_CTX_cleanup(ctx); 165 free(ctx); 172 * @param ctx the context to free the resources from. 177 EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) argument 200 EVP_MD_CTX_md(EVP_MD_CTX *ctx) argument 214 EVP_MD_CTX_size(EVP_MD_CTX *ctx) argument 228 EVP_MD_CTX_block_size(EVP_MD_CTX *ctx) argument 277 EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *md, ENGINE *engine) argument 297 EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *md) argument 316 EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t size) argument 334 EVP_DigestFinal_ex(EVP_MD_CTX *ctx, void *hash, unsigned int *size) argument 345 EVP_DigestFinal(EVP_MD_CTX *ctx, void *hash, unsigned int *size) argument 372 EVP_MD_CTX ctx; local 772 EVP_CIPHER_CTX_cipher(EVP_CIPHER_CTX *ctx) argument 786 EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx) argument 800 EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx) argument 815 EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx) argument 829 EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx) argument 843 EVP_CIPHER_CTX_mode(const EVP_CIPHER_CTX *ctx) argument 857 EVP_CIPHER_CTX_get_app_data(EVP_CIPHER_CTX *ctx) argument 870 EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data) argument 890 EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *c, ENGINE *engine, const void *key, const void *iv, int encp) argument 950 EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *c, const void *key, const void *iv, int encp) argument 974 EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, void *out, int *outlen, void *in, size_t inlen) argument 1060 EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, void *out, int *outlen) argument 1104 EVP_Cipher(EVP_CIPHER_CTX *ctx, void *out, const void *in, size_t size) argument 1114 enc_null_init(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int encp) argument 1124 enc_null_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int size) argument 1135 enc_null_cleanup(EVP_CIPHER_CTX *ctx) argument 1702 EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, void *key) argument 1725 EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *data) argument 1958 EVP_EncodeInit(EVP_ENCODE_CTX *ctx) argument 1967 EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) argument 2013 EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) argument 2062 EVP_DecodeInit(EVP_ENCODE_CTX *ctx) argument 2076 EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) argument 2251 EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) argument [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/mech/ |
H A D | gss_get_mic.c | 38 struct _gss_context *ctx = (struct _gss_context *) context_handle; local 42 if (ctx == NULL) { 47 m = ctx->gc_mech; 49 return (m->gm_get_mic(minor_status, ctx->gc_ctx, qop_req,
|
H A D | gss_verify_mic.c | 38 struct _gss_context *ctx = (struct _gss_context *) context_handle; local 43 if (ctx == NULL) { 48 m = ctx->gc_mech; 50 return (m->gm_verify_mic(minor_status, ctx->gc_ctx,
|
H A D | gss_wrap_size_limit.c | 39 struct _gss_context *ctx = (struct _gss_context *) context_handle; local 43 if (ctx == NULL) { 48 m = ctx->gc_mech; 50 return (m->gm_wrap_size_limit(minor_status, ctx->gc_ctx,
|
/macosx-10.10/OpenSSL098-52/src/crypto/ec/ |
H A D | ec2_smpt.c | 70 const BIGNUM *x_, int y_bit, BN_CTX *ctx) 83 if (ctx == NULL) 85 ctx = new_ctx = BN_CTX_new(); 86 if (ctx == NULL) 92 BN_CTX_start(ctx); 93 tmp = BN_CTX_get(ctx); 94 x = BN_CTX_get(ctx); 95 y = BN_CTX_get(ctx); 96 z = BN_CTX_get(ctx); 102 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) got 69 ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) argument [all...] |
/macosx-10.10/apache-793/httpd/server/ |
H A D | util_expr_parse.y | 29 %parse-param { ap_expr_parse_ctx_t *ctx } 104 #define yyscanner ctx->scanner 112 root : T_EXPR_BOOL expr { ctx->expr = $2; } 113 | T_EXPR_STRING string { ctx->expr = $2; } 117 expr : T_TRUE { $$ = ap_expr_make(op_True, NULL, NULL, ctx); } 118 | T_FALSE { $$ = ap_expr_make(op_False, NULL, NULL, ctx); } 119 | T_OP_NOT expr { $$ = ap_expr_make(op_Not, $2, NULL, ctx); } 120 | expr T_OP_OR expr { $$ = ap_expr_make(op_Or, $1, $3, ctx); } 121 | expr T_OP_AND expr { $$ = ap_expr_make(op_And, $1, $3, ctx); } 122 | comparison { $$ = ap_expr_make(op_Comp, $1, NULL, ctx); } [all...] |
/macosx-10.10/bind9-45.101/bind9/lib/isc/include/isc/ |
H A D | app.h | 109 isc_result_t (*ctxstart)(isc_appctx_t *ctx); 110 isc_result_t (*ctxrun)(isc_appctx_t *ctx); 111 isc_result_t (*ctxsuspend)(isc_appctx_t *ctx); 112 isc_result_t (*ctxshutdown)(isc_appctx_t *ctx); 113 void (*ctxfinish)(isc_appctx_t *ctx); 114 void (*settaskmgr)(isc_appctx_t *ctx, 116 void (*setsocketmgr)(isc_appctx_t *ctx, 118 void (*settimermgr)(isc_appctx_t *ctx, 144 isc_app_ctxstart(isc_appctx_t *ctx); 156 * 'ctx' i [all...] |
/macosx-10.10/bind9-45.101/bind9/lib/lwres/ |
H A D | context_p.h | 27 * Helper functions, assuming the context is always called "ctx" in 30 #define CTXMALLOC(len) ctx->malloc(ctx->arg, (len)) 31 #define CTXFREE(addr, len) ctx->free(ctx->arg, (addr), (len))
|
/macosx-10.10/ntp-92/lib/isc/include/isc/ |
H A D | md5.h | 60 isc_md5_init(isc_md5_t *ctx); 63 isc_md5_invalidate(isc_md5_t *ctx); 66 isc_md5_update(isc_md5_t *ctx, const unsigned char *buf, unsigned int len); 69 isc_md5_final(isc_md5_t *ctx, unsigned char *digest);
|
H A D | sha1.h | 46 isc_sha1_init(isc_sha1_t *ctx); 49 isc_sha1_invalidate(isc_sha1_t *ctx); 52 isc_sha1_update(isc_sha1_t *ctx, const unsigned char *data, unsigned int len); 55 isc_sha1_final(isc_sha1_t *ctx, unsigned char *digest);
|
/macosx-10.10/apache-793/httpd/modules/filters/ |
H A D | mod_xml2enc.c | 86 /* set up a ready-initialised ctx to convert to enc, and insert filter */ 108 xml2ctx* ctx = apr_pcalloc(r->pool, sizeof(xml2ctx)); local 109 ctx->flags = flags; 111 ctx->convset = convset; 112 ctx->bblen = BUFLEN; 113 ctx->buf = apr_palloc(r->pool, (apr_size_t)ctx->bblen); 115 ap_add_output_filter("xml2enc", ctx, r, r->connection); 126 static void fix_skipto(request_rec* r, xml2ctx* ctx) argument 130 if ((cfg->skipto != NULL) && (ctx 165 sniff_encoding(request_rec* r, xml2ctx* ctx) argument 289 xml2ctx* ctx; local 303 xml2ctx* ctx = f->ctx; local 533 xml2ctx* ctx = ap_get_module_config(r->request_config, &xml2enc_module); local [all...] |