Home | History | Annotate | Download | only in keystore

Lines Matching full:salt

838         // we read the raw blob to just to get the salt to generate
845 // find salt at EOF if present, otherwise we have an old file
846 uint8_t* salt;
848 salt = (uint8_t*) &rawBlob + length - SALT_SIZE;
850 salt = NULL;
853 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, salt);
863 // if salt was missing, generate one and write a new master key file with the salt.
864 if (salt == NULL) {
930 uint8_t* salt) {
932 if (salt != NULL) {
935 // pre-gingerbread used this hardwired salt, readMasterKey will rewrite these when found
936 salt = (uint8_t*) "keystore";
941 PKCS5_PBKDF2_HMAC_SHA1(reinterpret_cast<const char*>(pw.string()), pw.length(), salt,