FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/evp.c
/* return of pkey->type which will be EVP_PKEY_RSA for example.
 *
 * type  type of EVP_PKEY
 *
 * returns type or if type is not found then NID_undef
 */
return of pkey->type which will be EVP_PKEY_RSA for example.
type  type of EVP_PKEY

returns type or if type is not found then NID_undef
return of pkey - > type which will be EVP_PKEY_RSA for example . type type of EVP_PKEY returns type or if type is not found then NID_undef
int wolfSSL_EVP_PKEY_type(int type)
{
    WOLFSSL_MSG("wolfSSL_EVP_PKEY_type");
    switch (type) {
        case EVP_PKEY_RSA:
            return EVP_PKEY_RSA;
        case EVP_PKEY_DSA:
            return EVP_PKEY_DSA;
        case EVP_PKEY_EC:
            return EVP_PKEY_EC;
        case EVP_PKEY_DH:
            return EVP_PKEY_DH;
        default:
            return NID_undef;
    }
}
int wolfSSL_EVP_PKEY_type ( int type ) { WOLFSSL_MSG ( " " ) ; switch ( type ) { case EVP_PKEY_RSA : return EVP_PKEY_RSA ; case EVP_PKEY_DSA : return EVP_PKEY_DSA ; case EVP_PKEY_EC : return EVP_PKEY_EC ; case EVP_PKEY_DH : return EVP_PKEY_DH ; default : return NID_undef ; } }
return of pkey->type which will be EVP_PKEY_RSA for example.
return of pkey - > type which will be EVP_PKEY_RSA for example .