Home
last modified time | relevance | path

Searched refs:ct (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/third_party/openssl/test/ssl-tests/
D12-ct.cnf5 test-0 = 0-ct-permissive-without-scts
6 test-1 = 1-ct-permissive-with-scts
7 test-2 = 2-ct-strict-without-scts
8 test-3 = 3-ct-strict-with-scts
9 test-4 = 4-ct-permissive-resumption
10 test-5 = 5-ct-strict-resumption
13 [0-ct-permissive-without-scts]
14 ssl_conf = 0-ct-permissive-without-scts-ssl
16 [0-ct-permissive-without-scts-ssl]
17 server = 0-ct-permissive-without-scts-server
[all …]
/third_party/node/test/fixtures/
Daead-vectors.js5 ct: '4be13896f64dfa2c2d0f2c76', property
10 ct: '4be13896f64dfa2c2d0f2c76', aad: '000000FF', property
15 ct: '4be13596f64dfa2c2d0fac76', property
20 ct: '58e62cfe7b1d274111a82267ebb93866e72b6c2a', property
25 ct: '58e62cff7b1d274011a82267ebb93866e72b6c2b', property
31 ct: 'dda53a4059aa17b88756984995f7bba3c636cc44', property
43 ct: '', property
52 ct: '0388dace60b6a392f328c2b971b2fe78', property
64 ct: '42831ec2217774244b7221b784d0d49c' + property
80 ct: '42831ec2217774244b7221b784d0d49c' + property
[all …]
/third_party/googletest/googlemock/include/gmock/
Dgmock-function-mocker.h417 #define MOCK_METHOD0_WITH_CALLTYPE(ct, m, ...) \ argument
418 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 0, __VA_ARGS__)
419 #define MOCK_METHOD1_WITH_CALLTYPE(ct, m, ...) \ argument
420 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 1, __VA_ARGS__)
421 #define MOCK_METHOD2_WITH_CALLTYPE(ct, m, ...) \ argument
422 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 2, __VA_ARGS__)
423 #define MOCK_METHOD3_WITH_CALLTYPE(ct, m, ...) \ argument
424 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 3, __VA_ARGS__)
425 #define MOCK_METHOD4_WITH_CALLTYPE(ct, m, ...) \ argument
426 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 4, __VA_ARGS__)
[all …]
/third_party/rust/crates/rust-openssl/openssl/src/
Dsymm.rs902 fn cipher_test(ciphertype: super::Cipher, pt: &str, ct: &str, key: &str, iv: &str) { in cipher_test()
904 let ct = Vec::from_hex(ct).unwrap(); in cipher_test() localVariable
908 let computed = super::decrypt(ciphertype, &key, Some(&iv), &ct).unwrap(); in cipher_test()
926 fn cipher_test_nopad(ciphertype: super::Cipher, pt: &str, ct: &str, key: &str, iv: &str) { in cipher_test_nopad()
928 let ct = Vec::from_hex(ct).unwrap(); in cipher_test_nopad() localVariable
935 let mut out = vec![0; ct.len() + ciphertype.block_size()]; in cipher_test_nopad()
936 let count = c.update(&ct, &mut out).unwrap(); in cipher_test_nopad()
963 let ct = "A68686B04D686AA107BD8D4CAB191A3EEC0A6294BC78B60F65C25CB47BD7BB3A48EFC4D26BE4"; in test_rc4() localVariable
967 cipher_test(super::Cipher::rc4(), pt, ct, key, iv); in test_rc4()
977 let ct = "ce7d905a7776ac72f240d22aafed5e4eb7566cdc7211220e970da634ce015f131a5ecb8d400bc9e8\ in test_aes256_xts() localVariable
[all …]
Dcipher_ctx.rs767 let ct = hex::decode("7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db113a917678b2") in aes_128_cbc() localVariable
780 assert_eq!(buf, ct); in aes_128_cbc()
787 ctx.cipher_update_vec(&ct, &mut buf).unwrap(); in aes_128_cbc()
944 fn cipher_wrap_test(cipher: &CipherRef, pt: &str, ct: &str, key: &str, iv: Option<&str>) { in cipher_wrap_test()
947 let expected = hex::decode(ct).unwrap(); in cipher_wrap_test()
979 let ct = "7940ff694448b5bb5139c959a4896832e55d69aa04daa27e"; in test_aes128_wrap() localVariable
983 cipher_wrap_test(Cipher::aes_128_wrap(), pt, ct, key, Some(iv)); in test_aes128_wrap()
990 let ct = "38f1215f0212526f8a70b51955b9fbdc9fe3041d9832306e"; in test_aes128_wrap_default_iv() localVariable
993 cipher_wrap_test(Cipher::aes_128_wrap(), pt, ct, key, None); in test_aes128_wrap_default_iv()
1000 let ct = "f13998f5ab32ef82a1bdbcbe585e1d837385b529572a1e1b"; in test_aes128_wrap_pad() localVariable
[all …]
/third_party/skia/include/private/
DSkImageInfoPriv.h14 static inline uint32_t SkColorTypeChannelFlags(SkColorType ct) { in SkColorTypeChannelFlags() argument
15 switch (ct) { in SkColorTypeChannelFlags()
42 static inline bool SkColorTypeIsAlphaOnly(SkColorType ct) { in SkColorTypeIsAlphaOnly() argument
43 return SkColorTypeChannelFlags(ct) == kAlpha_SkColorChannelFlag; in SkColorTypeIsAlphaOnly()
50 static int SkColorTypeShiftPerPixel(SkColorType ct) { in SkColorTypeShiftPerPixel() argument
51 switch (ct) { in SkColorTypeShiftPerPixel()
78 static inline size_t SkColorTypeMinRowBytes(SkColorType ct, int width) { in SkColorTypeMinRowBytes() argument
79 return (size_t)(width * SkColorTypeBytesPerPixel(ct)); in SkColorTypeMinRowBytes()
86 static inline size_t SkColorTypeComputeOffset(SkColorType ct, int x, int y, size_t rowBytes) { in SkColorTypeComputeOffset() argument
87 if (kUnknown_SkColorType == ct) { in SkColorTypeComputeOffset()
[all …]
/third_party/skia/src/gpu/mock/
DGrMockCaps.h49 auto ct = format.asMockColorType(); in isFormatSRGB() local
50 return GrGetColorTypeDesc(ct).encoding() == GrColorTypeEncoding::kSRGBUnorm; in isFormatSRGB()
67 bool isFormatAsColorTypeRenderable(GrColorType ct, const GrBackendFormat& format,
72 if (ct == GrColorType::kRGB_888x) {
98 int maxRenderTargetSampleCount(GrColorType ct) const { in maxRenderTargetSampleCount() argument
99 switch (fOptions.fConfigOptions[(int)ct].fRenderability) { in maxRenderTargetSampleCount()
133 GrSwizzle getWriteSwizzle(const GrBackendFormat& format, GrColorType ct) const override { in getWriteSwizzle() argument
134 SkASSERT(this->areColorTypeAndFormatCompatible(ct, format)); in getWriteSwizzle()
154 GrBackendFormat onGetDefaultBackendFormat(GrColorType ct) const override { in onGetDefaultBackendFormat() argument
155 return GrBackendFormat::MakeMock(ct, SkImage::CompressionType::kNone); in onGetDefaultBackendFormat()
[all …]
/third_party/openssl/test/
Daesgcmtest.c38 static int do_encrypt(unsigned char *iv_gen, unsigned char *ct, int *ct_len, in do_encrypt() argument
54 && TEST_true(EVP_EncryptUpdate(ctx, ct, ct_len, gcm_pt, in do_encrypt()
66 static int do_decrypt(const unsigned char *iv, const unsigned char *ct, in do_decrypt() argument
82 && TEST_true(EVP_DecryptUpdate(ctx, pt, &ptlen, ct, in do_decrypt()
96 unsigned char ct[32]; in kat_test() local
99 return do_encrypt(NULL, ct, &ctlen, tag, &taglen) in kat_test()
100 && TEST_mem_eq(gcm_ct, sizeof(gcm_ct), ct, ctlen) in kat_test()
102 && do_decrypt(gcm_iv, ct, ctlen, tag, taglen); in kat_test()
123 unsigned char ct[32]; in ivgen_test() local
126 return do_encrypt(iv_gen, ct, &ctlen, tag, &taglen) in ivgen_test()
[all …]
/third_party/ffmpeg/libavcodec/
Dvp5.c140 int ct; /* code type */ in vp5_parse_coeff_models() local
154 for (ct=0; ct<3; ct++) in vp5_parse_coeff_models()
158 if (vp56_rac_get_prob_branchy(c, vp5_ract_pct[ct][pt][cg][node])) { in vp5_parse_coeff_models()
160 model->coeff_ract[pt][ct][cg][node] = def_prob[node]; in vp5_parse_coeff_models()
162 model->coeff_ract[pt][ct][cg][node] = def_prob[node]; in vp5_parse_coeff_models()
172 for (ct=0; ct<3; ct++) in vp5_parse_coeff_models()
177 …_acct[pt][ct][cg][ctx][node] = av_clip(((model->coeff_ract[pt][ct][cg][node] * vp5_ract_lc[ct][cg]… in vp5_parse_coeff_models()
197 int ct = 1; /* code type */ in vp5_parse_coeff() local
227 ct = 2; in vp5_parse_coeff()
229 ct = 1; in vp5_parse_coeff()
[all …]
Dvp6.c288 int ct; /* code type */ in vp6_parse_coeff_models() local
314 for (ct=0; ct<3; ct++) in vp6_parse_coeff_models()
318 if (vp56_rac_get_prob_branchy(c, vp6_ract_pct[ct][pt][cg][node])) { in vp6_parse_coeff_models()
320 model->coeff_ract[pt][ct][cg][node] = def_prob[node]; in vp6_parse_coeff_models()
322 model->coeff_ract[pt][ct][cg][node] = def_prob[node]; in vp6_parse_coeff_models()
333 for (ct=0; ct<3; ct++) in vp6_parse_coeff_models()
335 if (vp6_build_huff_tree(s, model->coeff_ract[pt][ct][cg], in vp6_parse_coeff_models()
337 &s->ract_vlc[pt][ct][cg])) in vp6_parse_coeff_models()
415 int ct = 0; /* code type */ in vp6_parse_coeff_huffman() local
437 ct = 0; in vp6_parse_coeff_huffman()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_read.c22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
78 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello() argument
86 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_server_hello()
88 "received content type 0x%x", ct); in tls_process_server_hello()
346 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate() argument
355 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate()
357 "received content type 0x%x", ct); in tls_process_certificate()
387 return tls_process_server_key_exchange(conn, ct, in_data, in tls_process_certificate()
[all …]
Dtlsv1_server_read.c23 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct,
26 u8 ct, const u8 *in_data,
121 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, in tls_process_client_hello() argument
131 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_client_hello()
133 ct); in tls_process_client_hello()
396 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, in tls_process_certificate() argument
405 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate()
407 ct); in tls_process_certificate()
445 return tls_process_client_key_exchange(conn, ct, in_data, in tls_process_certificate()
807 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, in tls_process_client_key_exchange() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client_read.c22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
78 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello() argument
86 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_server_hello()
88 "received content type 0x%x", ct); in tls_process_server_hello()
354 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate() argument
363 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate()
365 "received content type 0x%x", ct); in tls_process_certificate()
395 return tls_process_server_key_exchange(conn, ct, in_data, in tls_process_certificate()
[all …]
Dtlsv1_server_read.c23 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct,
26 u8 ct, const u8 *in_data,
121 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, in tls_process_client_hello() argument
131 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_client_hello()
133 ct); in tls_process_client_hello()
396 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, in tls_process_certificate() argument
405 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate()
407 ct); in tls_process_certificate()
445 return tls_process_client_key_exchange(conn, ct, in_data, in tls_process_certificate()
807 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, in tls_process_client_key_exchange() argument
[all …]
/third_party/openssl/crypto/aes/
Daes_local.h21 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } argument
24 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((… argument
/third_party/node/deps/openssl/openssl/crypto/aes/
Daes_local.h21 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } argument
24 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((… argument
/third_party/skia/src/gpu/vk/
DGrVkCaps.cpp868 constexpr GrColorType ct = GrColorType::kRGBA_8888; in initFormatTable() local
870 ctInfo.fColorType = ct; in initFormatTable()
871 ctInfo.fTransferColorType = ct; in initFormatTable()
876 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable() local
878 ctInfo.fColorType = ct; in initFormatTable()
879 ctInfo.fTransferColorType = ct; in initFormatTable()
897 constexpr GrColorType ct = GrColorType::kAlpha_8; in initFormatTable() local
899 ctInfo.fColorType = ct; in initFormatTable()
900 ctInfo.fTransferColorType = ct; in initFormatTable()
907 constexpr GrColorType ct = GrColorType::kGray_8; in initFormatTable() local
[all …]
/third_party/skia/src/gpu/d3d/
DGrD3DCaps.cpp372 constexpr GrColorType ct = GrColorType::kRGBA_8888; in initFormatTable() local
374 ctInfo.fColorType = ct; in initFormatTable()
379 constexpr GrColorType ct = GrColorType::kRGB_888x; in initFormatTable() local
381 ctInfo.fColorType = ct; in initFormatTable()
400 constexpr GrColorType ct = GrColorType::kAlpha_8; in initFormatTable() local
402 ctInfo.fColorType = ct; in initFormatTable()
409 constexpr GrColorType ct = GrColorType::kGray_8; in initFormatTable() local
411 ctInfo.fColorType = ct; in initFormatTable()
429 constexpr GrColorType ct = GrColorType::kBGRA_8888; in initFormatTable() local
431 ctInfo.fColorType = ct; in initFormatTable()
[all …]
/third_party/ffmpeg/libavutil/tests/
Dxtea.c87 uint8_t ct[32]; in main() local
103 AV_WL32(&ct[4*j], AV_RB32(&xtea_test_ct[i][4*j])); in main()
106 test_xtea(ctx, buf, pl, ct, 1, NULL, 0, "encryption", av_xtea_le_crypt); in main()
107 test_xtea(ctx, buf, ct, pl, 1, NULL, 1, "decryption", av_xtea_le_crypt); in main()
111 av_xtea_crypt(ctx, ct, src, 4, iv, 0); in main()
115 test_xtea(ctx, pl, ct, src, 4, iv, 1, "CBC decryption", av_xtea_crypt); in main()
118 test_xtea(ctx, ct, ct, src, 4, iv, 1, "CBC inplace decryption", av_xtea_crypt); in main()
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-mqtt.c493 union lws_ss_contemp *ct) in secstream_connect_munge_mqtt() argument
512 memset(&ct->ccp, 0, sizeof(ct->ccp)); in secstream_connect_munge_mqtt()
528 ct->ccp.client_id = NULL; in secstream_connect_munge_mqtt()
530 ct->ccp.client_id = (const char *)p; in secstream_connect_munge_mqtt()
532 __func__, ct->ccp.client_id); in secstream_connect_munge_mqtt()
536 ct->ccp.client_id = NULL; in secstream_connect_munge_mqtt()
549 ct->ccp.username = NULL; in secstream_connect_munge_mqtt()
551 ct->ccp.username = (const char *)p; in secstream_connect_munge_mqtt()
553 __func__, ct->ccp.username); in secstream_connect_munge_mqtt()
567 ct->ccp.password = NULL; in secstream_connect_munge_mqtt()
[all …]
/third_party/gstreamer/gstreamer/tests/benchmarks/
Dcontroller.c88 GstClockTime bt, ct; in main() local
132 ct = gst_util_get_timestamp (); in main()
133 elapsed = GST_CLOCK_DIFF (bt, ct); in main()
149 ct = gst_util_get_timestamp (); in main()
150 elapsed = GST_CLOCK_DIFF (bt, ct); in main()
162 ct = gst_util_get_timestamp (); in main()
164 elapsed = GST_CLOCK_DIFF (bt, ct); in main()
178 ct = gst_util_get_timestamp (); in main()
179 elapsed = GST_CLOCK_DIFF (bt, ct); in main()
/third_party/skia/docs/examples/
Dskpaint_color_table_filter.cpp7 uint8_t ct[256]; in draw() local
10 ct[i] = x < 0 ? 0 : x > 255 ? 255 : x; in draw()
13 paint.setColorFilter(SkTableColorFilter::MakeARGB(nullptr, ct, ct, ct)); in draw()
/third_party/skia/tests/
DNdkEncodeTest.cpp46 for (auto ct : { kRGBA_8888_SkColorType, in DEF_TEST()
50 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
55 ERRORF(r, "Failed to encode %s to %s\n", ToolUtils::colortype_name(ct), rec.name); in DEF_TEST()
60 ERRORF(r, "Failed to decode from %s as %s\n", ToolUtils::colortype_name(ct), in DEF_TEST()
97 for (auto ct : { kRGBA_8888_SkColorType, in DEF_TEST()
101 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
118 for (auto ct : { kRGBA_8888_SkColorType, in DEF_TEST()
122 bm.allocPixels(SkImageInfo::Make(10, 10, ct, kOpaque_SkAlphaType)); in DEF_TEST()
170 for (SkColorType ct : { in DEF_TEST()
190 auto info = SkImageInfo::Make(7, 13, ct, kOpaque_SkAlphaType, SkColorSpace::MakeSRGB()); in DEF_TEST()
[all …]
/third_party/skia/src/gpu/
DSkGr.cpp139 GrColorType ct = SkColorTypeToGrColorType(bitmap.info().colorType()); in choose_bmp_texture_colortype() local
140 if (caps->getDefaultBackendFormat(ct, GrRenderable::kNo).isValid()) { in choose_bmp_texture_colortype()
141 return ct; in choose_bmp_texture_colortype()
148 GrColorType ct, in make_bmp_proxy() argument
153 if (ct != SkColorTypeToGrColorType(bitmap.info().colorType())) { in make_bmp_proxy()
154 SkColorType skCT = GrColorTypeToSkColorType(ct); in make_bmp_proxy()
185 GrColorType ct = choose_bmp_texture_colortype(caps, bitmap); in GrMakeCachedBitmapProxyView() local
197 ct, in GrMakeCachedBitmapProxyView()
208 GrSwizzle swizzle = caps->getReadSwizzle(proxy->backendFormat(), ct); in GrMakeCachedBitmapProxyView()
210 return {{std::move(proxy), kTopLeft_GrSurfaceOrigin, swizzle}, ct}; in GrMakeCachedBitmapProxyView()
[all …]
/third_party/node/deps/openssl/openssl/fuzz/
Dbuild.info22 IF[{- !$disabled{"ct"} -}]
23 PROGRAMS{noinst}=ct
62 SOURCE[ct]=ct.c driver.c
63 INCLUDE[ct]=../include {- $ex_inc -}
64 DEPEND[ct]=../libcrypto {- $ex_lib -}
86 IF[{- !$disabled{"ct"} -}]
87 PROGRAMS{noinst}=ct-test
127 SOURCE[ct-test]=ct.c test-corpus.c
128 INCLUDE[ct-test]=../include
129 DEPEND[ct-test]=../libcrypto

12345678910>>...20