Lines Matching refs:priv
259 static int ecx_set_priv_key(EVP_PKEY *pkey, const unsigned char *priv, in ecx_set_priv_key() argument
268 ecx = ossl_ecx_key_op(NULL, priv, len, pkey->ameth->pkey_id, in ecx_set_priv_key()
296 static int ecx_get_priv_key(const EVP_PKEY *pkey, unsigned char *priv, in ecx_get_priv_key() argument
301 if (priv == NULL) { in ecx_get_priv_key()
312 memcpy(priv, key->privkey, *len); in ecx_get_priv_key()
1195 unsigned char priv[32]; in s390x_pkey_ecd_digestsign25519() member
1218 memcpy(param.ed25519.priv, edkey->privkey, sizeof(param.ed25519.priv)); in s390x_pkey_ecd_digestsign25519()
1221 OPENSSL_cleanse(param.ed25519.priv, sizeof(param.ed25519.priv)); in s390x_pkey_ecd_digestsign25519()
1240 unsigned char priv[64]; in s390x_pkey_ecd_digestsign448() member
1263 memcpy(param.ed448.priv + 64 - 57, edkey->privkey, 57); in s390x_pkey_ecd_digestsign448()
1266 OPENSSL_cleanse(param.ed448.priv, sizeof(param.ed448.priv)); in s390x_pkey_ecd_digestsign448()