[Mac] Change uint8_t* to Vector<uint8_t> type in all crypto algorithm implementation