Lines Matching refs:publicKey
402 ObjectHandle publicKey(&session, hPublicKey); in tee_generate_keypair() local
404 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); in tee_generate_keypair()
488 ObjectHandle publicKey(&session, hPublicKey); in tee_import_keypair() local
608 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); in tee_import_keypair()
619 ObjectHandle publicKey(&session); in tee_get_keypair_public() local
622 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) { in tee_get_keypair_public()
637 CK_RV rv = C_GetAttributeValue(session.get(), publicKey.get(), attributes, in tee_get_keypair_public()
650 rv = C_GetAttributeValue(session.get(), publicKey.get(), attributes, in tee_get_keypair_public()
730 ObjectHandle publicKey(&session); in tee_delete_keypair() local
733 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) { in tee_delete_keypair()
745 rv = C_DestroyObject(session.get(), publicKey.get()); in tee_delete_keypair()
770 ObjectHandle publicKey(&session); in tee_sign_data() local
773 if (keyblob_restore(&session, key_blob, key_blob_length, &publicKey, &privateKey)) { in tee_sign_data()
776 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); in tee_sign_data()
840 ObjectHandle publicKey(&session); in tee_verify_data() local
843 if (keyblob_restore(&session, keyBlob, keyBlobLength, &publicKey, &privateKey)) { in tee_verify_data()
846 ALOGV("public handle = 0x%x, private handle = 0x%x", publicKey.get(), privateKey.get()); in tee_verify_data()
861 CK_RV rv = C_VerifyInit(session.get(), &rawRsaMechanism, publicKey.get()); in tee_verify_data()