Home
last modified time | relevance | path

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

/frameworks/opt/net/lowpan/libandroid_net_lowpan/
DLowpanCredential.cpp51 …itMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyLen, int masterKeyI… in initMasterKey() argument
53 if (masterKeyLen < 0) { in initMasterKey()
55 } else if (masterKeyLen > MASTER_KEY_MAX_SIZE) { in initMasterKey()
62 out.mMasterKey.insert(out.mMasterKey.end(), masterKeyBytes, masterKeyBytes + masterKeyLen); in initMasterKey()
68 …anCredential::initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyLen) in initMasterKey() argument
70 return LowpanCredential::initMasterKey(out, masterKeyBytes, masterKeyLen, 0); in initMasterKey()
95 bool LowpanCredential::getMasterKey(const uint8_t** masterKey, int* masterKeyLen) const { in getMasterKey()
100 if (masterKeyLen) { in getMasterKey()
101 *masterKeyLen = mMasterKey.size(); in getMasterKey()
/frameworks/opt/net/lowpan/libandroid_net_lowpan/include/android/net/lowpan/
DLowpanCredential.h44 …itMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyLen, int32_t master…
45 …tic status_t initMasterKey(LowpanCredential& out, const uint8_t* masterKeyBytes, int masterKeyLen);
49 bool getMasterKey(const uint8_t** masterKey, int* masterKeyLen)const;