Searched refs:KEY_LEN_BYTES (Results 1 – 1 of 1) sorted by relevance
/system/vold/ |
D | cryptfs.cpp | 75 #define KEY_LEN_BYTES 16 macro 99 static unsigned char saved_master_key[KEY_LEN_BYTES]; 1008 HASH_COUNT, KEY_LEN_BYTES + IV_LEN_BYTES, in pbkdf2() 1027 KEY_LEN_BYTES + IV_LEN_BYTES); in scrypt() 1048 KEY_LEN_BYTES + IV_LEN_BYTES); in scrypt_keymaster() 1055 if (keymaster_sign_object(ftr, ikey, KEY_LEN_BYTES + IV_LEN_BYTES, in scrypt_keymaster() 1062 N, r, p, ikey, KEY_LEN_BYTES + IV_LEN_BYTES); in scrypt_keymaster() 1113 if (! EVP_EncryptInit_ex(&e_ctx, EVP_aes_128_cbc(), NULL, ikey, ikey+KEY_LEN_BYTES)) { in encrypt_master_key() 1121 decrypted_master_key, KEY_LEN_BYTES)) { in encrypt_master_key() 1130 if (encrypted_len + final_len != KEY_LEN_BYTES) { in encrypt_master_key() [all …]
|