Home
last modified time | relevance | path

Searched refs:ctx (Results 4351 - 4375 of 13206) sorted by relevance

1...<<171172173174175176177178179180>>...529

/third_party/node/deps/openssl/openssl/providers/implementations/digests/
H A Dnull_prov.c18 static int null_init(NULLMD_CTX *ctx) in null_init() argument
23 static int null_update(NULLMD_CTX *ctx, const void *data, size_t datalen) in null_update() argument
28 static int null_final(unsigned char *md, NULLMD_CTX *ctx) in null_final() argument
40 static int name##_internal_final(void *ctx, unsigned char *out, size_t *outl, \
43 if (ossl_prov_is_running() && fin(out, ctx)) { \
/third_party/node/deps/openssl/openssl/include/crypto/
H A Dpoly1305.h22 typedef void (*poly1305_blocks_f) (void *ctx, const unsigned char *inp,
24 typedef void (*poly1305_emit_f) (void *ctx, unsigned char mac[16],
42 void Poly1305_Init(POLY1305 *ctx, const unsigned char key[32]);
43 void Poly1305_Update(POLY1305 *ctx, const unsigned char *inp, size_t len);
44 void Poly1305_Final(POLY1305 *ctx, unsigned char mac[16]);
H A Dsiphash.h24 size_t SipHash_hash_size(SIPHASH *ctx);
25 int SipHash_set_hash_size(SIPHASH *ctx, size_t hash_size);
26 int SipHash_Init(SIPHASH *ctx, const unsigned char *k,
28 void SipHash_Update(SIPHASH *ctx, const unsigned char *in, size_t inlen);
29 int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen);
/third_party/openssl/test/
H A Dsysdefaulttest.c19 static SSL_CTX *ctx; variable
23 if (!TEST_int_eq(SSL_CTX_get_min_proto_version(ctx), TLS1_2_VERSION) in test_func()
24 && !TEST_int_eq(SSL_CTX_get_max_proto_version(ctx), TLS1_2_VERSION)) { in test_func()
41 if (!TEST_ptr(ctx = SSL_CTX_new(TLS_method()))) in setup_tests()
49 SSL_CTX_free(ctx); in cleanup_tests()
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_siv.h15 int (*initkey)(void *ctx, const uint8_t *key, size_t keylen);
16 int (*cipher)(void *ctx, unsigned char *out, const unsigned char *in,
18 void (*setspeed)(void *ctx, int speed);
19 int (*settag)(void *ctx, const unsigned char *tag, size_t tagl);
20 void (*cleanup)(void *ctx);
H A Dcipher_idea.c28 PROV_IDEA_CTX *ctx = (PROV_IDEA_CTX *)vctx; in idea_freectx() local
31 OPENSSL_clear_free(ctx, sizeof(*ctx)); in idea_freectx()
34 static void *idea_dupctx(void *ctx) in idea_dupctx() argument
36 PROV_IDEA_CTX *in = (PROV_IDEA_CTX *)ctx; in idea_dupctx()
H A Dcipher_seed.c27 PROV_SEED_CTX *ctx = (PROV_SEED_CTX *)vctx; in seed_freectx() local
30 OPENSSL_clear_free(ctx, sizeof(*ctx)); in seed_freectx()
33 static void *seed_dupctx(void *ctx) in seed_dupctx() argument
35 PROV_SEED_CTX *in = (PROV_SEED_CTX *)ctx; in seed_dupctx()
/third_party/openssl/include/crypto/
H A Dpoly1305.h22 typedef void (*poly1305_blocks_f) (void *ctx, const unsigned char *inp,
24 typedef void (*poly1305_emit_f) (void *ctx, unsigned char mac[16],
42 void Poly1305_Init(POLY1305 *ctx, const unsigned char key[32]);
43 void Poly1305_Update(POLY1305 *ctx, const unsigned char *inp, size_t len);
44 void Poly1305_Final(POLY1305 *ctx, unsigned char mac[16]);
H A Dsiphash.h24 size_t SipHash_hash_size(SIPHASH *ctx);
25 int SipHash_set_hash_size(SIPHASH *ctx, size_t hash_size);
26 int SipHash_Init(SIPHASH *ctx, const unsigned char *k,
28 void SipHash_Update(SIPHASH *ctx, const unsigned char *in, size_t inlen);
29 int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen);
/third_party/openssl/providers/implementations/digests/
H A Dnull_prov.c18 static int null_init(NULLMD_CTX *ctx) in null_init() argument
23 static int null_update(NULLMD_CTX *ctx, const void *data, size_t datalen) in null_update() argument
28 static int null_final(unsigned char *md, NULLMD_CTX *ctx) in null_final() argument
40 static int name##_internal_final(void *ctx, unsigned char *out, size_t *outl, \
43 if (ossl_prov_is_running() && fin(out, ctx)) { \
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dosfiber_mips64.c27 void marl_fiber_set_target(struct marl_fiber_context* ctx, in marl_fiber_set_target() argument
33 ctx->ra = (uintptr_t)&marl_fiber_trampoline; in marl_fiber_set_target()
34 ctx->a0 = (uintptr_t)target; in marl_fiber_set_target()
35 ctx->a1 = (uintptr_t)arg; in marl_fiber_set_target()
36 ctx->sp = ((uintptr_t)stack_top) & ~(uintptr_t)15; in marl_fiber_set_target()
/third_party/skia/third_party/externals/tint/src/ast/
H A Dalias.cc36 const Alias* Alias::Clone(CloneContext* ctx) const { in Clone()
38 auto src = ctx->Clone(source); in Clone()
39 auto sym = ctx->Clone(name); in Clone()
40 auto* ty = ctx->Clone(type); in Clone()
41 return ctx->dst->create<Alias>(src, sym, ty); in Clone()
H A Dbitcast_expression.cc37 const BitcastExpression* BitcastExpression::Clone(CloneContext* ctx) const { in Clone()
39 auto src = ctx->Clone(source); in Clone()
40 auto* t = ctx->Clone(type); in Clone()
41 auto* e = ctx->Clone(expr); in Clone()
42 return ctx->dst->create<BitcastExpression>(src, t, e); in Clone()
H A Delse_statement.cc38 const ElseStatement* ElseStatement::Clone(CloneContext* ctx) const { in Clone()
40 auto src = ctx->Clone(source); in Clone()
41 auto* cond = ctx->Clone(condition); in Clone()
42 auto* b = ctx->Clone(body); in Clone()
43 return ctx->dst->create<ElseStatement>(src, cond, b); in Clone()
H A Dloop_statement.cc38 const LoopStatement* LoopStatement::Clone(CloneContext* ctx) const { in Clone()
40 auto src = ctx->Clone(source); in Clone()
41 auto* b = ctx->Clone(body); in Clone()
42 auto* cont = ctx->Clone(continuing); in Clone()
43 return ctx->dst->create<LoopStatement>(src, b, cont); in Clone()
/third_party/skia/third_party/externals/tint/src/transform/
H A Dremove_unreachable_statements.cc40 void RemoveUnreachableStatements::Run(CloneContext& ctx, in Run() argument
43 for (auto* node : ctx.src->ASTNodes().Objects()) { in Run()
44 if (auto* stmt = ctx.src->Sem().Get<sem::Statement>(node)) { in Run()
46 RemoveStatement(ctx, stmt->Declaration()); in Run()
51 ctx.Clone(); in Run()
/third_party/skia/modules/svg/src/
H A DSkSVGFeFlood.cpp14 SkColor SkSVGFeFlood::resolveFloodColor(const SkSVGRenderContext& ctx) const { in resolveFloodColor()
23 const SkColor color = ctx.resolveSvgColor(*floodColor); in resolveFloodColor()
27 sk_sp<SkImageFilter> SkSVGFeFlood::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument
29 return SkImageFilters::Shader(SkShaders::Color(resolveFloodColor(ctx)), in onMakeImageFilter()
30 this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
H A DSkSVGFeOffset.cpp21 sk_sp<SkImageFilter> SkSVGFeOffset::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter() argument
24 * ctx.transformForCurrentOBB(fctx.primitiveUnits()).scale; in onMakeImageFilter()
27 fctx.resolveInput(ctx, this->getIn(), this->resolveColorspace(ctx, fctx)); in onMakeImageFilter()
28 return SkImageFilters::Offset(d.x, d.y, std::move(in), this->resolveFilterSubregion(ctx, fctx)); in onMakeImageFilter()
/third_party/ffmpeg/libavutil/
H A Dblowfish.c299 Xr ^=((( ctx->s[0][ Xl >> 24 ] \
300 + ctx->s[1][(Xl >> 16) & 0xFF])\
301 ^ ctx->s[2][(Xl >> 8) & 0xFF])\
302 + ctx->s[3][ Xl & 0xFF])\
310 av_cold void av_blowfish_init(AVBlowfish *ctx, const uint8_t *key, int key_len) in av_blowfish_init() argument
315 memcpy(ctx->s, orig_s, sizeof(orig_s)); in av_blowfish_init()
325 ctx->p[i] = orig_p[i] ^ data; in av_blowfish_init()
331 av_blowfish_crypt_ecb(ctx, &data_l, &data_r, 0); in av_blowfish_init()
332 ctx->p[i] = data_l; in av_blowfish_init()
333 ctx in av_blowfish_init()
345 av_blowfish_crypt_ecb(AVBlowfish *ctx, uint32_t *xl, uint32_t *xr, int decrypt) av_blowfish_crypt_ecb() argument
376 av_blowfish_crypt(AVBlowfish *ctx, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt) av_blowfish_crypt() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/sha/asm/
H A Dsha512-mips.pl135 $ctx=$a0;
361 $LD $A,0*$SZ($ctx) # load context
362 $LD $B,1*$SZ($ctx)
363 $LD $C,2*$SZ($ctx)
364 $LD $D,3*$SZ($ctx)
365 $LD $E,4*$SZ($ctx)
366 $LD $F,5*$SZ($ctx)
367 $LD $G,6*$SZ($ctx)
368 $LD $H,7*$SZ($ctx)
400 $LD @X[0],0*$SZ($ctx)
[all...]
/third_party/node/deps/openssl/openssl/engines/asm/
H A De_padlock-x86_64.pl43 $ctx="%rdx";
113 mov $arg1,$ctx
127 cmp (%rax),$ctx
132 mov $ctx,(%rax)
151 lea 32($ctx),%rbx # key
152 lea 16($ctx),$ctx # control word
288 # struct padlock_cipher_data *ctx, size_t len);
298 test \$15,$ctx
306 lea 16($ctx),
[all...]
/third_party/openssl/crypto/sha/asm/
H A Dsha512-mips.pl135 $ctx=$a0;
361 $LD $A,0*$SZ($ctx) # load context
362 $LD $B,1*$SZ($ctx)
363 $LD $C,2*$SZ($ctx)
364 $LD $D,3*$SZ($ctx)
365 $LD $E,4*$SZ($ctx)
366 $LD $F,5*$SZ($ctx)
367 $LD $G,6*$SZ($ctx)
368 $LD $H,7*$SZ($ctx)
400 $LD @X[0],0*$SZ($ctx)
[all...]
/third_party/openssl/engines/asm/
H A De_padlock-x86_64.pl43 $ctx="%rdx";
113 mov $arg1,$ctx
127 cmp (%rax),$ctx
132 mov $ctx,(%rax)
151 lea 32($ctx),%rbx # key
152 lea 16($ctx),$ctx # control word
288 # struct padlock_cipher_data *ctx, size_t len);
298 test \$15,$ctx
306 lea 16($ctx),
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dmessage_lite.cc121 inline bool CheckFieldPresence(const internal::ParseContext& ctx, in CheckFieldPresence() argument
142 internal::ParseContext ctx(io::CodedInputStream::GetDefaultRecursionLimit(), in MergeFromImpl()
144 ptr = msg->_InternalParse(ptr, &ctx); in MergeFromImpl()
145 // ctx has an explicit limit set (length of string_view). in MergeFromImpl()
146 if (PROTOBUF_PREDICT_TRUE(ptr && ctx.EndedAtLimit())) { in MergeFromImpl()
147 return CheckFieldPresence(ctx, *msg, parse_flags); in MergeFromImpl()
156 internal::ParseContext ctx(io::CodedInputStream::GetDefaultRecursionLimit(), in MergeFromImpl()
158 ptr = msg->_InternalParse(ptr, &ctx); in MergeFromImpl()
159 // ctx has no explicit limit (hence we end on end of stream) in MergeFromImpl()
160 if (PROTOBUF_PREDICT_TRUE(ptr && ctx in MergeFromImpl()
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dcipher_ctx.rs16 //! let mut ctx = CipherCtx::new().unwrap();
17 //! ctx.encrypt_init(Some(cipher), Some(key), Some(iv)).unwrap();
20 //! ctx.cipher_update_vec(data, &mut ciphertext).unwrap();
21 //! ctx.cipher_final_vec(&mut ciphertext).unwrap();
42 //! let mut ctx = CipherCtx::new().unwrap();
43 //! ctx.decrypt_init(Some(cipher), Some(key), Some(iv)).unwrap();
46 //! ctx.cipher_update_vec(data, &mut plaintext).unwrap();
47 //! ctx.cipher_final_vec(&mut plaintext).unwrap();
523 /// Set ctx flags.
738 let mut ctx in seal_open() variables
770 let mut ctx = CipherCtx::new().unwrap(); aes_128_cbc() variables
818 let mut ctx = CipherCtx::new().unwrap(); global() variables
930 let mut ctx = CipherCtx::new().unwrap(); global() variables
951 let mut ctx = CipherCtx::new().unwrap(); cipher_wrap_test() variables
[all...]

Completed in 12 milliseconds

1...<<171172173174175176177178179180>>...529