Lines Matching refs:key1
20 TEE_ObjectHandle key1; member
316 res = TEE_AllocateTransientObject(key_type, mks, &op->key1); in TEE_AllocateOperation()
328 res = _utee_cryp_state_alloc(algorithm, mode, (unsigned long)op->key1, in TEE_AllocateOperation()
360 TEE_FreeTransientObject(op->key1); in TEE_AllocateOperation()
441 res = TEE_GetObjectInfo1(op->key1, &kinfo); in TEE_GetOperationInfoMultiple()
456 res = TEE_GetObjectInfo1(op->key1, &kinfo); in TEE_GetOperationInfoMultiple()
534 TEE_ResetTransientObject(operation->key1); in TEE_SetOperationKey()
571 TEE_ResetTransientObject(operation->key1); in TEE_SetOperationKey()
574 res = TEE_CopyObjectAttributes1(operation->key1, key); in TEE_SetOperationKey()
592 TEE_ObjectHandle key1, TEE_ObjectHandle key2) in TEE_SetOperationKey2() argument
613 if (!key1 && !key2) { in TEE_SetOperationKey2()
615 TEE_ResetTransientObject(operation->key1); in TEE_SetOperationKey2()
619 } else if (!key1 || !key2) { in TEE_SetOperationKey2()
638 res = TEE_GetObjectInfo1(key1, &key_info1); in TEE_SetOperationKey2()
686 TEE_ResetTransientObject(operation->key1); in TEE_SetOperationKey2()
690 res = TEE_CopyObjectAttributes1(operation->key1, key1); in TEE_SetOperationKey2()
726 TEE_ObjectHandle key1 = TEE_HANDLE_NULL; in TEE_CopyOperation() local
730 key1 = src_op->key1; in TEE_CopyOperation()
736 TEE_SetOperationKey(dst_op, key1); in TEE_CopyOperation()
738 TEE_SetOperationKey2(dst_op, key1, key2); in TEE_CopyOperation()
846 !(operation->key1)) in TEE_CipherInit()
1169 !(operation->key1)) in TEE_MACInit()
1644 if (!operation->key1) in TEE_AsymmetricEncrypt()
1681 if (!operation->key1) in TEE_AsymmetricDecrypt()
1718 if (!operation->key1) in TEE_AsymmetricSignDigest()
1755 if (!operation->key1) in TEE_AsymmetricVerifyDigest()
1794 if (!operation->key1) in TEE_DeriveKey()