Lines Matching defs:ecx
29 #include "crypto/ecx.h" /* ECX_KEY, etc... */
570 const ECX_KEY *ecx = key;
573 if (out == NULL || ecx == NULL) {
579 if (ecx->privkey == NULL) {
584 switch (ecx->type) {
599 /* ecx->pubkey is an array, not a pointer... */
600 if (!ecx->haspubkey) {
605 switch (ecx->type) {
624 && !print_labeled_buf(out, "priv:", ecx->privkey, ecx->keylen))
627 && !print_labeled_buf(out, "pub:", ecx->pubkey, ecx->keylen))
883 MAKE_TEXT_ENCODER(ed25519, ecx);
884 MAKE_TEXT_ENCODER(ed448, ecx);
885 MAKE_TEXT_ENCODER(x25519, ecx);
886 MAKE_TEXT_ENCODER(x448, ecx);