add API to get hash descriptor am: b510d2bff3 am: a17c2436e4

Change-Id: Ic5ac229d8eeebae72e71f598c9e819dd12721b8d