Home
last modified time | relevance | path

Searched refs:TPM2_ALG_ECDSA (Results 1 – 18 of 18) sorted by relevance

/external/tpm2-tss/test/unit/
DTPMS-marshal.c34 uint16_t alg_expected = HOST_TO_BE_16(TPM2_ALG_ECDSA); in tpms_marshal_success()
39 alg.alg = TPM2_ALG_ECDSA; in tpms_marshal_success()
78 uint16_t alg_expected = HOST_TO_BE_16(TPM2_ALG_ECDSA); in tpms_marshal_success_offset()
84 alg.alg = TPM2_ALG_ECDSA; in tpms_marshal_success_offset()
125 alg.alg = TPM2_ALG_ECDSA; in tpms_marshal_buffer_null_with_offset()
174 alg.alg = TPM2_ALG_ECDSA; in tpms_marshal_buffer_size_lt_data_nad_lt_offset()
206 uint16_t alg_expected = TPM2_ALG_ECDSA; in tpms_unmarshal_success()
213 *alg_ptr = HOST_TO_BE_16(TPM2_ALG_ECDSA); in tpms_unmarshal_success()
291 *alg_ptr = HOST_TO_BE_16(TPM2_ALG_ECDSA); in tpms_unmarshal_dest_null_offset_valid()
327 ptr->alg = HOST_TO_BE_16(TPM2_ALG_ECDSA); in tpms_unmarshal_buffer_size_lt_data_nad_lt_offset()
DTPMU-marshal.c51 rc = Tss2_MU_TPMU_SIGNATURE_Marshal(&sig, TPM2_ALG_ECDSA, buffer, buffer_size, NULL); in tpmu_marshal_success()
101 rc = Tss2_MU_TPMU_SIGNATURE_Marshal(&sig, TPM2_ALG_ECDSA, buffer, buffer_size, &offset); in tpmu_marshal_success_offset()
148 rc = Tss2_MU_TPMU_SIGNATURE_Marshal(&sig, TPM2_ALG_ECDSA, NULL, buffer_size, &offset); in tpmu_marshal_buffer_null_with_offset()
166 rc = Tss2_MU_TPMU_SIGNATURE_Marshal(&sig, TPM2_ALG_ECDSA, NULL, sizeof(sig), NULL); in tpmu_marshal_buffer_null_offset_null()
199 rc = Tss2_MU_TPMU_SIGNATURE_Marshal(&sig, TPM2_ALG_ECDSA, buffer, 12, &offset); in tpmu_marshal_buffer_size_lt_data_nad_lt_offset()
240 rc = Tss2_MU_TPMU_SIGNATURE_Unmarshal(buffer, buffer_size, &offset, TPM2_ALG_ECDSA, &sig); in tpmu_unmarshal_success()
269 rc = Tss2_MU_TPMU_SIGNATURE_Unmarshal(NULL, 32, &offset, TPM2_ALG_ECDSA, NULL); in tpmu_unmarshal_dest_null_buff_null()
287 rc = Tss2_MU_TPMU_SIGNATURE_Unmarshal(buffer, buffer_size, NULL, TPM2_ALG_ECDSA, NULL); in tpmu_unmarshal_buffer_null_offset_null()
325 rc = Tss2_MU_TPMU_SIGNATURE_Unmarshal(buffer, buffer_size, &offset, TPM2_ALG_ECDSA, NULL); in tpmu_unmarshal_dest_null_offset_valid()
363 rc = Tss2_MU_TPMU_SIGNATURE_Unmarshal(buffer, 14, &offset, TPM2_ALG_ECDSA, &sig); in tpmu_unmarshal_buffer_size_lt_data_nad_lt_offset()
Dfapi-json.c315 TPMT_SIG_SCHEME ecc_scheme = { .scheme = TPM2_ALG_ECDSA, .details.ecdsa = TPM2_ALG_SHA1 }; in check_bin()
Desys-tpm-rcs.c75 TPM2_ALG_ECDSA, \
108 TPM2_ALG_ECDSA, \
Desys-tcti-rcs.c75 TPM2_ALG_ECDSA, \
108 TPM2_ALG_ECDSA, \
Desys-resubmissions.c75 TPM2_ALG_ECDSA, \
108 TPM2_ALG_ECDSA, \
/external/tpm2-tss/src/tss2-mu/
Dtpmu-types.c508 TPM2_ALG_ECDSA, ADDR, ecdsa, Tss2_MU_TPMS_SCHEME_HASH_Marshal,
516 TPM2_ALG_ECDSA, ecdsa, Tss2_MU_TPMS_SCHEME_HASH_Unmarshal,
536 TPM2_ALG_ECDSA, ADDR, ecdsa, Tss2_MU_TPMS_SCHEME_HASH_Marshal,
546 TPM2_ALG_ECDSA, ecdsa, Tss2_MU_TPMS_SCHEME_HASH_Unmarshal,
562 TPM2_ALG_ECDSA, ADDR, ecdsa, Tss2_MU_TPMS_SIGNATURE_ECC_Marshal,
570 TPM2_ALG_ECDSA, ecdsa, Tss2_MU_TPMS_SIGNATURE_ECC_Unmarshal,
/external/tpm2-tss/test/integration/
Desys-create-primary-hmac.int.c94 .scheme = TPM2_ALG_ECDSA, in test_esys_create_primary_hmac()
Desys-create-fail.int.c98 .scheme = TPM2_ALG_ECDSA, in test_esys_create_fail()
Desys-create-policy-auth.int.c115 .scheme = TPM2_ALG_ECDSA, in test_esys_create_policy_auth()
Desys-createloaded.int.c224 .scheme = TPM2_ALG_ECDSA, in test_esys_createloaded()
Desys-create-password-auth.int.c103 .scheme = TPM2_ALG_ECDSA, in test_esys_create_password_auth()
Desys-save-and-load-context.int.c108 .scheme = TPM2_ALG_ECDSA, in test_esys_save_and_load_context()
/external/tpm2-tss/src/tss2-fapi/
Dtpm_json_serialize.c312 { TPM2_ALG_ECDSA, "ECDSA" }, in ifapi_json_TPM2_ALG_ID_serialize()
1120 TPM2_ALG_ECDSA, TPM2_ALG_ECDAA, TPM2_ALG_SM2, TPM2_ALG_ECSCHNORR, in ifapi_json_TPMI_ALG_SIG_SCHEME_serialize()
2685 case TPM2_ALG_ECDSA: in ifapi_json_TPMU_SIG_SCHEME_serialize()
2897 TPM2_ALG_ECDSA, TPM2_ALG_ECDAA, TPM2_ALG_SM2, TPM2_ALG_ECSCHNORR, in ifapi_json_TPMI_ALG_ASYM_SCHEME_serialize()
2923 case TPM2_ALG_ECDSA: in ifapi_json_TPMU_ASYM_SCHEME_serialize()
3142 CHECK_IN_LIST(TPMI_ALG_ECC_SCHEME, in, TPM2_ALG_ECDSA, TPM2_ALG_ECDAA, in ifapi_json_TPMI_ALG_ECC_SCHEME_serialize()
3371 case TPM2_ALG_ECDSA: in ifapi_json_TPMU_SIGNATURE_serialize()
Dtpm_json_deserialize.c601 { TPM2_ALG_ECDSA, "ECDSA" }, in ifapi_json_TPM2_ALG_ID_deserialize()
1328 TPM2_ALG_RSASSA, TPM2_ALG_RSAPSS, TPM2_ALG_ECDSA, TPM2_ALG_ECDAA, TPM2_ALG_SM2, in ifapi_json_TPMI_ALG_SIG_SCHEME_deserialize()
2724 case TPM2_ALG_ECDSA: in ifapi_json_TPMU_SIG_SCHEME_deserialize()
2974 case TPM2_ALG_ECDSA: in ifapi_json_TPMU_ASYM_SCHEME_deserialize()
3209 TPM2_ALG_ECDSA, TPM2_ALG_ECDAA, TPM2_ALG_SM2, TPM2_ALG_ECSCHNORR, in ifapi_json_TPMI_ALG_ECC_SCHEME_deserialize()
3459 case TPM2_ALG_ECDSA: in ifapi_json_TPMU_SIGNATURE_deserialize()
Dfapi_crypto.c139 .scheme = TPM2_ALG_ECDSA,
663 tpmSignature->sigAlg = TPM2_ALG_ECDSA; /**< only ECDSA is used by FAPI */ in ifapi_ecc_der_sig_to_tpm()
Difapi_helpers.c1690 sig_scheme->scheme == TPM2_ALG_ECDSA) { in ifapi_tpm_to_fapi_signature()
1979 case TPM2_ALG_ECDSA: in ifapi_calculate_pcr_digest()
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h92 #define TPM2_ALG_ECDSA ((TPM2_ALG_ID) 0x0018) macro