/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);
|
/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...] |
/hardware/qcom/keymaster/ |
keymaster_qcom.h | 77 * (by secure app) is in shared buffer at offset of "key_blob" and is opaque 92 * (by secure app) is in shared buffer at offset of "key_blob" and is opaque 95 * key_blob : key blob data 101 qcom_km_key_blob_t key_blob; member in struct:keymaster_gen_keypair_resp 112 * "key_blob" and is opaque 127 * (by secure app) is in shared buffer at offset of "key_blob" and is opaque 130 * key_blob : key blob data 136 qcom_km_key_blob_t key_blob; member in struct:keymaster_import_keypair_resp 149 * key_blob : Key data information (in shared buffer) 156 qcom_km_key_blob_t key_blob; member in struct:keymaster_sign_data_cmd 195 qcom_km_key_blob_t key_blob; member in struct:keymaster_verify_data_cmd [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_cryptoapi.c | 164 } key_blob; local 167 key_blob.hdr.bType = PLAINTEXTKEYBLOB; 168 key_blob.hdr.bVersion = CUR_BLOB_VERSION; 169 key_blob.hdr.reserved = 0; 170 key_blob.hdr.aiKeyAlg = CALG_DES; 171 key_blob.len = 8; 177 key_blob.key[i] = (tmp >> i) | next | 1; 180 key_blob.key[i] = next | 1; 189 if (!CryptImportKey(prov, (BYTE *) &key_blob, sizeof(key_blob), 0, 0 243 } key_blob; local 361 } key_blob; local 516 } key_blob; local [all...] |
/hardware/libhardware/tests/keymaster/ |
keymaster_test.cpp | 357 uint8_t* key_blob; local 361 sDevice->generate_keypair(sDevice, key_type, ¶ms, &key_blob, &key_blob_length)) 363 UniqueKey key(&sDevice, key_blob, key_blob_length); 368 sDevice->get_keypair_public(sDevice, key_blob, key_blob_length, 400 uint8_t* key_blob; local 404 sDevice->generate_keypair(sDevice, key_type, NULL, &key_blob, &key_blob_length)) 411 uint8_t* key_blob; local 415 sDevice->generate_keypair(sDevice, key_type, NULL, &key_blob, &key_blob_length)) 420 uint8_t* key_blob; local 425 &key_blob, &key_blob_length) 456 uint8_t* key_blob; local 466 uint8_t* key_blob; local 476 uint8_t* key_blob; local 498 uint8_t* key_blob; local 511 uint8_t* key_blob; local 530 uint8_t* key_blob; local 544 uint8_t* key_blob; local 660 uint8_t* key_blob; local 700 uint8_t* key_blob; local 750 uint8_t* key_blob; local 778 uint8_t* key_blob; local 809 uint8_t* key_blob; local 840 uint8_t* key_blob; local 884 uint8_t* key_blob; local 909 uint8_t* key_blob; local [all...] |
/external/openssh/ |
monitor.c | 196 static u_char *key_blob = NULL; variable 618 if (key_blob == NULL || key_bloblen != bloblen || 619 timingsafe_bcmp(key_blob, blob, key_bloblen)) 628 if (key_blob != NULL) 629 xfree(key_blob); 634 key_blob = NULL; 1179 key_blob = blob; [all...] |