FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/curve25519.c
/* curve25519 key pair export (Big or Little endian)
 * return 0 on success */
curve25519 key pair export (Big or Little endian)
return 0 on success
curve25519 key pair export ( Big or Little endian ) return 0 on success
int wc_curve25519_export_key_raw_ex(curve25519_key* key,
                                    byte* priv, word32 *privSz,
                                    byte* pub, word32 *pubSz,
                                    int endian)
{
    int ret;
    ret = wc_curve25519_export_private_raw_ex(key, priv, privSz, endian);
    if (ret != 0)
        return ret;
    return wc_curve25519_export_public_ex(key, pub, pubSz, endian);
}
int wc_curve25519_export_key_raw_ex ( curve25519_key * key , byte * priv , word32 * privSz , byte * pub , word32 * pubSz , int endian ) { int ret ; ret = wc_curve25519_export_private_raw_ex ( key , priv , privSz , endian ) ; if ( ret != 0 ) return ret ; return wc_curve25519_export_public_ex ( key , pub , pubSz , endian ) ; }
curve25519 key pair export (Big or Little endian)
 return 0 on success
curve25519 key pair export ( Big or Little endian ) return 0 on success
/* export private part */ /* export public part */