Lines Matching refs:digest

28 - EVP digest routines
38 int EVP_MD_get_params(const EVP_MD *digest, OSSL_PARAM params[]);
39 const OSSL_PARAM *EVP_MD_gettable_params(const EVP_MD *digest);
135 The EVP digest routines are a high-level interface to message digests,
136 and should be used instead of the digest-specific functions.
138 The B<EVP_MD> type is a structure for digest method implementation.
144 Fetches the digest implementation for the given I<algorithm> from any
164 Allocates and returns a digest context.
168 Resets the digest context I<ctx>. This can be used to reuse an already
173 Cleans up digest context I<ctx> and frees up the space allocated to it.
182 Performs digest-specific control actions on context I<ctx>. The control command
185 may apply depending on the control type and digest implementation.
235 =item EVP_Q_digest() is a quick one-shot digest function.
237 It hashes I<datalen> bytes of data at I<data> using the digest algorithm
239 The digest value is placed in I<md> and its length is written at I<mdlen>
245 Hashes I<count> bytes of data at I<data> using a digest I<type> from ENGINE
246 I<impl>. The digest value is placed in I<md> and its length is written at I<size>
248 If I<impl> is NULL the default implementation of digest I<type> is used.
252 Sets up digest context I<ctx> to use a digest I<type>.
264 Sets up digest context I<ctx> to use a digest I<type>.
268 If I<impl> is non-NULL, its implementation of the digest I<type> is used if
277 Hashes I<cnt> bytes of data at I<d> into the digest context I<ctx>. This
283 Retrieves the digest value from I<ctx> and places it in I<md>. If the I<s>
285 length of the digest) will be written to the integer at I<s>, at most
288 EVP_DigestInit_ex2() can be called to initialize a new digest operation.
293 It retrieves the digest value from I<ctx> and places it in I<len>-sized I<md>.
299 Can be used to copy the message digest state from I<in> to I<out>. This is
311 Similar to EVP_DigestFinal_ex() except after computing the digest
312 the digest context I<ctx> is automatically cleaned up with EVP_MD_CTX_reset().
324 If I<md> is a legacy digest (it's the return value from the likes of
332 Return the name of the given message digest. For fetched message
343 Returns a description of the digest, meant for display and human consumption.
344 The description is at the discretion of the digest implementation.
354 Return the size of the message digest when passed an B<EVP_MD> or an
360 Return the block size of the message digest when passed an B<EVP_MD> or an
366 Return the NID of the OBJECT IDENTIFIER representing the given message digest
372 Return the digest method private data for the passed B<EVP_MD_CTX>.
406 digest. For example EVP_sha1() is associated with RSA so this will return
412 A "null" message digest that does nothing: i.e. the hash it returns is of zero
419 Returns an B<EVP_MD> structure when passed a digest name, a digest B<NID> or an
429 When the digest objects returned by these functions are used (such as in a call
430 to EVP_DigestInit_ex()) an implementation of the digest will be implicitly
437 The digest objects returned from these functions do not need to be freed with
473 Sets the digest length for extendable output functions.
490 Gets the digest Message Integrity Check algorithm string. This is used when
504 Gets the digest Message Integrity Check algorithm string. This is used when
513 This control sets the digest length for extendable output functions to I<p1>.
532 This flag instructs the digest to optimize for one update only, if possible.
614 Returns the digest or block size in bytes or -1 for failure.
618 Returns a pointer to the B<EVP_MD> structure of the "null" message digest.
641 transparent to the digest used and much more flexible.
644 digest algorithms (such as L<EVP_sha3_512(3)>). The other digest algorithms
648 set to NULL to use the default digest implementation.
660 EVP_MD_CTX_copy_ex() because they can efficiently reuse a digest context
664 If digest contexts are not cleaned up after use,
677 digest name passed on the command line.
699 printf("Unknown message digest %s\n", argv[1]);
705 printf("Message digest initialization failed.\n");
710 printf("Message digest update failed.\n");
715 printf("Message digest update failed.\n");
720 printf("Message digest finalization failed.\n");
743 L<provider-digest(7)>,
744 L<life_cycle-digest(7)>
746 The full list of digest algorithms are provided below.