FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/evp.c
/* Get the size in bits for WOLFSSL_EVP_PKEY key
 *
 * pkey WOLFSSL_EVP_PKEY structure to get key size of
 *
 * returns the size in bits of key on success
 */
Get the size in bits for WOLFSSL_EVP_PKEY key
pkey WOLFSSL_EVP_PKEY structure to get key size of

returns the size in bits of key on success
Get the size in bits for WOLFSSL_EVP_PKEY key pkey WOLFSSL_EVP_PKEY structure to get key size of returns the size in bits of key on success
int wolfSSL_EVP_PKEY_bits(const WOLFSSL_EVP_PKEY *pkey)
{
    int bytes;
    if (pkey == NULL) return 0;
    WOLFSSL_ENTER("EVP_PKEY_bits");
    if ((bytes = wolfSSL_EVP_PKEY_size((WOLFSSL_EVP_PKEY*)pkey)) ==0) return 0;
    return bytes*8;
}
int wolfSSL_EVP_PKEY_bits ( const WOLFSSL_EVP_PKEY * pkey ) { int bytes ; if ( pkey == NULL ) return 0 ; WOLFSSL_ENTER ( " " ) ; if ( ( bytes = wolfSSL_EVP_PKEY_size ( ( WOLFSSL_EVP_PKEY * ) pkey ) ) == 0 ) return 0 ; return bytes * 8 ; }
Get the size in bits for WOLFSSL_EVP_PKEY key
 pkey WOLFSSL_EVP_PKEY structure to get key size of
Get the size in bits for WOLFSSL_EVP_PKEY key pkey WOLFSSL_EVP_PKEY structure to get key size of