Searched refs:ctx (Results 201 - 225 of 1033) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/fips/dh/
H A Dfips_dh_key.c74 const BIGNUM *m, BN_CTX *ctx,
110 BN_CTX *ctx; local
114 ctx = BN_CTX_new();
115 if (ctx == NULL) goto err;
138 dh->p,ctx)) goto err;
147 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, priv_key,dh->p,ctx,mont))
159 BN_CTX_free(ctx);
165 BN_CTX *ctx; local
170 ctx = BN_CTX_new();
171 if (ctx
201 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument
[all...]
H A Dfips_dh_check.c78 BN_CTX *ctx=NULL; local
83 ctx=BN_CTX_new();
84 if (ctx == NULL) goto err;
109 if (!BN_is_prime(dh->p,BN_prime_checks,NULL,ctx,NULL))
114 if (!BN_is_prime(q,BN_prime_checks,NULL,ctx,NULL))
119 if (ctx != NULL) BN_CTX_free(ctx);
H A Dfips_dh_gen.c103 BN_CTX *ctx=NULL; local
113 ctx=BN_CTX_new();
114 if (ctx == NULL) goto err;
115 BN_CTX_start(ctx);
116 t1 = BN_CTX_get(ctx);
117 t2 = BN_CTX_get(ctx);
172 if (ctx != NULL)
174 BN_CTX_end(ctx);
175 BN_CTX_free(ctx);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/dh/
H A Ddh_key.c71 const BIGNUM *m, BN_CTX *ctx,
107 BN_CTX *ctx; local
111 ctx = BN_CTX_new();
112 if (ctx == NULL) goto err;
135 dh->p,ctx)) goto err;
144 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, priv_key,dh->p,ctx,mont))
156 BN_CTX_free(ctx);
162 BN_CTX *ctx; local
167 ctx = BN_CTX_new();
168 if (ctx
198 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument
[all...]
H A Ddh_check.c78 BN_CTX *ctx=NULL; local
83 ctx=BN_CTX_new();
84 if (ctx == NULL) goto err;
109 if (!BN_is_prime(dh->p,BN_prime_checks,NULL,ctx,NULL))
114 if (!BN_is_prime(q,BN_prime_checks,NULL,ctx,NULL))
119 if (ctx != NULL) BN_CTX_free(ctx);
H A Ddh_gen.c98 BN_CTX *ctx=NULL; local
102 ctx=BN_CTX_new();
103 if (ctx == NULL) goto err;
104 BN_CTX_start(ctx);
105 t1 = BN_CTX_get(ctx);
106 t2 = BN_CTX_get(ctx);
162 if (ctx != NULL)
164 BN_CTX_end(ctx);
165 BN_CTX_free(ctx);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dh264_mp4toannexb_bsf.c55 H264BSFContext *ctx = bsfc->priv_data; local
67 if (!ctx->sps_pps_data) {
75 ctx->length_size = (*extradata++ & 0x3) + 1;
76 if (ctx->length_size == 3)
103 ctx->sps_pps_data = out;
104 ctx->size = total_size;
105 ctx->first_idr = 1;
111 if (ctx->length_size == 1)
113 else if (ctx->length_size == 2)
118 buf += ctx
145 H264BSFContext *ctx = bsfc->priv_data; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/rsa/
H A Drsa_gen.c89 BN_CTX *ctx=NULL; local
91 ctx=BN_CTX_new();
92 if (ctx == NULL) goto err;
93 BN_CTX_start(ctx);
94 r0 = BN_CTX_get(ctx);
95 r1 = BN_CTX_get(ctx);
96 r2 = BN_CTX_get(ctx);
97 r3 = BN_CTX_get(ctx);
121 if (!BN_gcd(r1,r2,rsa->e,ctx)) goto err;
146 if (!BN_gcd(r1,r2,rsa->e,ctx)) got
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/
H A Dc14n.c86 xmlC14NCtxPtr ctx);
94 static int xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur);
95 static int xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur);
115 #define xmlC14NIsVisible( ctx, node, parent ) \
116 (((ctx)->is_visible_callback != NULL) ? \
117 (ctx)->is_visible_callback((ctx)->user_data, \
398 * @ctx: the C14N context
440 xmlExcC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlC14NCtxPtr ctx) { argument
466 return(xmlC14NIsVisible(ctx, ns
534 xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
596 xmlC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
701 xmlExcC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
909 xmlC14NPrintAttrs(const xmlAttrPtr attr, xmlC14NCtxPtr ctx) argument
978 xmlC14NProcessAttrsAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int parent_visible) argument
1057 xmlC14NCheckForRelativeNamespaces(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1117 xmlC14NProcessElementNode(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
1225 xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1416 xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1440 xmlC14NFreeCtx(xmlC14NCtxPtr ctx) argument
1479 xmlC14NCtxPtr ctx = NULL; local
1573 xmlC14NCtxPtr ctx; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/
H A Dc14n.c86 xmlC14NCtxPtr ctx);
94 static int xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur);
95 static int xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur);
115 #define xmlC14NIsVisible( ctx, node, parent ) \
116 (((ctx)->is_visible_callback != NULL) ? \
117 (ctx)->is_visible_callback((ctx)->user_data, \
398 * @ctx: the C14N context
440 xmlExcC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlC14NCtxPtr ctx) { argument
466 return(xmlC14NIsVisible(ctx, ns
534 xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
596 xmlC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
701 xmlExcC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
909 xmlC14NPrintAttrs(const xmlAttrPtr attr, xmlC14NCtxPtr ctx) argument
978 xmlC14NProcessAttrsAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int parent_visible) argument
1057 xmlC14NCheckForRelativeNamespaces(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1117 xmlC14NProcessElementNode(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
1225 xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1416 xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1440 xmlC14NFreeCtx(xmlC14NCtxPtr ctx) argument
1479 xmlC14NCtxPtr ctx = NULL; local
1573 xmlC14NCtxPtr ctx; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/
H A Dc14n.c86 xmlC14NCtxPtr ctx);
94 static int xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur);
95 static int xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur);
115 #define xmlC14NIsVisible( ctx, node, parent ) \
116 (((ctx)->is_visible_callback != NULL) ? \
117 (ctx)->is_visible_callback((ctx)->user_data, \
398 * @ctx: the C14N context
440 xmlExcC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlC14NCtxPtr ctx) { argument
466 return(xmlC14NIsVisible(ctx, ns
534 xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
596 xmlC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
701 xmlExcC14NProcessNamespacesAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
909 xmlC14NPrintAttrs(const xmlAttrPtr attr, xmlC14NCtxPtr ctx) argument
978 xmlC14NProcessAttrsAxis(xmlC14NCtxPtr ctx, xmlNodePtr cur, int parent_visible) argument
1057 xmlC14NCheckForRelativeNamespaces(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1117 xmlC14NProcessElementNode(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible) argument
1225 xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1416 xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur) argument
1440 xmlC14NFreeCtx(xmlC14NCtxPtr ctx) argument
1479 xmlC14NCtxPtr ctx = NULL; local
1573 xmlC14NCtxPtr ctx; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/bn/
H A Dbn_sqrt.c62 BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) argument
113 r = BN_kronecker(a, p, ctx);
122 BN_CTX_start(ctx);
123 b = BN_CTX_get(ctx);
124 q = BN_CTX_get(ctx);
125 t = BN_CTX_get(ctx);
126 x = BN_CTX_get(ctx);
127 y = BN_CTX_get(ctx);
152 if (!BN_mod_exp(ret, a, q, p, ctx)) goto end;
188 if (!BN_nnmod(x, a, p, ctx)) got
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/ecdsa/
H A Decs_ossl.c92 BN_CTX *ctx = NULL; local
106 if ((ctx = BN_CTX_new()) == NULL)
113 ctx = ctx_in;
129 if (!EC_GROUP_get_order(group, order, ctx))
148 if (!EC_POINT_mul(group, tmp_point, k, NULL, NULL, ctx))
156 tmp_point, X, NULL, ctx))
165 tmp_point, X, NULL, ctx))
171 if (!BN_nnmod(r, X, order, ctx))
180 if (!BN_mod_inverse(k, k, order, ctx))
201 BN_CTX_free(ctx);
218 BN_CTX *ctx = NULL; local
342 BN_CTX *ctx; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/bio/
H A Dsaccept.c34 SSL_CTX *ctx; local
56 ctx=SSL_CTX_new(SSLv23_server_method());
57 if (!SSL_CTX_use_certificate_file(ctx,CERT_FILE,SSL_FILETYPE_PEM))
59 if (!SSL_CTX_use_PrivateKey_file(ctx,CERT_FILE,SSL_FILETYPE_PEM))
61 if (!SSL_CTX_check_private_key(ctx))
65 ssl=SSL_new(ctx);
66 ssl_bio=BIO_new_ssl(ctx,0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/evp/
H A De_rc5.c68 static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
78 #define data(ctx) EVP_C_DATA(EVP_RC5_KEY,ctx)
117 static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument
120 RC5_32_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),
121 key,data(ctx)->rounds);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/evp/
H A De_rc5.c69 static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
79 #define data(ctx) EVP_C_DATA(EVP_RC5_KEY,ctx)
118 static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument
121 RC5_32_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx),
122 key,data(ctx)->rounds);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/bio/
H A Dsaccept.c34 SSL_CTX *ctx; local
56 ctx=SSL_CTX_new(SSLv23_server_method());
57 if (!SSL_CTX_use_certificate_file(ctx,CERT_FILE,SSL_FILETYPE_PEM))
59 if (!SSL_CTX_use_PrivateKey_file(ctx,CERT_FILE,SSL_FILETYPE_PEM))
61 if (!SSL_CTX_check_private_key(ctx))
65 ssl=SSL_new(ctx);
66 ssl_bio=BIO_new_ssl(ctx,0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/auth_gss/
H A Dgss_krb5_unseal.c78 struct krb5_ctx *ctx = gss_ctx->internal_ctx_id; local
91 if (g_verify_token_header(&ctx->mech_used, &bodysize, &ptr,
114 if (krb5_encrypt(ctx->seq, NULL, md5cksum.data, md5cksum.data, 16))
124 if (now > ctx->endtime)
129 if (krb5_get_seq_num(ctx->seq, ptr + 14, ptr + 6, &direction, &seqnum))
132 if ((ctx->initiate && direction != 0xff) ||
133 (!ctx->initiate && direction != 0))
H A Dgss_krb5_seal.c79 struct krb5_ctx *ctx = gss_ctx->internal_ctx_id; local
90 token->len = g_token_size(&ctx->mech_used, 22);
93 g_make_token_header(&ctx->mech_used, 22, &ptr);
108 if (krb5_encrypt(ctx->seq, NULL, md5cksum.data,
116 seq_send = ctx->seq_send++;
119 if (krb5_make_seq_num(ctx->seq, ctx->initiate ? 0 : 0xff,
120 ctx->seq_send, krb5_hdr + 16, krb5_hdr + 8))
123 return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/dsa/
H A Ddsa_ossl.c76 BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx,
79 const BIGNUM *m, BN_CTX *ctx,
105 BN_CTX *ctx=NULL; local
128 ctx=BN_CTX_new();
129 if (ctx == NULL) goto err;
133 if (!DSA_sign_setup(dsa,ctx,&kinv,&r)) goto err;
146 if (!BN_mod_mul(&xr,dsa->priv_key,r,dsa->q,ctx)) goto err;/* s = xr */
150 if (!BN_mod_mul(s,s,kinv,dsa->q,ctx)) goto err;
164 if (ctx != NULL) BN_CTX_free(ctx);
174 BN_CTX *ctx; local
238 BN_CTX *ctx; local
337 dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) argument
344 dsa_bn_mod_exp(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/dh/
H A Ddh_gen.c107 BN_CTX *ctx=NULL; local
109 ctx=BN_CTX_new();
110 if (ctx == NULL) goto err;
111 BN_CTX_start(ctx);
112 t1 = BN_CTX_get(ctx);
113 t2 = BN_CTX_get(ctx);
169 if (ctx != NULL)
171 BN_CTX_end(ctx);
172 BN_CTX_free(ctx);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dgxfenc.c110 static int gxf_find_lines_index(GXFStreamContext *ctx) argument
115 if (ctx->codec->height == gxf_lines_tab[i].height) {
116 ctx->lines_index = gxf_lines_tab[i].index;
169 static int gxf_write_mpeg_auxiliary(ByteIOContext *pb, GXFStreamContext *ctx) argument
174 if (ctx->iframes) {
175 ctx->p_per_gop = ctx->pframes / ctx->iframes;
176 if (ctx->pframes % ctx
206 gxf_write_timecode_auxiliary(ByteIOContext *pb, GXFStreamContext *ctx) argument
272 gxf_write_material_data_section(ByteIOContext *pb, GXFContext *ctx) argument
318 gxf_write_track_description_section(ByteIOContext *pb, GXFContext *ctx) argument
330 gxf_write_map_packet(ByteIOContext *pb, GXFContext *ctx) argument
364 gxf_write_umf_material_description(ByteIOContext *pb, GXFContext *ctx) argument
391 gxf_write_umf_payload(ByteIOContext *pb, GXFContext *ctx) argument
408 gxf_write_umf_track_description(ByteIOContext *pb, GXFContext *ctx) argument
504 gxf_write_umf_media_description(ByteIOContext *pb, GXFContext *ctx) argument
556 gxf_write_umf_user_data(ByteIOContext *pb, GXFContext *ctx) argument
572 gxf_write_umf_packet(ByteIOContext *pb, GXFContext *ctx) argument
689 gxf_write_eos_packet(ByteIOContext *pb, GXFContext *ctx) argument
728 gxf_write_media_preamble(ByteIOContext *pb, GXFContext *ctx, AVPacket *pkt, int size) argument
771 gxf_write_media_packet(ByteIOContext *pb, GXFContext *ctx, AVPacket *pkt) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/include/openssl/
H A Dcomp.h36 void COMP_CTX_free(COMP_CTX *ctx);
37 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
39 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/asn1/
H A Da_verify.c79 EVP_MD_CTX ctx; local
84 EVP_MD_CTX_init(&ctx);
103 EVP_VerifyInit_ex(&ctx,type, NULL);
104 EVP_VerifyUpdate(&ctx,(unsigned char *)buf_in,inl);
109 if (EVP_VerifyFinal(&ctx,(unsigned char *)signature->data,
116 /* we don't need to zero the 'ctx' because we just checked
118 /* memset(&ctx,0,sizeof(ctx)); */
121 EVP_MD_CTX_cleanup(&ctx);
131 EVP_MD_CTX ctx; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/comp/
H A Dcomp.h36 void COMP_CTX_free(COMP_CTX *ctx);
37 int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen,
39 int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen,

Completed in 191 milliseconds

1234567891011>>