Lines Matching refs:seed
411 /* b. Concatenate the hash of the seed z and c to the octet string T:
437 uint8_t *seed;
510 * Generate a random octet string seed of length hLen
512 seed = gcry_random_bytes(hlen, GCRY_STRONG_RANDOM);
513 if (!seed)
515 DPRINTF(E_LOG, L_RAOP, "Could not allocate memory for OAEP seed\n");
522 * Let dbMask = MGF(seed, emLen-hLen).
524 ret = raop_crypt_mgf1(db_mask, emlen_max - hlen, seed, hlen, GCRY_MD_SHA1);
542 * Let maskedSeed = seed \xor seedMask.
545 seed[i] ^= seed_mask[i];
551 memcpy(em + 1, seed, hlen);
561 free(seed);