Home
last modified time | relevance | path

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

/xen/stubdom/vtpmmgr/
A Ddisk_crypto.c27 static void aes_encrypt_ecb(void *target, const void *src, const aes_context *key_e) in aes_encrypt_ecb() argument
29 aes_crypt_ecb((void*)key_e, AES_ENCRYPT, src, target); in aes_encrypt_ecb()
46 static void aes_ctr_one(uint64_t out[2], uint64_t ctr[2], const aes_context *key_e) in aes_ctr_one() argument
51 aes_encrypt_ecb(out, ctr, key_e); in aes_ctr_one()
56 …t_ctr(void *target, size_t target_size, const void *srcv, size_t pt_size, const aes_context *key_e) in aes_encrypt_ctr() argument
73 aes_ctr_one(tmp, ctr, key_e); in aes_encrypt_ctr()
89 aes_ctr_one(tmp, ctr, key_e); in aes_encrypt_ctr()
102 aes_ctr_one(dst, ctr, key_e); in aes_encrypt_ctr()
111 …rypt_ctr(void *target, size_t pt_size, const void *srcv, size_t src_size, const aes_context *key_e) in aes_decrypt_ctr() argument
128 aes_ctr_one(tmp, ctr, key_e); in aes_decrypt_ctr()
[all …]
A Ddisk_crypto.h9 …ctr(void *target, size_t target_size, const void *srcv, size_t src_size, const aes_context *key_e);
10 …ctr(void *target, size_t target_size, const void *srcv, size_t src_size, const aes_context *key_e);
A Ddisk_write.c183 aes_context key_e; in disk_write_group_sector() local
197 aes_setup(&key_e, &group->group_key); in disk_write_group_sector()
205 NR_ENTRIES_PER_GROUP_BASE, &key_e, mgr); in disk_write_group_sector()
210 aes_cmac(&disk.group_mac, &disk.v, sizeof(disk.v), &key_e); in disk_write_group_sector()
341 aes_context key_e; in disk_write_root_sector() local
356 aes_setup(&key_e, &groupv->rollback_mac_key); in disk_write_root_sector()
358 aes_cmac(&root.rb_macs[j].mac, &root.v, sizeof(root.v), &key_e); in disk_write_root_sector()
A Ddisk_read.c332 aes_context key_e; in load_verify_group() local
353 opened_key = &key_e; in load_verify_group()
504 aes_context key_e; in load_root_post() local
531 aes_setup(&key_e, &groupv->rollback_mac_key); in load_root_post()
532 if (aes_cmac_verify(&ent->mac, &root->v, sizeof(root->v), &key_e)) { in load_root_post()

Completed in 5 milliseconds