/third_party/openssl/crypto/poly1305/asm/ |
H A D | poly1305-armv8.pl | 52 my ($ctx,$inp,$len,$padbit) = map("x$_",(0..3)); 76 stp xzr,xzr,[$ctx] // zero hash value 77 stp xzr,xzr,[$ctx,#16] // [along with is_base2_26] 95 stp $r0,$r1,[$ctx,#32] // save key value 125 ldp $h0,$h1,[$ctx] // load hash value 126 ldp $r0,$r1,[$ctx,#32] // load key value 127 ldr $h2,[$ctx,#16] 176 stp $h0,$h1,[$ctx] // store hash value 177 str $h2,[$ctx,#16] 187 ldp $h0,$h1,[$ctx] // loa [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_wolfssl.c | 328 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 330 wc_AesEncryptDirect(ctx, crypt, plain); in aes_encrypt() 335 void aes_encrypt_deinit(void *ctx) in aes_encrypt_deinit() argument 337 os_free(ctx); in aes_encrypt_deinit() 361 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 363 wc_AesDecryptDirect(ctx, plain, crypt); in aes_decrypt() 368 void aes_decrypt_deinit(void *ctx) in aes_decrypt_deinit() argument 370 os_free(ctx); in aes_decrypt_deinit() 486 struct crypto_cipher *ctx; in crypto_cipher_init() local 488 ctx in crypto_cipher_init() 544 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) crypto_cipher_encrypt() argument 574 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) crypto_cipher_decrypt() argument 604 crypto_cipher_deinit(struct crypto_cipher *ctx) crypto_cipher_deinit() argument 740 dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, const struct wpabuf *own_private) dh5_derive_shared() argument 766 dh5_free(void *ctx) dh5_free() argument 929 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) crypto_hash_update() argument 937 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) crypto_hash_finish() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_wolfssl.c | 328 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 330 wc_AesEncryptDirect(ctx, crypt, plain); in aes_encrypt() 335 void aes_encrypt_deinit(void *ctx) in aes_encrypt_deinit() argument 337 os_free(ctx); in aes_encrypt_deinit() 361 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 363 wc_AesDecryptDirect(ctx, plain, crypt); in aes_decrypt() 368 void aes_decrypt_deinit(void *ctx) in aes_decrypt_deinit() argument 370 os_free(ctx); in aes_decrypt_deinit() 486 struct crypto_cipher *ctx; in crypto_cipher_init() local 488 ctx in crypto_cipher_init() 544 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) crypto_cipher_encrypt() argument 574 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) crypto_cipher_decrypt() argument 604 crypto_cipher_deinit(struct crypto_cipher *ctx) crypto_cipher_deinit() argument 744 dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, const struct wpabuf *own_private) dh5_derive_shared() argument 770 dh5_free(void *ctx) dh5_free() argument 933 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) crypto_hash_update() argument 941 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) crypto_hash_finish() argument [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/ |
H A D | clk-rk3128.c | 487 struct rockchip_clk_provider *ctx; in rk3128_common_clk_init() local 498 ctx = rockchip_clk_init(np, reg_base, CLK_NR_CLKS); in rk3128_common_clk_init() 499 if (IS_ERR(ctx)) { in rk3128_common_clk_init() 504 clks = ctx->clk_data.clks; in rk3128_common_clk_init() 506 rockchip_clk_register_plls(ctx, rk3128_pll_clks, ARRAY_SIZE(rk3128_pll_clks), RK3128_GRF_SOC_STATUS0); in rk3128_common_clk_init() 507 rockchip_clk_register_branches(ctx, common_clk_branches, ARRAY_SIZE(common_clk_branches)); in rk3128_common_clk_init() 509 rockchip_clk_register_armclk(ctx, ARMCLK, "armclk", 2, clks[PLL_APLL], clks[PLL_GPLL_DIV2], &rk3128_cpuclk_data, in rk3128_common_clk_init() 514 rockchip_register_restart_notifier(ctx, RK2928_GLB_SRST_FST, NULL); in rk3128_common_clk_init() 520 return ctx; in rk3128_common_clk_init() 525 struct rockchip_clk_provider *ctx; in rk3126_clk_init() local 541 struct rockchip_clk_provider *ctx; rk3128_clk_init() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/srp/ |
H A D | srp_vfy.c | 46 EVP_ENCODE_CTX *ctx; in t_fromb64() local 61 ctx = EVP_ENCODE_CTX_new(); in t_fromb64() 62 if (ctx == NULL) in t_fromb64() 82 EVP_DecodeInit(ctx); in t_fromb64() 83 evp_encode_ctx_set_flags(ctx, EVP_ENCODE_CTX_USE_SRP_ALPHABET); in t_fromb64() 87 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64() 91 if (EVP_DecodeUpdate(ctx, a, &outl2, (const unsigned char *)src, size) < 0) { in t_fromb64() 96 EVP_DecodeFinal(ctx, a + outl, &outl2); in t_fromb64() 124 EVP_ENCODE_CTX_free(ctx); in t_fromb64() 135 EVP_ENCODE_CTX *ctx in t_tob64() local [all...] |
/third_party/openssl/crypto/srp/ |
H A D | srp_vfy.c | 46 EVP_ENCODE_CTX *ctx; in t_fromb64() local 61 ctx = EVP_ENCODE_CTX_new(); in t_fromb64() 62 if (ctx == NULL) in t_fromb64() 82 EVP_DecodeInit(ctx); in t_fromb64() 83 evp_encode_ctx_set_flags(ctx, EVP_ENCODE_CTX_USE_SRP_ALPHABET); in t_fromb64() 87 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64() 91 if (EVP_DecodeUpdate(ctx, a, &outl2, (const unsigned char *)src, size) < 0) { in t_fromb64() 96 EVP_DecodeFinal(ctx, a + outl, &outl2); in t_fromb64() 124 EVP_ENCODE_CTX_free(ctx); in t_fromb64() 135 EVP_ENCODE_CTX *ctx in t_tob64() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libaomdec.c | 45 AV1DecodeContext *ctx = avctx->priv_data; in aom_init() local 53 if (aom_codec_dec_init(&ctx->decoder, iface, &deccfg, 0) != AOM_CODEC_OK) { in aom_init() 54 const char *error = aom_codec_error(&ctx->decoder); in aom_init() 162 AV1DecodeContext *ctx = avctx->priv_data; in aom_decode() local 167 if (aom_codec_decode(&ctx->decoder, avpkt->data, avpkt->size, NULL) != in aom_decode() 169 const char *error = aom_codec_error(&ctx->decoder); in aom_decode() 170 const char *detail = aom_codec_error_detail(&ctx->decoder); in aom_decode() 179 if ((img = aom_codec_get_frame(&ctx->decoder, &iter))) { in aom_decode() 205 ret = aom_codec_control(&ctx->decoder, AOMD_GET_FRAME_FLAGS, &flags); in aom_decode() 241 AV1DecodeContext *ctx in aom_free() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_epx.c | 28 int (*epx_slice)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); 44 static int epx2_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in epx2_slice() argument 111 static int epx3_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in epx3_slice() argument 200 AVFilterContext *ctx = outlink->src; in config_output() local 201 EPXContext *s = ctx->priv; in config_output() 202 AVFilterLink *inlink = ctx->inputs[0]; in config_output() 231 AVFilterContext *ctx = inlink->dst; in filter_frame() local 232 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 233 EPXContext *s = ctx->priv; in filter_frame() 245 ff_filter_execute(ctx, in filter_frame() [all...] |
H A D | vf_cropdetect.c | 64 static int checkline(void *ctx, const unsigned char *src, int stride, int len, int bpp) in checkline() argument 115 av_log(ctx, AV_LOG_DEBUG, "total:%d\n", total); in checkline() 119 static av_cold int init(AVFilterContext *ctx) in init() argument 121 CropDetectContext *s = ctx->priv; in init() 125 av_log(ctx, AV_LOG_VERBOSE, "limit:%f round:%d skip:%d reset_count:%d\n", in init() 133 AVFilterContext *ctx = inlink->dst; in config_input() local 134 CropDetectContext *s = ctx->priv; in config_input() 155 AVFilterContext *ctx = inlink->dst; in filter_frame() local 156 CropDetectContext *s = ctx->priv; in filter_frame() 179 if (checkline(ctx, fram in filter_frame() [all...] |
H A D | af_aexciter.c | 174 AVFilterContext *ctx = inlink->dst; in filter_frame() local 175 AExciterContext *s = ctx->priv; in filter_frame() 176 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 205 if (ctx->is_disabled) in filter_frame() 221 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument 223 AExciterContext *s = ctx->priv; in uninit() 230 AVFilterContext *ctx = inlink->dst; in config_input() local 231 AExciterContext *s = ctx->priv; in config_input() 245 static int process_command(AVFilterContext *ctx, const char *cmd, const char *args, in process_command() argument 248 AVFilterLink *inlink = ctx in process_command() [all...] |
H A D | vf_cover_rect.c | 125 AVFilterContext *ctx = inlink->dst; in filter_frame() local 126 CoverContext *cover = ctx->priv; in filter_frame() 145 return ff_filter_frame(ctx->outputs[0], in); in filter_frame() 180 return ff_filter_frame(ctx->outputs[0], in); in filter_frame() 183 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument 185 CoverContext *cover = ctx->priv; in uninit() 192 static av_cold int init(AVFilterContext *ctx) in init() argument 194 CoverContext *cover = ctx->priv; in init() 199 av_log(ctx, AV_LOG_ERROR, "cover filename not set\n"); in init() 209 &cover->cover_frame->format, cover->cover_filename, ctx)) < in init() [all...] |
H A D | trim.c | 73 static av_cold int init(AVFilterContext *ctx) in init() argument 75 TrimContext *s = ctx->priv; in init() 84 AVFilterContext *ctx = inlink->dst; in config_input() local 85 TrimContext *s = ctx->priv; in config_input() 126 AVFilterContext *ctx = inlink->dst; in trim_filter_frame() local 127 TrimContext *s = ctx->priv; in trim_filter_frame() 171 return ff_filter_frame(ctx->outputs[0], frame); in trim_filter_frame() 222 AVFilterContext *ctx = inlink->dst; in atrim_filter_frame() local 223 TrimContext *s = ctx->priv; in atrim_filter_frame() 305 AVFrame *out = ff_get_audio_buffer(ctx in atrim_filter_frame() [all...] |
H A D | vf_scroll.c | 71 static int scroll_slice(AVFilterContext *ctx, void *arg, int jobnr, in scroll_slice() argument 74 ScrollContext *s = ctx->priv; in scroll_slice() 103 static void scroll(AVFilterContext *ctx, AVFrame *in, AVFrame *out) in scroll() argument 105 ScrollContext *s = ctx->priv; in scroll() 126 ff_filter_execute(ctx, scroll_slice, &td, NULL, in scroll() 127 FFMIN(out->height, ff_filter_get_nb_threads(ctx))); in scroll() 135 AVFilterContext *ctx = inlink->dst; in filter_frame() local 136 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 146 scroll(ctx, in, out); in filter_frame() 154 AVFilterContext *ctx in config_input() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtpdec_mpeg4.c | 176 static int aac_parse_packet(AVFormatContext *ctx, PayloadContext *data, in aac_parse_packet() argument 186 av_log(ctx, AV_LOG_ERROR, "Invalid parser state\n"); in aac_parse_packet() 190 av_log(ctx, AV_LOG_ERROR, "Invalid AU size\n"); in aac_parse_packet() 194 av_log(ctx, AV_LOG_ERROR, "Out of memory\n"); in aac_parse_packet() 211 av_log(ctx, AV_LOG_ERROR, "Error parsing AU headers\n"); in aac_parse_packet() 222 av_log(ctx, AV_LOG_ERROR, "Invalid AU size\n"); in aac_parse_packet() 235 av_log(ctx, AV_LOG_ERROR, "Invalid packet received\n"); in aac_parse_packet() 247 av_log(ctx, AV_LOG_ERROR, "Missed some packets, discarding frame\n"); in aac_parse_packet() 254 av_log(ctx, AV_LOG_ERROR, "Out of memory\n"); in aac_parse_packet() 265 av_log(ctx, AV_LOG_ERRO in aac_parse_packet() [all...] |
/third_party/libdrm/intel/ |
H A D | intel_bufmgr.h | 220 int drm_intel_gem_context_get_id(drm_intel_context *ctx, 222 void drm_intel_gem_context_destroy(drm_intel_context *ctx); 223 int drm_intel_gem_bo_context_exec(drm_intel_bo *bo, drm_intel_context *ctx, 226 drm_intel_context *ctx, 270 void drm_intel_decode_context_free(struct drm_intel_decode *ctx); 271 void drm_intel_decode_set_batch_pointer(struct drm_intel_decode *ctx, 274 void drm_intel_decode_set_dump_past_end(struct drm_intel_decode *ctx, 276 void drm_intel_decode_set_head_tail(struct drm_intel_decode *ctx, 278 void drm_intel_decode_set_output_file(struct drm_intel_decode *ctx, FILE *out); 279 void drm_intel_decode(struct drm_intel_decode *ctx); [all...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto_mac.c | 184 ret = mbedtls_cipher_setup(&operation->ctx.cmac, cipher_info); in cmac_setup() 189 ret = mbedtls_cipher_cmac_starts(&operation->ctx.cmac, in cmac_setup() 212 mbedtls_cipher_init(&operation->ctx.cmac); in mac_init() 219 operation->ctx.hmac.alg = 0; in mac_init() 244 mbedtls_cipher_free(&operation->ctx.cmac); in mbedtls_psa_mac_abort() 249 psa_hmac_abort_internal(&operation->ctx.hmac); in mbedtls_psa_mac_abort() 299 status = psa_hmac_setup_internal(&operation->ctx.hmac, in psa_mac_setup() 353 mbedtls_cipher_cmac_update(&operation->ctx.cmac, in mbedtls_psa_mac_update() 359 return psa_hmac_update_internal(&operation->ctx.hmac, in mbedtls_psa_mac_update() 379 int ret = mbedtls_cipher_cmac_finish(&operation->ctx in psa_mac_finish_internal() [all...] |
/third_party/node/lib/internal/test_runner/mock/ |
H A D | mock.js | 179 const ctx = new MockFunctionContext(implementation, { __proto__: null, original }, times); 180 return this.#setupMock(ctx, original); 249 const ctx = new MockFunctionContext(impl, restore, times); 250 const mock = this.#setupMock(ctx, original); 371 #setupMock(ctx, fnToMatch) { 375 const fn = FunctionPrototypeCall(nextImpl, ctx); 385 FunctionPrototypeCall(trackCall, ctx, { 400 const realTarget = FunctionPrototypeCall(nextImpl, ctx); 410 FunctionPrototypeCall(trackCall, ctx, { 426 return ctx; [all...] |
/third_party/node/deps/openssl/openssl/crypto/ocsp/ |
H A D | ocsp_srv.c | 168 X509 *signer, EVP_MD_CTX *ctx, in OCSP_basic_sign_ctx() 174 if (ctx == NULL || EVP_MD_CTX_get_pkey_ctx(ctx) == NULL) { in OCSP_basic_sign_ctx() 179 pkey = EVP_PKEY_CTX_get0_pkey(EVP_MD_CTX_get_pkey_ctx(ctx)); in OCSP_basic_sign_ctx() 207 if (!OCSP_BASICRESP_sign_ctx(brsp, ctx, 0)) in OCSP_basic_sign_ctx() 219 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in OCSP_basic_sign() local 223 if (ctx == NULL) in OCSP_basic_sign() 226 if (!EVP_DigestSignInit_ex(ctx, &pkctx, EVP_MD_get0_name(dgst), in OCSP_basic_sign() 228 EVP_MD_CTX_free(ctx); in OCSP_basic_sign() 231 i = OCSP_basic_sign_ctx(brsp, signer, ctx, cert in OCSP_basic_sign() 167 OCSP_basic_sign_ctx(OCSP_BASICRESP *brsp, X509 *signer, EVP_MD_CTX *ctx, STACK_OF(X509) *certs, unsigned long flags) OCSP_basic_sign_ctx() argument [all...] |
/third_party/openssl/crypto/ocsp/ |
H A D | ocsp_srv.c | 168 X509 *signer, EVP_MD_CTX *ctx, in OCSP_basic_sign_ctx() 174 if (ctx == NULL || EVP_MD_CTX_get_pkey_ctx(ctx) == NULL) { in OCSP_basic_sign_ctx() 179 pkey = EVP_PKEY_CTX_get0_pkey(EVP_MD_CTX_get_pkey_ctx(ctx)); in OCSP_basic_sign_ctx() 207 if (!OCSP_BASICRESP_sign_ctx(brsp, ctx, 0)) in OCSP_basic_sign_ctx() 219 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in OCSP_basic_sign() local 223 if (ctx == NULL) in OCSP_basic_sign() 226 if (!EVP_DigestSignInit_ex(ctx, &pkctx, EVP_MD_get0_name(dgst), in OCSP_basic_sign() 228 EVP_MD_CTX_free(ctx); in OCSP_basic_sign() 231 i = OCSP_basic_sign_ctx(brsp, signer, ctx, cert in OCSP_basic_sign() 167 OCSP_basic_sign_ctx(OCSP_BASICRESP *brsp, X509 *signer, EVP_MD_CTX *ctx, STACK_OF(X509) *certs, unsigned long flags) OCSP_basic_sign_ctx() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | arc4.h | 72 * \param ctx ARC4 context to be initialized 79 void mbedtls_arc4_init( mbedtls_arc4_context *ctx ); 84 * \param ctx ARC4 context to be cleared 91 void mbedtls_arc4_free( mbedtls_arc4_context *ctx ); 96 * \param ctx ARC4 context to be setup 105 void mbedtls_arc4_setup( mbedtls_arc4_context *ctx, const unsigned char *key, 111 * \param ctx ARC4 context 123 int mbedtls_arc4_crypt( mbedtls_arc4_context *ctx, size_t length, const unsigned char *input,
|
H A D | ssl_cookie.h | 76 void mbedtls_ssl_cookie_init( mbedtls_ssl_cookie_ctx *ctx ); 81 int mbedtls_ssl_cookie_setup( mbedtls_ssl_cookie_ctx *ctx, 89 * \param ctx Cookie contex 94 void mbedtls_ssl_cookie_set_timeout( mbedtls_ssl_cookie_ctx *ctx, unsigned long delay ); 99 void mbedtls_ssl_cookie_free( mbedtls_ssl_cookie_ctx *ctx );
|
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | camera_source.h | 32 MPP_RET camera_source_deinit(CamSource *ctx);
35 RK_S32 camera_source_get_frame(CamSource *ctx);
38 MPP_RET camera_source_put_frame(CamSource *ctx, RK_S32 idx);
40 MppBuffer camera_frame_to_buf(CamSource *ctx, RK_S32 idx);
|
/third_party/node/test/parallel/ |
H A D | test-os-checked-function.js | 10 internalBinding('os').getHomeDirectory = function(ctx) { 11 ctx.syscall = 'foo'; 12 ctx.code = 'bar'; 13 ctx.message = 'baz';
|
/third_party/mesa3d/src/mesa/main/ |
H A D | viewport.h | 35 _mesa_set_viewport(struct gl_context *ctx, unsigned idx, GLfloat x, GLfloat y, 39 _mesa_set_depth_range(struct gl_context *ctx, unsigned idx, 43 _mesa_init_viewport(struct gl_context *ctx); 46 _mesa_get_viewport_xform(struct gl_context *ctx, unsigned i,
|
/third_party/ltp/testcases/kernel/syscalls/io_destroy/ |
H A D | io_destroy01.c | 12 * Test io_destroy invoked via libaio with invalid ctx and expects it to 26 io_context_t ctx; in verify_io_destroy() local 28 memset(&ctx, 0xff, sizeof(ctx)); in verify_io_destroy() 29 TEST(io_destroy(ctx)); in verify_io_destroy()
|