Home
last modified time | relevance | path

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

/xnu-8792.41.9/iokit/Kernel/ !
H A DIOHibernateInternal.h62 uint8_t wiredCryptKey[kIOHibernateAESKeySize]; member
H A DIOHibernateIO.cpp665 for (uint32_t i = 0; i < sizeof(vars->wiredCryptKey); i++) { in IOHibernateSystemSleep()
666 vars->wiredCryptKey[i] = ((uint8_t) random()); in IOHibernateSystemSleep()
683 uint8_t wiredCryptKey[16]; in IOHibernateSystemSleep() member
693 bcopy(&vars->wiredCryptKey[0], &rtcVars.wiredCryptKey[0], sizeof(rtcVars.wiredCryptKey)); in IOHibernateSystemSleep()
1695 for (pageCount = 0; pageCount < sizeof(vars->wiredCryptKey); pageCount++) { in hibernate_write_image()
1696 vars->wiredCryptKey[pageCount] ^= vars->volumeCryptKey[pageCount]; in hibernate_write_image()
1698 aes_encrypt_key(vars->wiredCryptKey, in hibernate_write_image()
1703 bzero(&vars->wiredCryptKey[0], sizeof(vars->wiredCryptKey)); in hibernate_write_image()