Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/stubdom/vtpm/
A Dvtpmblk.c123 …pt_vtpmblk(uint8_t* clear, size_t clear_len, uint8_t** cipher, size_t* cipher_len, uint8_t* symkey) in encrypt_vtpmblk() argument
140 if(symkey == NULL) { in encrypt_vtpmblk()
144 tpm_get_extern_random_bytes(symkey, NVMKEYSZ); in encrypt_vtpmblk()
180 aes_setkey_enc(&aes_ctx, symkey, 256); in encrypt_vtpmblk()
191 …pt_vtpmblk(uint8_t* cipher, size_t cipher_len, uint8_t** clear, size_t* clear_len, uint8_t* symkey) in decrypt_vtpmblk() argument
220 aes_setkey_dec(&aes_ctx, symkey, 256); in decrypt_vtpmblk()
244 uint8_t* symkey = hashkey + HASHSZ; in write_vtpmblk() local
252 if((rc = encrypt_vtpmblk(data, data_length, &cipher, &cipher_len, symkey))) { in write_vtpmblk()
281 uint8_t* symkey; in read_vtpmblk() local
292 symkey = hashkey + HASHSZ; in read_vtpmblk()
[all …]

Completed in 2 milliseconds