Home
last modified time | relevance | path

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

/xnu-11215/iokit/Kernel/
H A DIOPolledInterface.cpp503 uint8_t * volumeCryptKey, in IOGetVolumeCryptKey() argument
525 …err = part->callPlatformFunction(APFSMEDIA_GETHIBERKEY, false, &volUuid, volumeCryptKey, keySize, … in IOGetVolumeCryptKey()
569 bcopy(&vek.key.keybytes[0], volumeCryptKey, *keySize); in IOGetVolumeCryptKey()
606 uint8_t * volumeCryptKey, size_t * keySize) in IOPolledFileOpen() argument
694 if (volumeCryptKey) { in IOPolledFileOpen()
695 err = IOGetVolumeCryptKey(block_dev, &keyUUID, volumeCryptKey, keySize); in IOPolledFileOpen()
699 if (volumeCryptKey) { in IOPolledFileOpen()
701 err = IOGetHibernationCryptKey(volumeCryptKey, keySize, &swSeed); in IOPolledFileOpen()
711 if (volumeCryptKey) { in IOPolledFileOpen()
780 uint8_t * volumeCryptKey, size_t * keySize) in IOPolledFileOpen() argument
[all …]
H A DIOHibernateInternal.h65 uint8_t volumeCryptKey[64]; member
H A DIOHibernateIO.cpp611 vars->volumeCryptKeySize = sizeof(vars->volumeCryptKey); in IOHibernateSystemSleep()
617 &vars->volumeCryptKey[0], &vars->volumeCryptKeySize); in IOHibernateSystemSleep()
679 …smcData = OSData::withBytesNoCopy(&gIOHibernateVars.volumeCryptKey[0], (unsigned int)vars->volumeC… in IOHibernateSystemSleep()
1398 bmd = IOBufferMemoryDescriptor::withBytes(&vars->volumeCryptKey[0], in IOHibernateDone()
1404 bzero(&vars->volumeCryptKey[0], sizeof(vars->volumeCryptKey)); in IOHibernateDone()
1743 vars->wiredCryptKey[pageCount] ^= vars->volumeCryptKey[pageCount]; in hibernate_write_image()
1805 …err = IOPolledFilePollersSetEncryptionKey(vars->fileVars, &vars->volumeCryptKey[0], vars->volumeCr… in hibernate_write_image()
1808 bzero(&vars->volumeCryptKey[0], sizeof(vars->volumeCryptKey)); in hibernate_write_image()
2498 bcopy(data, &vars->volumeCryptKey[0], vars->volumeCryptKeySize); in hibernate_machine_init()
2583 &vars->volumeCryptKey[0], vars->volumeCryptKeySize); in hibernate_machine_init()
/xnu-11215/iokit/IOKit/
H A DIOPolledInterface.h188 uint8_t * volumeCryptKey, size_t * keySize);
196 uint8_t * volumeCryptKey, size_t * keySize);