Home
last modified time | relevance | path

Searched refs:ktmp (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dcmyk.h33 double ktmp = MIN(MIN(ctmp, mtmp), ytmp); in LOCAL() local
35 if (ktmp == 1.0) ctmp = mtmp = ytmp = 0.0; in LOCAL()
37 ctmp = (ctmp - ktmp) / (1.0 - ktmp); in LOCAL()
38 mtmp = (mtmp - ktmp) / (1.0 - ktmp); in LOCAL()
39 ytmp = (ytmp - ktmp) / (1.0 - ktmp); in LOCAL()
44 *k = (JSAMPLE)(255.0 - ktmp * 255.0 + 0.5); in LOCAL()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dcmyk.h33 double ktmp = MIN(MIN(ctmp, mtmp), ytmp); in LOCAL() local
35 if (ktmp == 1.0) ctmp = mtmp = ytmp = 0.0; in LOCAL()
37 ctmp = (ctmp - ktmp) / (1.0 - ktmp); in LOCAL()
38 mtmp = (mtmp - ktmp) / (1.0 - ktmp); in LOCAL()
39 ytmp = (ytmp - ktmp) / (1.0 - ktmp); in LOCAL()
44 *k = (JSAMPLE)(255.0 - ktmp * 255.0 + 0.5); in LOCAL()
/third_party/libjpeg-turbo/
Dcmyk.h33 double ktmp = MIN(MIN(ctmp, mtmp), ytmp); in LOCAL() local
35 if (ktmp == 1.0) ctmp = mtmp = ytmp = 0.0; in LOCAL()
37 ctmp = (ctmp - ktmp) / (1.0 - ktmp); in LOCAL()
38 mtmp = (mtmp - ktmp) / (1.0 - ktmp); in LOCAL()
39 ytmp = (ytmp - ktmp) / (1.0 - ktmp); in LOCAL()
44 *k = (JSAMPLE)(255.0 - ktmp * 255.0 + 0.5); in LOCAL()
/third_party/openssl/crypto/poly1305/
Dpoly1305_pmeth.c23 ASN1_OCTET_STRING ktmp; /* Temp storage for key */ member
35 pctx->ktmp.type = V_ASN1_OCTET_STRING; in pkey_poly1305_init()
47 OPENSSL_clear_free(pctx->ktmp.data, pctx->ktmp.length); in pkey_poly1305_cleanup()
62 if (ASN1_STRING_get0_data(&sctx->ktmp) != NULL && in pkey_poly1305_copy()
63 !ASN1_STRING_copy(&dctx->ktmp, &sctx->ktmp)) { in pkey_poly1305_copy()
77 if (ASN1_STRING_get0_data(&pctx->ktmp) == NULL) in pkey_poly1305_keygen()
79 key = ASN1_OCTET_STRING_dup(&pctx->ktmp); in pkey_poly1305_keygen()
139 !ASN1_OCTET_STRING_set(&pctx->ktmp, key, len)) in pkey_poly1305_ctrl()
141 Poly1305_Init(&pctx->ctx, ASN1_STRING_get0_data(&pctx->ktmp)); in pkey_poly1305_ctrl()
/third_party/openssl/crypto/siphash/
Dsiphash_pmeth.c23 ASN1_OCTET_STRING ktmp; /* Temp storage for key */ member
35 pctx->ktmp.type = V_ASN1_OCTET_STRING; in pkey_siphash_init()
47 OPENSSL_clear_free(pctx->ktmp.data, pctx->ktmp.length); in pkey_siphash_cleanup()
62 if (ASN1_STRING_get0_data(&sctx->ktmp) != NULL && in pkey_siphash_copy()
63 !ASN1_STRING_copy(&dctx->ktmp, &sctx->ktmp)) { in pkey_siphash_copy()
77 if (ASN1_STRING_get0_data(&pctx->ktmp) == NULL) in pkey_siphash_keygen()
79 key = ASN1_OCTET_STRING_dup(&pctx->ktmp); in pkey_siphash_keygen()
143 !ASN1_OCTET_STRING_set(&pctx->ktmp, key, len)) in pkey_siphash_ctrl()
146 return SipHash_Init(&pctx->ctx, ASN1_STRING_get0_data(&pctx->ktmp), in pkey_siphash_ctrl()
/third_party/openssl/crypto/hmac/
Dhm_pmeth.c23 ASN1_OCTET_STRING ktmp; /* Temp storage for key */ member
35 hctx->ktmp.type = V_ASN1_OCTET_STRING; in pkey_hmac_init()
62 if (sctx->ktmp.data) { in pkey_hmac_copy()
63 if (!ASN1_OCTET_STRING_set(&dctx->ktmp, in pkey_hmac_copy()
64 sctx->ktmp.data, sctx->ktmp.length)) in pkey_hmac_copy()
80 OPENSSL_clear_free(hctx->ktmp.data, hctx->ktmp.length); in pkey_hmac_cleanup()
90 if (!hctx->ktmp.data) in pkey_hmac_keygen()
92 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in pkey_hmac_keygen()
146 if (!ASN1_OCTET_STRING_set(&hctx->ktmp, p2, p1)) in pkey_hmac_ctrl()
/third_party/openssl/crypto/engine/
Deng_openssl.c428 ASN1_OCTET_STRING ktmp; /* Temp storage for key */ member
440 hctx->ktmp.type = V_ASN1_OCTET_STRING; in ossl_hmac_init()
468 if (sctx->ktmp.data) { in ossl_hmac_copy()
469 if (!ASN1_OCTET_STRING_set(&dctx->ktmp, in ossl_hmac_copy()
470 sctx->ktmp.data, sctx->ktmp.length)) in ossl_hmac_copy()
486 OPENSSL_clear_free(hctx->ktmp.data, hctx->ktmp.length); in ossl_hmac_cleanup()
496 if (!hctx->ktmp.data) in ossl_hmac_keygen()
498 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in ossl_hmac_keygen()
550 if (!ASN1_OCTET_STRING_set(&hctx->ktmp, p2, p1)) in ossl_hmac_ctrl()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/
Dmain.c112 uint8_t *kid = NULL, ktmp[4096], set_temp[32 * 1024], temp[256]; in main() local
165 kid_len = (size_t)lws_hex_to_byte_array(p, ktmp, sizeof(ktmp)); in main()
166 kid = (uint8_t *)ktmp; in main()
291 lws_lec_init(&lec, ktmp, sizeof(ktmp)); in main()
293 write(fdout, ktmp, lec.used); in main()
/third_party/openssl/crypto/ec/
Dec_pmeth.c192 unsigned char *ktmp = NULL; in pkey_ec_kdf_derive() local
205 if ((ktmp = OPENSSL_malloc(ktmplen)) == NULL) { in pkey_ec_kdf_derive()
209 if (!pkey_ec_derive(ctx, ktmp, &ktmplen)) in pkey_ec_kdf_derive()
212 if (!ecdh_KDF_X9_63(key, *keylen, ktmp, ktmplen, in pkey_ec_kdf_derive()
218 OPENSSL_clear_free(ktmp, ktmplen); in pkey_ec_kdf_derive()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/
Dmain.c94 uint8_t *ks, temp[256], *kid = NULL, ktmp[4096], sbuf[512]; in main() local
176 kid_len = (size_t)lws_hex_to_byte_array(p, ktmp, sizeof(ktmp)); in main()
177 kid = (uint8_t *)ktmp; in main()
/third_party/openssl/crypto/x509/
Dx509_vfy.c1957 EVP_PKEY *ktmp = NULL, *ktmp2; in X509_get_pubkey_parameters() local
1964 ktmp = X509_get0_pubkey(sk_X509_value(chain, i)); in X509_get_pubkey_parameters()
1965 if (ktmp == NULL) { in X509_get_pubkey_parameters()
1970 if (!EVP_PKEY_missing_parameters(ktmp)) in X509_get_pubkey_parameters()
1973 if (ktmp == NULL) { in X509_get_pubkey_parameters()
1982 EVP_PKEY_copy_parameters(ktmp2, ktmp); in X509_get_pubkey_parameters()
1986 EVP_PKEY_copy_parameters(pkey, ktmp); in X509_get_pubkey_parameters()