Lines Matching defs:pkey
109 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) { in wrap_key()
211 Unique_EVP_PKEY pkey(EVP_PKEY_new()); in unwrap_key() local
226 static int generate_dsa_keypair(EVP_PKEY* pkey, const keymaster_dsa_keygen_params_t* dsa_params) { in generate_dsa_keypair()
276 static int generate_ec_keypair(EVP_PKEY* pkey, const keymaster_ec_keygen_params_t* ec_params) { in generate_ec_keypair()
331 static int generate_rsa_keypair(EVP_PKEY* pkey, const keymaster_rsa_keygen_params_t* rsa_params) { in generate_rsa_keypair()
368 Unique_EVP_PKEY pkey(EVP_PKEY_new()); in openssl_generate_keypair() local
421 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in openssl_import_keypair() local
444 Unique_EVP_PKEY pkey(unwrap_key(key_blob, key_blob_length)); in openssl_get_keypair_public() local
474 static int sign_dsa(EVP_PKEY* pkey, keymaster_dsa_sign_params_t* sign_params, const uint8_t* data, in sign_dsa()
506 static int sign_ec(EVP_PKEY* pkey, keymaster_ec_sign_params_t* sign_params, const uint8_t* data, in sign_ec()
538 static int sign_rsa(EVP_PKEY* pkey, keymaster_rsa_sign_params_t* sign_params, const uint8_t* data, in sign_rsa()
584 Unique_EVP_PKEY pkey(unwrap_key(keyBlob, keyBlobLength)); in openssl_sign_data() local
611 static int verify_dsa(EVP_PKEY* pkey, keymaster_dsa_sign_params_t* sign_params, in verify_dsa()
633 static int verify_ec(EVP_PKEY* pkey, keymaster_ec_sign_params_t* sign_params, in verify_ec()
656 static int verify_rsa(EVP_PKEY* pkey, keymaster_rsa_sign_params_t* sign_params, in verify_rsa()
705 Unique_EVP_PKEY pkey(unwrap_key(keyBlob, keyBlobLength)); in openssl_verify_data() local