Searched refs:salt (Results 1 - 6 of 6) sorted by relevance

/u-boot/lib/crypt/
H A Dcrypt-sha256.c33 /* Define our magic string to mark salt for SHA256 "encryption"
40 /* Maximum salt string length. */
52 + salt (up to SALT_LEN_MAX chars) + '$' + hash (43 chars). */
127 const char *salt = setting; local
135 /* Find beginning of salt string. The prefix should normally always
137 if (strncmp (sha256_salt_prefix, salt, sizeof (sha256_salt_prefix) - 1) == 0)
138 /* Skip salt prefix. */
139 salt += sizeof (sha256_salt_prefix) - 1;
141 if (strncmp (salt, sha256_rounds_prefix, sizeof (sha256_rounds_prefix) - 1)
144 const char *num = salt
[all...]
H A Dcrypt-sha512.c33 /* Define our magic string to mark salt for SHA512 "encryption"
40 /* Maximum salt string length. */
52 + salt (up to SALT_LEN_MAX chars) + '$' + hash (86 chars). */
128 const char *salt = setting; local
136 /* Find beginning of salt string. The prefix should normally always
138 if (strncmp (sha512_salt_prefix, salt, sizeof (sha512_salt_prefix) - 1) == 0)
139 /* Skip salt prefix. */
140 salt += sizeof (sha512_salt_prefix) - 1;
142 if (strncmp (salt, sha512_rounds_prefix, sizeof (sha512_rounds_prefix) - 1)
145 const char *num = salt
[all...]
/u-boot/include/u-boot/
H A Dblake2.h70 uint8_t salt[BLAKE2B_SALTBYTES]; /* 48 */
/u-boot/lib/blake2/
H A Dblake2b.c121 memset( P->salt, 0, sizeof( P->salt ) );
145 memset( P->salt, 0, sizeof( P->salt ) );
/u-boot/lib/rsa/
H A Drsa-verify.c168 const uint8_t *salt, int salt_len,
178 region[2].data = salt;
194 * Works with any salt length
197 * Once unmasked, db is a concatenation of : [0x00]* + 0x01 + salt
198 * Length of 0-padding at begin of db depends on salt length.
219 uint8_t *db_nopad = NULL, *salt = NULL; local
283 salt = &db_nopad[1];
288 salt, salt_len, hprime);
165 compute_hash_prime(struct checksum_algo *checksum, const uint8_t *pad, int pad_len, const uint8_t *hash, int hash_len, const uint8_t *salt, int salt_len, uint8_t *hprime) argument
/u-boot/fs/zfs/
H A Dzfs.c731 zap_hash(uint64_t salt, const char *name) argument
736 uint64_t crc = salt;
893 printf("bad ZAP salt\n");

Completed in 110 milliseconds