Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp266 constexpr size_t INTERMEDIATE_KEY_LEN_BYTES = 16; variable
268 constexpr size_t INTERMEDIATE_BUF_SIZE = (INTERMEDIATE_KEY_LEN_BYTES + INTERMEDIATE_IV_LEN_BYTES);
1340 ikey + INTERMEDIATE_KEY_LEN_BYTES)) { in encrypt_master_key()
1371 rc = crypto_scrypt(ikey, INTERMEDIATE_KEY_LEN_BYTES, crypt_ftr->salt, sizeof(crypt_ftr->salt), in encrypt_master_key()
1403 ikey + INTERMEDIATE_KEY_LEN_BYTES)) { in decrypt_master_key_aux()
1422 *intermediate_key = (unsigned char*)malloc(INTERMEDIATE_KEY_LEN_BYTES); in decrypt_master_key_aux()
1424 memcpy(*intermediate_key, ikey, INTERMEDIATE_KEY_LEN_BYTES); in decrypt_master_key_aux()
1425 *intermediate_key_size = INTERMEDIATE_KEY_LEN_BYTES; in decrypt_master_key_aux()