Lines Matching refs:pubkey
158 const unsigned char *pa = key1->haspubkey ? key1->pubkey : NULL;
159 const unsigned char *pb = key2->haspubkey ? key2->pubkey : NULL;
217 key->pubkey, key->keylen))
296 if (!OSSL_PARAM_set_octet_string(p, ecx->pubkey, ecx->keylen))
402 void *buf = ecxkey->pubkey;
405 || !OSSL_PARAM_get_octet_string(p, &buf, sizeof(ecxkey->pubkey),
604 ossl_x25519_public_from_private(key->pubkey, privkey);
609 ossl_x448_public_from_private(key->pubkey, privkey);
612 if (!ossl_ed25519_public_from_private(gctx->libctx, key->pubkey, privkey,
617 if (!ossl_ed448_public_from_private(gctx->libctx, key->pubkey, privkey,
743 return CRYPTO_memcmp(ecx->pubkey, pub, ecx->keylen) == 0;
837 unsigned char *privkey = NULL, *pubkey;
848 pubkey = key->pubkey;
863 if (s390x_x25519_mul(pubkey, generator, privkey) != 1)
883 unsigned char *privkey = NULL, *pubkey;
894 pubkey = key->pubkey;
908 if (s390x_x448_mul(pubkey, generator, privkey) != 1)
932 unsigned char *privkey = NULL, *pubkey;
946 pubkey = key->pubkey;
969 if (s390x_ed25519_mul(x_dst, pubkey,
973 pubkey[31] |= ((x_dst[0] & 0x01) << 7);
1000 unsigned char *privkey = NULL, *pubkey;
1013 pubkey = key->pubkey;
1041 if (s390x_ed448_mul(x_dst, pubkey,
1045 pubkey[56] |= ((x_dst[0] & 0x01) << 7);