Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/stubdom/vtpm/
A Dvtpmblk.c136 uint8_t* cptr; //Cipher block pointer in encrypt_vtpmblk() local
169 cptr = *cipher = malloc(*cipher_len); in encrypt_vtpmblk()
176 memcpy(cptr, iv, BLKSZ); in encrypt_vtpmblk()
177 cptr += BLKSZ; in encrypt_vtpmblk()
183 aes_crypt_cbc(&aes_ctx, AES_ENCRYPT, clen, iv, clbuf, cptr); in encrypt_vtpmblk()
199 uint8_t* cptr = cipher; //cipher block pointer in decrypt_vtpmblk() local
204 cptr += BLKSZ; in decrypt_vtpmblk()
228 aes_crypt_cbc(&aes_ctx, AES_DECRYPT, clen, iv, cptr, *clear); in decrypt_vtpmblk()

Completed in 3 milliseconds