Home
last modified time | relevance | path

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

/openssl/crypto/engine/
H A Deng_openssl.c445 ASN1_OCTET_STRING ktmp; /* Temp storage for key */ member
455 hctx->ktmp.type = V_ASN1_OCTET_STRING; in ossl_hmac_init()
483 if (sctx->ktmp.data) { in ossl_hmac_copy()
484 if (!ASN1_OCTET_STRING_set(&dctx->ktmp, in ossl_hmac_copy()
485 sctx->ktmp.data, sctx->ktmp.length)) in ossl_hmac_copy()
501 OPENSSL_clear_free(hctx->ktmp.data, hctx->ktmp.length); in ossl_hmac_cleanup()
511 if (!hctx->ktmp.data) in ossl_hmac_keygen()
513 hkey = ASN1_OCTET_STRING_dup(&hctx->ktmp); in ossl_hmac_keygen()
565 if (!ASN1_OCTET_STRING_set(&hctx->ktmp, p2, p1)) in ossl_hmac_ctrl()
/openssl/crypto/ec/
H A Dec_pmeth.c217 unsigned char *ktmp = NULL; in pkey_ec_kdf_derive() local
230 if ((ktmp = OPENSSL_malloc(ktmplen)) == NULL) in pkey_ec_kdf_derive()
232 if (!pkey_ec_derive(ctx, ktmp, &ktmplen)) in pkey_ec_kdf_derive()
235 if (!ossl_ecdh_kdf_X9_63(key, *keylen, ktmp, ktmplen, in pkey_ec_kdf_derive()
242 OPENSSL_clear_free(ktmp, ktmplen); in pkey_ec_kdf_derive()
/openssl/crypto/x509/
H A Dx509_vfy.c2099 EVP_PKEY *ktmp = NULL, *ktmp2; in X509_get_pubkey_parameters() local
2106 ktmp = X509_get0_pubkey(sk_X509_value(chain, i)); in X509_get_pubkey_parameters()
2107 if (ktmp == NULL) { in X509_get_pubkey_parameters()
2111 if (!EVP_PKEY_missing_parameters(ktmp)) in X509_get_pubkey_parameters()
2113 ktmp = NULL; in X509_get_pubkey_parameters()
2115 if (ktmp == NULL) { in X509_get_pubkey_parameters()
2123 if (!EVP_PKEY_copy_parameters(ktmp2, ktmp)) in X509_get_pubkey_parameters()
2128 return EVP_PKEY_copy_parameters(pkey, ktmp); in X509_get_pubkey_parameters()

Completed in 15 milliseconds