Home
last modified time | relevance | path

Searched refs:issuerBaseNameLength (Results 1 – 12 of 12) sorted by relevance

/netbsd/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_daa.c63 Trspi_LoadBlob_UINT32(offset, pk->issuerBaseNameLength, blob); in Trspi_LoadBlob_DAA_PK()
64 Trspi_LoadBlob(offset, pk->issuerBaseNameLength, blob, pk->issuerBaseName); in Trspi_LoadBlob_DAA_PK()
175 Trspi_UnloadBlob_UINT32(offset, &pk->issuerBaseNameLength, blob); in Trspi_UnloadBlob_DAA_PK()
176 if (pk->issuerBaseNameLength > 0) { in Trspi_UnloadBlob_DAA_PK()
177 if ((pk->issuerBaseName = malloc(pk->issuerBaseNameLength)) == NULL) in Trspi_UnloadBlob_DAA_PK()
180 Trspi_UnloadBlob(offset, pk->issuerBaseNameLength, blob, pk->issuerBaseName); in Trspi_UnloadBlob_DAA_PK()
H A Dtspi_daa.c185 UINT32 issuerBaseNameLength, // in
206 issuerBaseNameLength,
240 UINT32 issuerBaseNameLength, // in in Tspi_DAA_Issuer_GenerateKey() argument
260 issuerBaseNameLength, issuerBaseName, &key_proof))) in Tspi_DAA_Issuer_GenerateKey()
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/
H A Ddaa_debug.c48 fprintf( file, "%d\n", pk_internal->issuerBaseNameLength); in save_DAA_PK_internal()
49 buffer = (char *)malloc( pk_internal->issuerBaseNameLength + 1); in save_DAA_PK_internal()
50 memcpy( buffer, pk_internal->issuerBaseName, pk_internal->issuerBaseNameLength); in save_DAA_PK_internal()
51 buffer[ pk_internal->issuerBaseNameLength] = 0; in save_DAA_PK_internal()
89 pk_internal->issuerBaseNameLength = read_int( file); in load_DAA_PK_internal()
91 pk_internal->issuerBaseName = malloc( pk_internal->issuerBaseNameLength); in load_DAA_PK_internal()
92 memcpy( pk_internal->issuerBaseName, read_buffer, pk_internal->issuerBaseNameLength); in load_DAA_PK_internal()
H A Ddaa_structs.c452 const int issuerBaseNameLength, in create_DAA_PK() argument
471 pk_internal->issuerBaseNameLength = issuerBaseNameLength; in create_DAA_PK()
501 fprintf( file, "%d\n", pk_internal->issuerBaseNameLength);
504 buffer[ pk_internal->issuerBaseNameLength] = 0;
542 pk_internal->issuerBaseNameLength = read_int( file);
577 int length_issuer_base_name = pk->issuerBaseNameLength; in encoded_DAA_PK_internal()
707 LogDebug("issuer= len=%d", pk_internal->issuerBaseNameLength); in i_2_e_TSS_DAA_PK()
708 pk->issuerBaseNameLength = pk_internal->issuerBaseNameLength; in i_2_e_TSS_DAA_PK()
712 pk_internal->issuerBaseNameLength); in i_2_e_TSS_DAA_PK()
761 issuer_length = pk->issuerBaseNameLength; in e_2_i_TSS_DAA_PK()
[all …]
/netbsd/crypto/external/cpl/trousers/dist/src/include/daa/
H A Ddaa_structs.h141 int issuerBaseNameLength; member
159 int issuerBaseNameLength,
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/
H A Dverifier_transaction.c250 issuer_pk->issuerBaseNameLength, in compute_sign_challenge_host()
251 dump_byte_array( issuer_pk->issuerBaseNameLength, in compute_sign_challenge_host()
/netbsd/crypto/external/cpl/trousers/dist/src/include/tss/
H A Dtss_structs.h189 UINT32 issuerBaseNameLength; member
H A Dtspi.h981 UINT32 issuerBaseNameLength, // in
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/
H A Dtest_join.c215 issuer->zeta = compute_zeta( issuer->pk->issuerBaseNameLength, in initIssuer()
H A Dplatform.c1074 zeta = compute_zeta( pk_internal->issuerBaseNameLength, in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal()
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/
H A Dissue_credential.c489 zeta = compute_zeta( pk_intern->issuerBaseNameLength, in Tspi_DAA_IssueCredential_internal()
/netbsd/crypto/external/cpl/trousers/dist/src/trspi/
H A Dtrousers.c1724 result |= Trspi_Hash_UINT32(c, pk->issuerBaseNameLength); in Trspi_Hash_DAA_PK()
1725 result |= Trspi_HashUpdate(c, pk->issuerBaseNameLength, pk->issuerBaseName); in Trspi_Hash_DAA_PK()