Home
last modified time | relevance | path

Searched refs:olen (Results 1 – 8 of 8) sorted by relevance

/xen/stubdom/vtpmmgr/
A Dtpmrsa.c64 size_t olen; in tpmrsa_public() local
77 olen = ctx->len; in tpmrsa_public()
79 MPI_CHK( mpi_write_binary( &T, output, olen ) ); in tpmrsa_public()
159 int olen; in tpmrsa_pub_encrypt_oaep() local
163 olen = ctx->len-1; in tpmrsa_pub_encrypt_oaep()
168 if( ilen > olen - 2 * HASH_LEN - 1) in tpmrsa_pub_encrypt_oaep()
178 olen - ilen - 2 * HASH_LEN - 1); in tpmrsa_pub_encrypt_oaep()
181 db[olen - ilen - HASH_LEN -1] = 0x01; in tpmrsa_pub_encrypt_oaep()
184 memcpy(db + olen - ilen - HASH_LEN, in tpmrsa_pub_encrypt_oaep()
192 mgf_mask( db, olen - HASH_LEN, seed, HASH_LEN); in tpmrsa_pub_encrypt_oaep()
[all …]
A Dtpm2.h95 UINT32 *olen,
A Dtpm2.c392 UINT32 *olen, in TPM2_UnBind() argument
407 *olen = message.size; in TPM2_UnBind()
408 memcpy(out, message.buffer, *olen); in TPM2_UnBind()
A Dinit.c78 static int tpm_entropy_source(void* dummy, unsigned char* data, size_t len, size_t* olen) { in tpm_entropy_source() argument
81 *olen = sz; in tpm_entropy_source()
651 size_t len, size_t* olen) in tpm2_entropy_source() argument
655 *olen = sz; in tpm2_entropy_source()
A Ddisk_read.c70 unsigned int olen; in find_group_key() local
95 rc = TPM2_disk_unbind(&sealed, &olen, cfg); in find_group_key()
122 unsigned int olen; in parse_root_key() local
127 rc = TPM2_disk_unbind(&sealed, &olen, src); in parse_root_key()
/xen/stubdom/vtpm/
A Dvtpm.c103 static int tpm_entropy_source(void* dummy, unsigned char* data, size_t len, size_t* olen) { in tpm_entropy_source() argument
106 *olen = sz; in tpm_entropy_source()
/xen/tools/xenstore/
A Dtalloc.c1047 size_t olen = strlen(orig); in talloc_append_string() local
1055 ret = talloc_realloc(t, orig, char, olen + alenz); in talloc_append_string()
1060 memcpy(&ret[olen], append, alenz); in talloc_append_string()
/xen/xen/xsm/flask/ss/
A Dservices.c563 u32 olen, nlen, tlen; in security_validtrans_handle_fail() local
565 if ( context_struct_to_string(ocontext, &o, &olen) < 0 ) in security_validtrans_handle_fail()

Completed in 14 milliseconds