Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/stubdom/vtpm/
A Dvtpmblk.c170 if (*cipher == NULL) { in encrypt_vtpmblk()
203 memcpy(iv, cipher, BLKSZ); in decrypt_vtpmblk()
241 uint8_t* cipher = NULL; in write_vtpmblk() local
260 sha1(cipher, cipher_len, hashkey); in write_vtpmblk()
269 free(cipher); in write_vtpmblk()
275 uint8_t* cipher = NULL; in read_vtpmblk() local
301 sha1(cipher, cipher_len, hash0); in read_vtpmblk()
305 free(cipher); in read_vtpmblk()
306 cipher = NULL; in read_vtpmblk()
315 sha1(cipher, cipher_len, hash1); in read_vtpmblk()
[all …]
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Dtpm2.c396 TPM2B_PUBLIC_KEY_RSA cipher, message; in TPM2_UnBind() local
400 cipher.size = ilen; in TPM2_UnBind()
401 memcpy(cipher.buffer, in, ilen); in TPM2_UnBind()
405 TPMTRYRETURN(TPM2_RSA_Decrypt(keyHandle, &cipher, &inScheme, &label, &message)); in TPM2_UnBind()

Completed in 3 milliseconds