Home | History | Annotate | Download | only in vold

Lines Matching refs:encrypted_master_key

475                               unsigned char *encrypted_master_key)
492 if (! EVP_EncryptUpdate(&e_ctx, encrypted_master_key, &encrypted_len,
497 if (! EVP_EncryptFinal(&e_ctx, encrypted_master_key + encrypted_len, &final_len)) {
511 unsigned char *encrypted_master_key,
528 encrypted_master_key, KEY_LEN_BYTES)) {
726 unsigned char encrypted_master_key[32];
745 if (get_crypt_ftr_and_key(real_blkdev, &crypt_ftr, encrypted_master_key, salt)) {
764 unsigned char encrypted_master_key[32], decrypted_master_key[32];
787 if (get_crypt_ftr_and_key(real_blkdev, &crypt_ftr, encrypted_master_key, salt)) {
796 decrypt_master_key(passwd, salt, encrypted_master_key, decrypted_master_key);
923 unsigned char encrypted_master_key[32], decrypted_master_key[32];
953 if (get_crypt_ftr_and_key(real_blkdev, &crypt_ftr, encrypted_master_key, salt)) {
962 decrypt_master_key(passwd, salt, encrypted_master_key, decrypted_master_key);
1416 unsigned char encrypted_master_key[KEY_LEN_BYTES], decrypted_master_key[KEY_LEN_BYTES];
1433 if (get_crypt_ftr_and_key(real_blkdev, &crypt_ftr, encrypted_master_key, salt)) {
1438 encrypt_master_key(newpw, salt, saved_master_key, encrypted_master_key);
1441 put_crypt_ftr_and_key(real_blkdev, &crypt_ftr, encrypted_master_key, salt);