/external/tpm2-tss/test/unit/ |
D | TPMS-marshal.c | 34 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()
|
D | TPMU-marshal.c | 51 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()
|
D | fapi-json.c | 315 TPMT_SIG_SCHEME ecc_scheme = { .scheme = TPM2_ALG_ECDSA, .details.ecdsa = TPM2_ALG_SHA1 }; in check_bin()
|
D | esys-tpm-rcs.c | 75 TPM2_ALG_ECDSA, \ 108 TPM2_ALG_ECDSA, \
|
D | esys-tcti-rcs.c | 75 TPM2_ALG_ECDSA, \ 108 TPM2_ALG_ECDSA, \
|
D | esys-resubmissions.c | 75 TPM2_ALG_ECDSA, \ 108 TPM2_ALG_ECDSA, \
|
/external/tpm2-tss/src/tss2-mu/ |
D | tpmu-types.c | 508 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/ |
D | esys-create-primary-hmac.int.c | 94 .scheme = TPM2_ALG_ECDSA, in test_esys_create_primary_hmac()
|
D | esys-create-fail.int.c | 98 .scheme = TPM2_ALG_ECDSA, in test_esys_create_fail()
|
D | esys-create-policy-auth.int.c | 115 .scheme = TPM2_ALG_ECDSA, in test_esys_create_policy_auth()
|
D | esys-createloaded.int.c | 224 .scheme = TPM2_ALG_ECDSA, in test_esys_createloaded()
|
D | esys-create-password-auth.int.c | 103 .scheme = TPM2_ALG_ECDSA, in test_esys_create_password_auth()
|
D | esys-save-and-load-context.int.c | 108 .scheme = TPM2_ALG_ECDSA, in test_esys_save_and_load_context()
|
/external/tpm2-tss/src/tss2-fapi/ |
D | tpm_json_serialize.c | 312 { 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()
|
D | tpm_json_deserialize.c | 601 { 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()
|
D | fapi_crypto.c | 139 .scheme = TPM2_ALG_ECDSA, 663 tpmSignature->sigAlg = TPM2_ALG_ECDSA; /**< only ECDSA is used by FAPI */ in ifapi_ecc_der_sig_to_tpm()
|
D | ifapi_helpers.c | 1690 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/ |
D | tss2_tpm2_types.h | 92 #define TPM2_ALG_ECDSA ((TPM2_ALG_ID) 0x0018) macro
|