Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/stubdom/vtpm/
A Dvtpmblk.c123 int encrypt_vtpmblk(uint8_t* clear, size_t clear_len, uint8_t** cipher, size_t* cipher_len, uint8_t… in encrypt_vtpmblk() argument
151 tpm_marshal_UINT32(&ivptr, &temp, (UINT32) clear_len); in encrypt_vtpmblk()
154 mod = clear_len % BLKSZ; in encrypt_vtpmblk()
155 clen = mod ? clear_len + BLKSZ - mod : clear_len; in encrypt_vtpmblk()
161 memcpy(clbuf, clear, clear_len); in encrypt_vtpmblk()
163 if(clen - clear_len) { in encrypt_vtpmblk()
164 memset(clbuf + clear_len, 0, clen - clear_len); in encrypt_vtpmblk()
191 int decrypt_vtpmblk(uint8_t* cipher, size_t cipher_len, uint8_t** clear, size_t* clear_len, uint8_t… in decrypt_vtpmblk() argument
217 *clear_len = u32; in decrypt_vtpmblk()

Completed in 3 milliseconds