Home
last modified time | relevance | path

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

/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/openssl/crypto/engine/
Deng_openssl.c445 ASN1_OCTET_STRING ktmp; /* Temp storage for key */ member
457 hctx->ktmp.type = V_ASN1_OCTET_STRING; in ossl_hmac_init()
485 if (sctx->ktmp.data) { in ossl_hmac_copy()
486 if (!ASN1_OCTET_STRING_set(&dctx->ktmp, in ossl_hmac_copy()
487 sctx->ktmp.data, sctx->ktmp.length)) in ossl_hmac_copy()
503 OPENSSL_clear_free(hctx->ktmp.data, hctx->ktmp.length); in ossl_hmac_cleanup()
513 if (!hctx->ktmp.data) in ossl_hmac_keygen()
515 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in ossl_hmac_keygen()
567 if (!ASN1_OCTET_STRING_set(&hctx->ktmp, p2, p1)) in ossl_hmac_ctrl()
/third_party/node/deps/openssl/openssl/crypto/engine/
Deng_openssl.c445 ASN1_OCTET_STRING ktmp; /* Temp storage for key */ member
457 hctx->ktmp.type = V_ASN1_OCTET_STRING; in ossl_hmac_init()
485 if (sctx->ktmp.data) { in ossl_hmac_copy()
486 if (!ASN1_OCTET_STRING_set(&dctx->ktmp, in ossl_hmac_copy()
487 sctx->ktmp.data, sctx->ktmp.length)) in ossl_hmac_copy()
503 OPENSSL_clear_free(hctx->ktmp.data, hctx->ktmp.length); in ossl_hmac_cleanup()
513 if (!hctx->ktmp.data) in ossl_hmac_keygen()
515 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in ossl_hmac_keygen()
567 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/node/deps/openssl/openssl/crypto/ec/
Dec_pmeth.c219 unsigned char *ktmp = NULL; in pkey_ec_kdf_derive() local
232 if ((ktmp = OPENSSL_malloc(ktmplen)) == NULL) { in pkey_ec_kdf_derive()
236 if (!pkey_ec_derive(ctx, ktmp, &ktmplen)) in pkey_ec_kdf_derive()
239 if (!ossl_ecdh_kdf_X9_63(key, *keylen, ktmp, ktmplen, in pkey_ec_kdf_derive()
246 OPENSSL_clear_free(ktmp, ktmplen); in pkey_ec_kdf_derive()
/third_party/openssl/crypto/ec/
Dec_pmeth.c219 unsigned char *ktmp = NULL; in pkey_ec_kdf_derive() local
232 if ((ktmp = OPENSSL_malloc(ktmplen)) == NULL) { in pkey_ec_kdf_derive()
236 if (!pkey_ec_derive(ctx, ktmp, &ktmplen)) in pkey_ec_kdf_derive()
239 if (!ossl_ecdh_kdf_X9_63(key, *keylen, ktmp, ktmplen, in pkey_ec_kdf_derive()
246 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.c1983 EVP_PKEY *ktmp = NULL, *ktmp2; in X509_get_pubkey_parameters() local
1990 ktmp = X509_get0_pubkey(sk_X509_value(chain, i)); in X509_get_pubkey_parameters()
1991 if (ktmp == NULL) { in X509_get_pubkey_parameters()
1995 if (!EVP_PKEY_missing_parameters(ktmp)) in X509_get_pubkey_parameters()
1997 ktmp = NULL; in X509_get_pubkey_parameters()
1999 if (ktmp == NULL) { in X509_get_pubkey_parameters()
2007 if (!EVP_PKEY_copy_parameters(ktmp2, ktmp)) in X509_get_pubkey_parameters()
2012 return EVP_PKEY_copy_parameters(pkey, ktmp); in X509_get_pubkey_parameters()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509_vfy.c1983 EVP_PKEY *ktmp = NULL, *ktmp2; in X509_get_pubkey_parameters() local
1990 ktmp = X509_get0_pubkey(sk_X509_value(chain, i)); in X509_get_pubkey_parameters()
1991 if (ktmp == NULL) { in X509_get_pubkey_parameters()
1995 if (!EVP_PKEY_missing_parameters(ktmp)) in X509_get_pubkey_parameters()
1997 ktmp = NULL; in X509_get_pubkey_parameters()
1999 if (ktmp == NULL) { in X509_get_pubkey_parameters()
2007 if (!EVP_PKEY_copy_parameters(ktmp2, ktmp)) in X509_get_pubkey_parameters()
2012 return EVP_PKEY_copy_parameters(pkey, ktmp); in X509_get_pubkey_parameters()