Searched refs:pkcs8 (Results 1 – 4 of 4) sorted by relevance
42 UniquePtr<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_Delete> pkcs8( in convert_pkcs8_blob_to_evp() local44 if (pkcs8.get() == NULL) in convert_pkcs8_blob_to_evp()47 pkey->reset(EVP_PKCS82PKEY(pkcs8.get())); in convert_pkcs8_blob_to_evp()
287 UniquePtr<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_Delete> pkcs8( in GetPkcs8KeyAlgorithm() local289 if (pkcs8.get() == NULL) { in GetPkcs8KeyAlgorithm()294 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKCS82PKEY(pkcs8.get())); in GetPkcs8KeyAlgorithm()
414 Unique_PKCS8_PRIV_KEY_INFO pkcs8(d2i_PKCS8_PRIV_KEY_INFO(NULL, &key, key_length)); in openssl_import_keypair() local415 if (pkcs8.get() == NULL) { in openssl_import_keypair()421 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in openssl_import_keypair()
1563 Unique_PKCS8_PRIV_KEY_INFO pkcs8(EVP_PKEY2PKCS8(pkey.get())); in importBlobAsKey() local1564 int len = i2d_PKCS8_PRIV_KEY_INFO(pkcs8.get(), NULL); in importBlobAsKey()1572 if (i2d_PKCS8_PRIV_KEY_INFO(pkcs8.get(), &tmp) != len) { in importBlobAsKey()1992 Unique_PKCS8_PRIV_KEY_INFO pkcs8(d2i_PKCS8_PRIV_KEY_INFO(NULL, &ptr, length)); in import() local1993 if (!pkcs8.get()) { in import()1996 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in import()