Searched refs:pkey (Results 1 – 2 of 2) sorted by relevance
160 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in exynos_km_import_keypair() local161 if (pkey.get() == NULL) { in exynos_km_import_keypair()168 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey.get())); in exynos_km_import_keypair()294 Unique_EVP_PKEY pkey(EVP_PKEY_new()); in exynos_km_get_keypair_public() local295 if (pkey.get() == NULL) { in exynos_km_get_keypair_public()300 if (EVP_PKEY_assign_RSA(pkey.get(), rsa.get()) == 0) { in exynos_km_get_keypair_public()307 int len = i2d_PUBKEY(pkey.get(), NULL); in exynos_km_get_keypair_public()320 if (i2d_PUBKEY(pkey.get(), &tmp) != len) { in exynos_km_get_keypair_public()
158 Unique_EVP_PKEY pkey(EVP_PKEY_new()); in qcom_km_get_keypair_public() local159 if (pkey.get() == NULL) { in qcom_km_get_keypair_public()163 if (EVP_PKEY_assign_RSA(pkey.get(), rsa.get()) != 1) { in qcom_km_get_keypair_public()169 int len = i2d_PUBKEY(pkey.get(), NULL); in qcom_km_get_keypair_public()182 if (i2d_PUBKEY(pkey.get(), &tmp) != len) { in qcom_km_get_keypair_public()