Home
last modified time | relevance | path

Searched refs:signatureR (Results 1 – 11 of 11) sorted by relevance

/external/tpm2-tss/test/unit/
DTPMU-marshal.c40 sig.ecdsa.signatureR.size = 4; in tpmu_marshal_success()
41 sig.ecdsa.signatureR.buffer[0] = 'a'; in tpmu_marshal_success()
42 sig.ecdsa.signatureR.buffer[1] = 'b'; in tpmu_marshal_success()
43 sig.ecdsa.signatureR.buffer[2] = 'c'; in tpmu_marshal_success()
44 sig.ecdsa.signatureR.buffer[3] = 'd'; in tpmu_marshal_success()
55 assert_int_equal (ptr->signatureR.size, HOST_TO_BE_16(4)); in tpmu_marshal_success()
56 assert_int_equal (ptr->signatureR.buffer[0], 'a'); in tpmu_marshal_success()
57 assert_int_equal (ptr->signatureR.buffer[1], 'b'); in tpmu_marshal_success()
58 assert_int_equal (ptr->signatureR.buffer[2], 'c'); in tpmu_marshal_success()
59 assert_int_equal (ptr->signatureR.buffer[3], 'd'); in tpmu_marshal_success()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptEccSignature.c521 signature->signature.ecdaa.signatureR.t.size in CryptEccSign()
522 = sizeof(signature->signature.ecdaa.signatureR.t.buffer); in CryptEccSign()
533 retVal = BnSignEcdaa(&signature->signature.ecdaa.signatureR, bnS, E, in CryptEccSign()
559 BnTo2B(bnR, &signature->signature.ecdaa.signatureR.b, orderBytes); in CryptEccSign()
796 BnFrom2B(bnR, &signature->signature.ecdsa.signatureR.b); in CryptEccValidateSignature()
DAlgorithmTests.c643 LoadEccParameter(&testSig.signature.ecdsa.signatureR, &c_TestEcDsa_r); in TestEccSignAndVerify()
647 LoadEccParameter(&testSig.signature.ecschnorr.signatureR, in TestEccSignAndVerify()
/external/tpm2-tss/src/tss2-fapi/
Dfapi_crypto.c317 bnr = BN_bin2bn(&tpmSignature->signature.ecdsa.signatureR.buffer[0], in ifapi_tpm_ecc_sig_to_der()
318 tpmSignature->signature.ecdsa.signatureR.size, NULL); in ifapi_tpm_ecc_sig_to_der()
664 ifapi_bn2binpad(bnr, &tpmSignature->signature.ecdsa.signatureR.buffer[0], in ifapi_ecc_der_sig_to_tpm()
666 tpmSignature->signature.ecdsa.signatureR.size = keySize; in ifapi_ecc_der_sig_to_tpm()
Dtpm_json_deserialize.c3358 r = ifapi_json_TPM2B_ECC_PARAMETER_deserialize(jso2, &out->signatureR); in ifapi_json_TPMS_SIGNATURE_ECC_deserialize()
Dtpm_json_serialize.c3280 r = ifapi_json_TPM2B_ECC_PARAMETER_serialize(&in->signatureR, &jso2); in ifapi_json_TPMS_SIGNATURE_ECC_serialize()
/external/tpm2-tss/src/tss2-mu/
Dtpms-types.c1131 signatureR, ADDR, Tss2_MU_TPM2B_ECC_PARAMETER_Marshal,
1136 signatureR, Tss2_MU_TPM2B_ECC_PARAMETER_Unmarshal,
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h1482 TPM2B_ECC_PARAMETER signatureR; member
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DTableMarshalData.c1016 (UINT16)(offsetof(TPMS_SIGNATURE_ECC, signatureR)),
DMarshal.c4576 …result = TPM2B_ECC_PARAMETER_Unmarshal((TPM2B_ECC_PARAMETER *)&(target->signatureR), buffer, size); in TPMS_SIGNATURE_ECC_Unmarshal()
4586 …(result + TPM2B_ECC_PARAMETER_Marshal((TPM2B_ECC_PARAMETER *)&(source->signatureR), buffer, size)); in TPMS_SIGNATURE_ECC_Marshal()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h2009 TPM2B_ECC_PARAMETER signatureR; member