/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/ |
H A D | sslTransport.c | 45 SSLContext *ctx, 52 ctx, op, req, moved, (int)stat); 55 #define sslIoTrace(ctx, op, req, moved, stat) 60 static OSStatus SSLProcessProtocolMessage(SSLRecord *rec, SSLContext *ctx); 61 static OSStatus SSLHandshakeProceed(SSLContext *ctx); 62 //static OSStatus SSLInitConnection(SSLContext *ctx); 66 SSLContext *ctx, 75 sslLogRecordIo("[%p] SSLWrite top", ctx); 76 if((ctx == NULL) || (bytesWritten == NULL)) { 83 switch(ctx 44 sslIoTrace( SSLContext *ctx, const char *op, size_t req, size_t moved, OSStatus stat) argument 65 SSLWrite( SSLContext *ctx, const void * data, size_t dataLength, size_t *bytesWritten) argument 152 SSLRead( SSLContext *ctx, void * data, size_t dataLength, size_t *processed) argument 312 SSLHandshake(SSLContext *ctx) argument 363 SSLHandshakeProceed(SSLContext *ctx) argument 401 SSLProcessProtocolMessage(SSLRecord *rec, SSLContext *ctx) argument 407 SSLClose(SSLContext *ctx) argument 436 SSLGetBufferedReadSize(SSLContextRef ctx, size_t *bufSize) argument [all...] |
H A D | sslRecord.h | 45 SSLContext *ctx); 49 SSLContext *ctx); 53 SSLContext *ctx); 56 SSLContext *ctx);
|
H A D | SSLRecordInternal.c | 51 struct SSLRecordInternalContext *ctx) 57 ortn = (ctx->read)(ctx->ioRef, 63 ctx, buf.length, dataLength, (int)ortn); 71 struct SSLRecordInternalContext *ctx) 77 ortn = (ctx->write)(ctx->ioRef, 83 ctx, buf.length, dataLength, (int)ortn); 92 struct SSLRecordInternalContext *ctx = ref; local 98 size_t head=tls_record_get_header_size(ctx 49 sslIoRead(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument 69 sslIoWrite(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument 199 struct SSLRecordInternalContext *ctx = ref; local 245 struct SSLRecordInternalContext *ctx = ref; local 252 struct SSLRecordInternalContext *ctx = ref; local 259 struct SSLRecordInternalContext *ctx = ref; local 266 struct SSLRecordInternalContext *ctx = ref; local 273 struct SSLRecordInternalContext *ctx = ref; local 290 struct SSLRecordInternalContext *ctx= ref; local 316 struct SSLRecordInternalContext *ctx = (struct SSLRecordInternalContext *)ref; local 335 struct SSLRecordInternalContext *ctx; local 363 struct SSLRecordInternalContext *ctx = ref; local 376 struct SSLRecordInternalContext *ctx = ref; local 386 struct SSLRecordInternalContext *ctx = ref; local [all...] |
/macosx-10.10/OpenSSL098-52/src/crypto/evp/ |
H A D | enc_min.c | 69 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) argument 74 memset(ctx,0,sizeof(EVP_CIPHER_CTX)); 75 /* ctx->cipher=NULL; */ 84 static int bad_init(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument 88 static int bad_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 94 static int bad_set_asn1(EVP_CIPHER_CTX *ctx, ASN1_TYPE *typ) argument 96 static int bad_get_asn1(EVP_CIPHER_CTX *ctx, ASN1_TYPE *typ) argument 98 static int bad_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) argument 125 static int do_evp_enc_engine_null(EVP_CIPHER_CTX *ctx, argument 133 (EVP_CIPHER_CTX *ctx, cons 136 int_EVP_CIPHER_set_engine_callbacks( int (*eng_ciph_fin)(ENGINE *impl), int (*eng_ciph_evp) (EVP_CIPHER_CTX *ctx, const EVP_CIPHER **pciph, ENGINE *impl)) argument 149 do_evp_enc_engine(EVP_CIPHER_CTX *ctx, const EVP_CIPHER **pcipher, ENGINE *impl) argument 191 EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv, int enc) argument 349 EVP_Cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument 357 EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) argument 378 EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx) argument 383 EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx) argument [all...] |
H A D | bio_enc.c | 110 BIO_ENC_CTX *ctx; local 112 ctx=(BIO_ENC_CTX *)OPENSSL_malloc(sizeof(BIO_ENC_CTX)); 113 if (ctx == NULL) return(0); 114 EVP_CIPHER_CTX_init(&ctx->cipher); 116 ctx->buf_len=0; 117 ctx->buf_off=0; 118 ctx->cont=1; 119 ctx->finished=0; 120 ctx->ok=1; 123 bi->ptr=(char *)ctx; 146 BIO_ENC_CTX *ctx; local 234 BIO_ENC_CTX *ctx; local 289 BIO_ENC_CTX *ctx,*dctx; local 411 BIO_ENC_CTX *ctx; local [all...] |
H A D | e_des.c | 68 static int des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 74 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 78 DES_ecb_encrypt((DES_cblock *)(in + i), (DES_cblock *)(out + i), ctx->cipher_data, ctx->encrypt); 82 static int des_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 85 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, (DES_cblock *)ctx->iv, &ctx->num); 89 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, argument 92 DES_ncbc_encrypt(in, out, (long)inl, ctx 97 des_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument 107 des_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument 123 des_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) argument 150 des_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) argument [all...] |
/macosx-10.10/xnu-2782.1.97/libkern/libkern/crypto/ |
H A D | sha2.h | 50 ccdigest_ctx_decl(CCSHA256_STATE_SIZE, CCSHA256_BLOCK_SIZE, ctx); 54 ccdigest_ctx_decl(CCSHA512_STATE_SIZE, CCSHA512_BLOCK_SIZE, ctx); 61 void SHA256_Init(SHA256_CTX *ctx); 62 void SHA256_Update(SHA256_CTX *ctx, const void *data, size_t len); 63 void SHA256_Final(void *digest, SHA256_CTX *ctx); 65 void SHA384_Init(SHA384_CTX *ctx); 66 void SHA384_Update(SHA384_CTX *ctx, const void *data, size_t len); 67 void SHA384_Final(void *digest, SHA384_CTX *ctx); 69 void SHA512_Init(SHA512_CTX *ctx); 70 void SHA512_Update(SHA512_CTX *ctx, cons [all...] |
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/lib/ |
H A D | delimitermap.c | 79 idn_delimitermap_t ctx = NULL; local 85 ctx = (idn_delimitermap_t) malloc(sizeof(struct idn_delimitermap)); 86 if (ctx == NULL) { 92 ctx->delimiters = (unsigned long *) malloc(sizeof(unsigned long) 94 if (ctx->delimiters == NULL) { 98 ctx->ndelimiters = 0; 99 ctx->delimiter_size = DELIMITERMAP_INITIAL_DELIMITER_SIZE; 100 ctx->reference_count = 1; 101 *ctxp = ctx; 106 free(ctx); 112 idn_delimitermap_destroy(idn_delimitermap_t ctx) argument 130 idn_delimitermap_incrref(idn_delimitermap_t ctx) argument 141 idn_delimitermap_add(idn_delimitermap_t ctx, unsigned long delimiter) argument 176 idn_delimitermap_addall(idn_delimitermap_t ctx, unsigned long *delimiters, int ndelimiters) argument 199 idn_delimitermap_map(idn_delimitermap_t ctx, const unsigned long *from, unsigned long *to, size_t tolen) argument [all...] |
H A D | resconf.c | 127 static idn_result_t parse_conf(idn_resconf_t ctx, FILE *fp); 128 static idn_result_t parse_idn_encoding(idn_resconf_t ctx, char *args, 130 static idn_result_t parse_local_map(idn_resconf_t ctx, char *args, 132 static idn_result_t parse_nameprep(idn_resconf_t ctx, char *args, 135 static void resetconf(idn_resconf_t ctx); 137 static idn_result_t update_local_converter(idn_resconf_t ctx); 139 static idn_result_t setdefaults_body(idn_resconf_t ctx, int conf_mask); 175 idn_resconf_t ctx = NULL; local 186 if ((ctx = malloc(sizeof(*ctx))) 326 idn_resconf_loadfile(idn_resconf_t ctx, const char *file) argument 368 idn_resconf_destroy(idn_resconf_t ctx) argument 386 idn_resconf_incrref(idn_resconf_t ctx) argument 397 idn_resconf_getalternateconverter(idn_resconf_t ctx) argument 406 idn_resconf_getdelimitermap(idn_resconf_t ctx) argument 417 idn_resconf_getidnconverter(idn_resconf_t ctx) argument 428 idn_resconf_getauxidnconverter(idn_resconf_t ctx) argument 439 idn_resconf_getlocalconverter(idn_resconf_t ctx) argument 458 idn_resconf_getlocalmapselector(idn_resconf_t ctx) argument 469 idn_resconf_getmapper(idn_resconf_t ctx) argument 480 idn_resconf_getnormalizer(idn_resconf_t ctx) argument 491 idn_resconf_getprohibitchecker(idn_resconf_t ctx) argument 502 idn_resconf_getunassignedchecker(idn_resconf_t ctx) argument 513 idn_resconf_getbidichecker(idn_resconf_t ctx) argument 524 idn_resconf_setalternateconverter(idn_resconf_t ctx, idn_converter_t alternate_converter) argument 532 idn_resconf_setdelimitermap(idn_resconf_t ctx, idn_delimitermap_t delimiter_mapper) argument 546 idn_resconf_setidnconverter(idn_resconf_t ctx, idn_converter_t idn_converter) argument 560 idn_resconf_setauxidnconverter(idn_resconf_t ctx, idn_converter_t aux_idn_converter) argument 574 idn_resconf_setlocalconverter(idn_resconf_t ctx, idn_converter_t local_converter) argument 597 idn_resconf_setlocalmapselector(idn_resconf_t ctx, idn_mapselector_t local_mapper) argument 611 idn_resconf_setmapper(idn_resconf_t ctx, idn_mapper_t mapper) argument 624 idn_resconf_setnormalizer(idn_resconf_t ctx, idn_normalizer_t normalizer) argument 637 idn_resconf_setprohibitchecker(idn_resconf_t ctx, idn_checker_t prohibit_checker) argument 651 idn_resconf_setunassignedchecker(idn_resconf_t ctx, idn_checker_t unassigned_checker) argument 665 idn_resconf_setbidichecker(idn_resconf_t ctx, idn_checker_t bidi_checker) argument 679 idn_resconf_setnameprepversion(idn_resconf_t ctx, const char *version) argument 793 idn_resconf_setalternateconvertername(idn_resconf_t ctx, const char *name, int flags) argument 804 idn_resconf_setidnconvertername(idn_resconf_t ctx, const char *name, int flags) argument 826 idn_resconf_setauxidnconvertername(idn_resconf_t ctx, const char *name, int flags) argument 855 idn_resconf_setlocalconvertername(idn_resconf_t ctx, const char *name, int flags) argument 889 idn_resconf_addalldelimitermapucs(idn_resconf_t ctx, unsigned long *v, int nv) argument 906 idn_resconf_addalllocalmapselectornames(idn_resconf_t ctx, const char *tld, const char **names, int nnames) argument 926 idn_resconf_addallmappernames(idn_resconf_t ctx, const char **names, int nnames) argument 945 idn_resconf_addallnormalizernames(idn_resconf_t ctx, const char **names, int nnames) argument 964 idn_resconf_addallprohibitcheckernames(idn_resconf_t ctx, const char **names, int nnames) argument 997 idn_resconf_addallunassignedcheckernames(idn_resconf_t ctx, const char **names, int nnames) argument 1031 idn_resconf_addallbidicheckernames(idn_resconf_t ctx, const char **names, int nnames) argument 1064 parse_conf(idn_resconf_t ctx, FILE *fp) argument 1156 parse_idn_encoding(idn_resconf_t ctx, char *args, int lineno) argument 1181 parse_local_map(idn_resconf_t ctx, char *args, int lineno) argument 1220 parse_nameprep(idn_resconf_t ctx, char *args, int lineno) argument 1369 resetconf(idn_resconf_t ctx) argument 1386 update_local_converter(idn_resconf_t ctx) argument 1430 idn_resconf_setdefaults(idn_resconf_t ctx) argument 1450 setdefaults_body(idn_resconf_t ctx, int conf_mask) argument [all...] |
/macosx-10.10/OpenSSL098-52/src/crypto/bio/ |
H A D | bf_buff.c | 95 BIO_F_BUFFER_CTX *ctx; local 97 ctx=(BIO_F_BUFFER_CTX *)OPENSSL_malloc(sizeof(BIO_F_BUFFER_CTX)); 98 if (ctx == NULL) return(0); 99 ctx->ibuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE); 100 if (ctx->ibuf == NULL) { OPENSSL_free(ctx); return(0); } 101 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_BUFFER_SIZE); 102 if (ctx->obuf == NULL) { OPENSSL_free(ctx->ibuf); OPENSSL_free(ctx); retur 134 BIO_F_BUFFER_CTX *ctx; local 200 BIO_F_BUFFER_CTX *ctx; local 273 BIO_F_BUFFER_CTX *ctx; local 458 BIO_F_BUFFER_CTX *ctx; local [all...] |
/macosx-10.10/Heimdal-398.1.2/base/ |
H A D | json.c | 52 void *ctx; member in struct:twojson 78 j->out(j->ctx, "\t"); 82 array2json(heim_object_t value, int *stop, void *ctx) argument 84 struct twojson *j = ctx; 90 j->out(j->ctx, NULL); /* eat previous '\n' if possible */ 91 j->out(j->ctx, ",\n"); 97 dict2json(heim_object_t key, heim_object_t value, void *ctx) argument 99 struct twojson *j = ctx; 105 j->out(j->ctx, NULL); /* eat previous '\n' if possible */ 106 j->out(j->ctx, ",\ 254 heim_base2json(heim_object_t obj, void *ctx, heim_json_flags_t flags, void (*out)(void *, const char *)) argument 298 white_spaces(struct parse_ctx *ctx) argument 320 parse_number(struct parse_ctx *ctx) argument 347 parse_string(struct parse_ctx *ctx) argument 440 parse_pair(heim_dict_t dict, struct parse_ctx *ctx) argument 509 parse_dict(struct parse_ctx *ctx) argument 575 parse_item(heim_array_t array, struct parse_ctx *ctx) argument 609 parse_array(struct parse_ctx *ctx) argument 627 parse_value(struct parse_ctx *ctx) argument 694 struct parse_ctx ctx; local 720 show_printf(void *ctx, const char *str) argument 741 strbuf_add(void *ctx, const char *str) argument [all...] |
/macosx-10.10/apache-793/httpd/modules/filters/ |
H A D | mod_sed.c | 83 static void clear_ctxpool(sed_filter_ctxt* ctx) argument 85 apr_pool_clear(ctx->tpool); 86 ctx->outbuf = NULL; 87 ctx->curoutbuf = NULL; 88 ctx->numbuckets = 0; 94 static void alloc_outbuf(sed_filter_ctxt* ctx) argument 96 ctx->outbuf = apr_palloc(ctx->tpool, ctx->bufsize + 1); 97 ctx 103 append_bucket(sed_filter_ctxt* ctx, char* buf, int sz) argument 134 flush_output_buffer(sed_filter_ctxt *ctx) argument 157 sed_filter_ctxt *ctx = (sed_filter_ctxt *) dummy; local 236 sed_filter_ctxt* ctx; local 274 sed_filter_ctxt *ctx = f->ctx; local 392 sed_filter_ctxt *ctx = f->ctx; local [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/API/ |
H A D | JSProfilerPrivate.cpp | 35 void JSStartProfiling(JSContextRef ctx, JSStringRef title) argument 37 LegacyProfiler::profiler()->startProfiling(toJS(ctx), title->string()); 40 void JSEndProfiling(JSContextRef ctx, JSStringRef title) argument 42 ExecState* exec = toJS(ctx);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/Security/ |
H A D | sslRecord.h | 45 SSLContext *ctx); 49 SSLContext *ctx); 53 SSLContext *ctx); 56 SSLContext *ctx);
|
H A D | SSLRecordInternal.c | 51 struct SSLRecordInternalContext *ctx) 57 ortn = (ctx->read)(ctx->ioRef, 63 ctx, buf.length, dataLength, (int)ortn); 71 struct SSLRecordInternalContext *ctx) 77 ortn = (ctx->write)(ctx->ioRef, 83 ctx, buf.length, dataLength, (int)ortn); 92 struct SSLRecordInternalContext *ctx = ref; local 98 size_t head=tls_record_get_header_size(ctx 49 sslIoRead(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument 69 sslIoWrite(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument 199 struct SSLRecordInternalContext *ctx = ref; local 245 struct SSLRecordInternalContext *ctx = ref; local 252 struct SSLRecordInternalContext *ctx = ref; local 259 struct SSLRecordInternalContext *ctx = ref; local 266 struct SSLRecordInternalContext *ctx = ref; local 273 struct SSLRecordInternalContext *ctx = ref; local 290 struct SSLRecordInternalContext *ctx= ref; local 316 struct SSLRecordInternalContext *ctx = (struct SSLRecordInternalContext *)ref; local 335 struct SSLRecordInternalContext *ctx; local 363 struct SSLRecordInternalContext *ctx = ref; local 376 struct SSLRecordInternalContext *ctx = ref; local 386 struct SSLRecordInternalContext *ctx = ref; local [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/lib/ |
H A D | sslRecord.h | 45 SSLContext *ctx); 49 SSLContext *ctx); 53 SSLContext *ctx); 56 SSLContext *ctx);
|
H A D | SSLRecordInternal.c | 51 struct SSLRecordInternalContext *ctx) 57 ortn = (ctx->read)(ctx->ioRef, 63 ctx, buf.length, dataLength, (int)ortn); 71 struct SSLRecordInternalContext *ctx) 77 ortn = (ctx->write)(ctx->ioRef, 83 ctx, buf.length, dataLength, (int)ortn); 92 struct SSLRecordInternalContext *ctx = ref; local 98 size_t head=tls_record_get_header_size(ctx 49 sslIoRead(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument 69 sslIoWrite(SSLBuffer buf, size_t *actualLength, struct SSLRecordInternalContext *ctx) argument 199 struct SSLRecordInternalContext *ctx = ref; local 245 struct SSLRecordInternalContext *ctx = ref; local 252 struct SSLRecordInternalContext *ctx = ref; local 259 struct SSLRecordInternalContext *ctx = ref; local 266 struct SSLRecordInternalContext *ctx = ref; local 273 struct SSLRecordInternalContext *ctx = ref; local 290 struct SSLRecordInternalContext *ctx= ref; local 316 struct SSLRecordInternalContext *ctx = (struct SSLRecordInternalContext *)ref; local 335 struct SSLRecordInternalContext *ctx; local 363 struct SSLRecordInternalContext *ctx = ref; local 376 struct SSLRecordInternalContext *ctx = ref; local 386 struct SSLRecordInternalContext *ctx = ref; local [all...] |
/macosx-10.10/apache-793/httpd/support/ |
H A D | passwd_common.c | 120 int get_password(struct passwd_ctx *ctx) argument 123 if (ctx->passwd_src == PW_STDIN) { 126 if (apr_file_open_stdin(&file_stdin, ctx->pool) != APR_SUCCESS) { 127 ctx->errstr = "Unable to read from stdin."; 142 ctx->passwd = apr_pstrdup(ctx->pool, buf); 144 else if (ctx->passwd_src == PW_PROMPT_VERIFY) { 148 ctx->passwd = apr_pstrdup(ctx->pool, buf); 154 ctx 179 mkhash(struct passwd_ctx *ctx) argument 281 parse_common_options(struct passwd_ctx *ctx, char opt, const char *opt_arg) argument [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/corecrypto/ccdigest/src/ |
H A D | ccdigest_init.c | 13 void ccdigest_init(const struct ccdigest_info *di, ccdigest_ctx_t ctx) { argument 14 ccdigest_copy_state(di, ccdigest_state_ccn(di, ctx), di->initial_state); 15 ccdigest_nbits(di, ctx) = 0; 16 ccdigest_num(di, ctx) = 0;
|
/macosx-10.10/bind9-45.101/bind9/lib/isc/ |
H A D | hmacsha.c | 39 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, argument 42 HMAC_Init(ctx, (const void *) key, (int) len, EVP_sha1()); 46 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx) { argument 47 HMAC_CTX_cleanup(ctx); 51 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, argument 54 HMAC_Update(ctx, buf, (int) len); 58 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) { argument 63 HMAC_Final(ctx, newdigest, NULL); 64 HMAC_CTX_cleanup(ctx); 70 isc_hmacsha224_init(isc_hmacsha224_t *ctx, cons argument 77 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx) argument 82 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument 89 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument 101 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument 108 isc_hmacsha256_invalidate(isc_hmacsha256_t *ctx) argument 113 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument 120 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument 132 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument 139 isc_hmacsha384_invalidate(isc_hmacsha384_t *ctx) argument 144 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument 151 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument 163 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument 170 isc_hmacsha512_invalidate(isc_hmacsha512_t *ctx) argument 175 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument 182 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument 202 isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) argument 225 isc_hmacsha1_invalidate(isc_hmacsha1_t *ctx) argument 235 isc_hmacsha1_update(isc_hmacsha1_t *ctx, const unsigned char *buf, unsigned int len) argument 245 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument 270 isc_hmacsha224_init(isc_hmacsha224_t *ctx, const unsigned char *key, unsigned int len) argument 293 isc_hmacsha224_invalidate(isc_hmacsha224_t *ctx) argument 302 isc_hmacsha224_update(isc_hmacsha224_t *ctx, const unsigned char *buf, unsigned int len) argument 312 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument 336 isc_hmacsha256_init(isc_hmacsha256_t *ctx, const unsigned char *key, unsigned int len) argument 359 isc_hmacsha256_invalidate(isc_hmacsha256_t *ctx) argument 368 isc_hmacsha256_update(isc_hmacsha256_t *ctx, const unsigned char *buf, unsigned int len) argument 378 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument 402 isc_hmacsha384_init(isc_hmacsha384_t *ctx, const unsigned char *key, unsigned int len) argument 425 isc_hmacsha384_invalidate(isc_hmacsha384_t *ctx) argument 434 isc_hmacsha384_update(isc_hmacsha384_t *ctx, const unsigned char *buf, unsigned int len) argument 444 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument 468 isc_hmacsha512_init(isc_hmacsha512_t *ctx, const unsigned char *key, unsigned int len) argument 491 isc_hmacsha512_invalidate(isc_hmacsha512_t *ctx) argument 500 isc_hmacsha512_update(isc_hmacsha512_t *ctx, const unsigned char *buf, unsigned int len) argument 510 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument 536 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) argument 549 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument 562 isc_hmacsha256_verify(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument 575 isc_hmacsha384_verify(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument 588 isc_hmacsha512_verify(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/netlogon/ |
H A D | delete_sec_context.c | 44 gssnetlogon_ctx ctx = (gssnetlogon_ctx)*context_handle; local 48 _netlogon_release_name(minor_status, (gss_name_t *)&ctx->SourceName); 49 _netlogon_release_name(minor_status, (gss_name_t *)&ctx->TargetName); 50 HEIMDAL_MUTEX_destroy(&ctx->Mutex); 51 memset(ctx, 0, sizeof(*ctx)); 52 free(ctx);
|
/macosx-10.10/OpenSSL098-52/src/crypto/engine/ |
H A D | eng_dyn.c | 73 static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx); 169 dynamic_data_ctx *ctx = (dynamic_data_ctx *)ptr; local 170 if(ctx->dynamic_dso) 171 DSO_free(ctx->dynamic_dso); 172 if(ctx->DYNAMIC_LIBNAME) 173 OPENSSL_free((void*)ctx->DYNAMIC_LIBNAME); 174 if(ctx->engine_id) 175 OPENSSL_free((void*)ctx->engine_id); 176 if(ctx->dirs) 177 sk_pop_free(ctx 186 dynamic_set_data_ctx(ENGINE *e, dynamic_data_ctx **ctx) argument 234 dynamic_data_ctx *ctx; local 317 dynamic_data_ctx *ctx = dynamic_get_data_ctx(e); local 406 int_load(dynamic_data_ctx *ctx) argument 433 dynamic_load(ENGINE *e, dynamic_data_ctx *ctx) argument [all...] |
/macosx-10.10/OpenSSL098-52/src/crypto/jpake/ |
H A D | jpake.c | 29 BN_CTX *ctx; member in struct:JPAKE_CTX 75 static void JPAKE_CTX_init(JPAKE_CTX *ctx, const char *name, argument 80 ctx->p.name = OPENSSL_strdup(name); 81 ctx->p.peer_name = OPENSSL_strdup(peer_name); 82 ctx->p.p = BN_dup(p); 83 ctx->p.g = BN_dup(g); 84 ctx->p.q = BN_dup(q); 85 ctx->secret = BN_dup(secret); 87 ctx->p.gxc = BN_new(); 88 ctx 96 JPAKE_CTX_release(JPAKE_CTX *ctx) argument 120 JPAKE_CTX *ctx = OPENSSL_malloc(sizeof *ctx); local 127 JPAKE_CTX_free(JPAKE_CTX *ctx) argument 187 generate_zkp(JPAKE_STEP_PART *p, const BIGNUM *x, const BIGNUM *zkpg, JPAKE_CTX *ctx) argument 215 verify_zkp(const JPAKE_STEP_PART *p, const BIGNUM *zkpg, JPAKE_CTX *ctx) argument 248 generate_step_part(JPAKE_STEP_PART *p, const BIGNUM *x, const BIGNUM *g, JPAKE_CTX *ctx) argument 256 genrand(JPAKE_CTX *ctx) argument 277 JPAKE_STEP1_generate(JPAKE_STEP1 *send, JPAKE_CTX *ctx) argument 287 is_legal(const BIGNUM *gx, const JPAKE_CTX *ctx) argument 303 JPAKE_STEP1_process(JPAKE_CTX *ctx, const JPAKE_STEP1 *received) argument 347 JPAKE_STEP2_generate(JPAKE_STEP2 *send, JPAKE_CTX *ctx) argument 383 compute_key(JPAKE_CTX *ctx, const BIGNUM *gx) argument 416 JPAKE_STEP2_process(JPAKE_CTX *ctx, const JPAKE_STEP2 *received) argument 458 JPAKE_STEP3A_generate(JPAKE_STEP3A *send, JPAKE_CTX *ctx) argument 466 JPAKE_STEP3A_process(JPAKE_CTX *ctx, const JPAKE_STEP3A *received) argument 486 JPAKE_STEP3B_generate(JPAKE_STEP3B *send, JPAKE_CTX *ctx) argument 493 JPAKE_STEP3B_process(JPAKE_CTX *ctx, const JPAKE_STEP3B *received) argument 509 JPAKE_get_shared_key(JPAKE_CTX *ctx) argument [all...] |
/macosx-10.10/OpenSSL098-52/src/fips/rand/ |
H A D | fips_rand.c | 117 static void fips_rand_prng_reset(FIPS_PRNG_CTX *ctx) argument 119 ctx->seeded = 0; 120 ctx->keyed = 0; 121 ctx->test_mode = 0; 122 ctx->counter = 0; 123 ctx->second = 0; 124 ctx->error = 0; 125 ctx->vpos = 0; 126 OPENSSL_cleanse(ctx->V, AES_BLOCK_LENGTH); 127 OPENSSL_cleanse(&ctx 131 fips_set_prng_key(FIPS_PRNG_CTX *ctx, const unsigned char *key, FIPS_RAND_SIZE_T keylen) argument 153 fips_set_prng_seed(FIPS_PRNG_CTX *ctx, const unsigned char *seed, FIPS_RAND_SIZE_T seedlen) argument 195 fips_set_test_mode(FIPS_PRNG_CTX *ctx) argument 222 fips_get_dt(FIPS_PRNG_CTX *ctx) argument 273 fips_rand(FIPS_PRNG_CTX *ctx, unsigned char *out, FIPS_RAND_SIZE_T outlen) argument [all...] |
/macosx-10.10/CommonCrypto-60061/lib/ |
H A D | CommonCryptoAESShoefly.c | 40 aes_encrypt_ctx *ctx = cx; local 46 &ctx->ctx, kCCContextSizeGENERIC, &ctx->cref, &dataUsed); 51 aes_encrypt_ctx *ctx = cx; local 56 &ctx->ctx, kCCContextSizeGENERIC, &ctx->cref, &dataUsed); 61 aes_decrypt_ctx *ctx = cx; local 66 &ctx 71 aes_decrypt_ctx *ctx = cx; local 83 aes_encrypt_ctx *ctx = cx; local 92 aes_decrypt_ctx *ctx = cx; local [all...] |