



@deftypefun {int} {gnutls_pubkey_import_mldsa_raw} (gnutls_pubkey_t @var{key}, gnutls_pk_algorithm_t @var{algo}, const gnutls_datum_t * @var{pub})
@var{key}: The structure to store the parsed key

@var{algo}: one of @code{GNUTLS_PK_MLDSA44} , @code{GNUTLS_PK_MLDSA65} , or @code{GNUTLS_PK_MLDSA87} 

@var{pub}: holds the raw public key

This function will convert the given raw ML-DSA public key (FIPS 204
public key encoding) to a @code{gnutls_pubkey_t} .  The output will be
stored in  @code{key} .   @code{pub} must have the length required by  @code{algo} (1312, 1952, or 2592 octets respectively).

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.

@strong{Since:} 3.8.14
@end deftypefun
