Lines Matching full:hash

124  *   - When verifying PKCS#1 v1.5 signatures, both variants of the hash
241 * - The encoded OID for the hash function. The provided array must begin
244 * also be `NULL`, in which case the raw hash value should be used
246 * to TLS-1.1, with a 36-byte hash value).
248 * - The hash output length, in bytes.
252 * - An output buffer for the hash value. The caller must still compare
253 * it with the hash of the data over which the signature is computed.
257 * - Hash length MUST be no more than 64 bytes.
273 * \param hash_oid encoded hash algorithm OID (or `NULL`).
274 * \param hash_len expected hash value length (in bytes).
276 * \param hash_out output buffer for the hash value.
290 * - The hash function which was used to hash the message.
292 * - The hash function to use with MGF1 within the PSS padding. This
293 * is not necessarily the same hash function as the one which was
294 * used to hash the signed message.
304 * - Hash message length MUST be no more than 64 bytes.
306 * Note that, contrary to PKCS#1 v1.5 signature, the hash value of the
321 * \param hf_data hash function applied on the message.
322 * \param hf_mgf1 hash function to use with MGF1.
323 * \param hash hash value of the signed message.
330 const void *hash, size_t salt_len, const br_rsa_public_key *pk);
339 * - A hash function, used internally with the mask generation function
366 * \param dig hash function to use with MGF1.
404 * - The encoded OID for the hash function. The provided array must begin
407 * also be `NULL`, in which case the raw hash value should be used
409 * to TLS-1.1, with a 36-byte hash value).
411 * - The hash value computes over the data to sign (its length is
419 * a too small modulus for the provided hash OID and value, or some
427 * \param hash_oid encoded hash algorithm OID (or `NULL`).
428 * \param hash hash value.
429 * \param hash_len hash value length (in bytes).
435 const unsigned char *hash, size_t hash_len,
448 * - The hash function which was used to hash the message.
450 * - The hash function to use with MGF1 within the PSS padding. This
451 * is not necessarily the same function as the one used to hash the
463 * a too small modulus for the provided hash and salt lengths, or some
472 * \param hf_data hash function used to hash the signed data.
473 * \param hf_mgf1 hash function to use with MGF1.
474 * \param hash hashed message.
520 * - A hash function, used internally with the mask generation function
540 * OAEP padding, at least until the leading byte and hash value have
544 * \param dig hash function to use with MGF1.
582 * \param hash_oid encoded hash algorithm OID (or `NULL`).
583 * \param hash_len expected hash value length (in bytes).
585 * \param hash_out output buffer for the hash value.
599 * \param hf_data hash function applied on the message.
600 * \param hf_mgf1 hash function to use with MGF1.
601 * \param hash hash value of the signed message.
608 const void *hash, size_t salt_len, const br_rsa_public_key *pk);
627 * \param hash_oid encoded hash algorithm OID (or `NULL`).
628 * \param hash hash value.
629 * \param hash_len hash value length (in bytes).
631 * \param x output buffer for the hash value.
635 const unsigned char *hash, size_t hash_len,
644 * \param hf_data hash function used to hash the signed data.
645 * \param hf_mgf1 hash function to use with MGF1.
646 * \param hash hashed message.
683 * \param hash_oid encoded hash algorithm OID (or `NULL`).
684 * \param hash_len expected hash value length (in bytes).
686 * \param hash_out output buffer for the hash value.
700 * \param hf_data hash function applied on the message.
701 * \param hf_mgf1 hash function to use with MGF1.
702 * \param hash hash value of the signed message.
709 const void *hash, size_t salt_len, const br_rsa_public_key *pk);
728 * \param hash_oid encoded hash algorithm OID (or `NULL`).
729 * \param hash hash value.
730 * \param hash_len hash value length (in bytes).
732 * \param x output buffer for the hash value.
736 const unsigned char *hash, size_t hash_len,
745 * \param hf_data hash function used to hash the signed data.
746 * \param hf_mgf1 hash function to use with MGF1.
747 * \param hash hashed message.
792 * \param hash_oid encoded hash algorithm OID (or `NULL`).
793 * \param hash_len expected hash value length (in bytes).
795 * \param hash_out output buffer for the hash value.
813 * \param hf_data hash function applied on the message.
814 * \param hf_mgf1 hash function to use with MGF1.
815 * \param hash hash value of the signed message.
822 const void *hash, size_t salt_len, const br_rsa_public_key *pk);
849 * \param hash_oid encoded hash algorithm OID (or `NULL`).
850 * \param hash hash value.
851 * \param hash_len hash value length (in bytes).
853 * \param x output buffer for the hash value.
857 const unsigned char *hash, size_t hash_len,
870 * \param hf_data hash function used to hash the signed data.
871 * \param hf_mgf1 hash function to use with MGF1.
872 * \param hash hashed message.
973 * \param hash_oid encoded hash algorithm OID (or `NULL`).
974 * \param hash_len expected hash value length (in bytes).
976 * \param hash_out output buffer for the hash value.
990 * \param hf_data hash function applied on the message.
991 * \param hf_mgf1 hash function to use with MGF1.
992 * \param hash hash value of the signed message.
999 const void *hash, size_t salt_len, const br_rsa_public_key *pk);
1018 * \param hash_oid encoded hash algorithm OID (or `NULL`).
1019 * \param hash hash value.
1020 * \param hash_len hash value length (in bytes).
1022 * \param x output buffer for the hash value.
1026 const unsigned char *hash, size_t hash_len,
1035 * \param hf_data hash function used to hash the signed data.
1036 * \param hf_mgf1 hash function to use with MGF1.
1037 * \param hash hashed message.
1164 * \param dig hash function to use with MGF1.
1186 * \param dig hash function to use with MGF1.
1204 * \param dig hash function to use with MGF1.
1226 * \param dig hash function to use with MGF1.
1244 * \param dig hash function to use with MGF1.
1266 * \param dig hash function to use with MGF1.
1288 * \param dig hash function to use with MGF1.
1314 * \param dig hash function to use with MGF1.