/external/wpa_supplicant/ |
crypto_cryptoapi.c | 187 } key_blob; local 190 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 191 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 192 key_blob.hdr.reserved = 0; 193 key_blob.hdr.aiKeyAlg = CALG_DES; 194 key_blob.len = 8; 200 key_blob.key[i] = (tmp >> i) | next | 1; 203 key_blob.key[i] = next | 1; 212 if (!CryptImportKey(prov, (BYTE *) &key_blob, sizeof(key_blob), 0, 0 267 } key_blob; local 386 } key_blob; local 541 } key_blob; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_cryptoapi.c | 172 } key_blob; local 175 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 176 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 177 key_blob.hdr.reserved = 0; 178 key_blob.hdr.aiKeyAlg = CALG_DES; 179 key_blob.len = 8; 185 key_blob.key[i] = (tmp >> i) | next | 1; 188 key_blob.key[i] = next | 1; 197 if (!CryptImportKey(prov, (BYTE *) &key_blob, sizeof(key_blob), 0, 0 252 } key_blob; local 371 } key_blob; local 526 } key_blob; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_cryptoapi.c | 170 } key_blob; local 173 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 174 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 175 key_blob.hdr.reserved = 0; 176 key_blob.hdr.aiKeyAlg = CALG_DES; 177 key_blob.len = 8; 183 key_blob.key[i] = (tmp >> i) | next | 1; 186 key_blob.key[i] = next | 1; 195 if (!CryptImportKey(prov, (BYTE *) &key_blob, sizeof(key_blob), 0, 0 249 } key_blob; local 367 } key_blob; local 522 } key_blob; local [all...] |
/external/chromium/net/http/ |
des.cc | 186 KeyBlob key_blob; local 187 key_blob.header.bType = PLAINTEXTKEYBLOB; 188 key_blob.header.bVersion = CUR_BLOB_VERSION; 189 key_blob.header.reserved = 0; 190 key_blob.header.aiKeyAlg = CALG_DES; 191 key_blob.key_size = 8; // 64 bits 192 memcpy(key_blob.key_data, key, 8); 196 reinterpret_cast<BYTE*>(&key_blob), 197 sizeof key_blob, 0, 0, key.receive()); 199 SecureZeroMemory(key_blob.key_data, sizeof key_blob.key_data) [all...] |
/external/chromium/crypto/ |
hmac_win.cc | 133 KeyBlob* key_blob = reinterpret_cast<KeyBlob*>(&key_blob_storage[0]); local 134 key_blob->header.bType = PLAINTEXTKEYBLOB; 135 key_blob->header.bVersion = CUR_BLOB_VERSION; 136 key_blob->header.reserved = 0; 137 key_blob->header.aiKeyAlg = CALG_RC2; 138 key_blob->key_size = key_length; 139 memcpy(key_blob->key_data, key, key_length); 149 SecureZeroMemory(key_blob->key_data, key_length);
|