Lines Matching refs:param
1198 } param; in s390x_pkey_ecd_digestsign25519() local
1217 memset(¶m, 0, sizeof(param)); in s390x_pkey_ecd_digestsign25519()
1218 memcpy(param.ed25519.priv, edkey->privkey, sizeof(param.ed25519.priv)); in s390x_pkey_ecd_digestsign25519()
1220 rc = s390x_kdsa(S390X_EDDSA_SIGN_ED25519, ¶m.ed25519, tbs, tbslen); in s390x_pkey_ecd_digestsign25519()
1221 OPENSSL_cleanse(param.ed25519.priv, sizeof(param.ed25519.priv)); in s390x_pkey_ecd_digestsign25519()
1225 s390x_flip_endian32(sig, param.ed25519.sig); in s390x_pkey_ecd_digestsign25519()
1226 s390x_flip_endian32(sig + 32, param.ed25519.sig + 32); in s390x_pkey_ecd_digestsign25519()
1243 } param; in s390x_pkey_ecd_digestsign448() local
1262 memset(¶m, 0, sizeof(param)); in s390x_pkey_ecd_digestsign448()
1263 memcpy(param.ed448.priv + 64 - 57, edkey->privkey, 57); in s390x_pkey_ecd_digestsign448()
1265 rc = s390x_kdsa(S390X_EDDSA_SIGN_ED448, ¶m.ed448, tbs, tbslen); in s390x_pkey_ecd_digestsign448()
1266 OPENSSL_cleanse(param.ed448.priv, sizeof(param.ed448.priv)); in s390x_pkey_ecd_digestsign448()
1270 s390x_flip_endian64(param.ed448.sig, param.ed448.sig); in s390x_pkey_ecd_digestsign448()
1271 s390x_flip_endian64(param.ed448.sig + 64, param.ed448.sig + 64); in s390x_pkey_ecd_digestsign448()
1272 memcpy(sig, param.ed448.sig, 57); in s390x_pkey_ecd_digestsign448()
1273 memcpy(sig + 57, param.ed448.sig + 64, 57); in s390x_pkey_ecd_digestsign448()
1291 } param; in s390x_pkey_ecd_digestverify25519() local
1302 memset(¶m, 0, sizeof(param)); in s390x_pkey_ecd_digestverify25519()
1303 s390x_flip_endian32(param.ed25519.sig, sig); in s390x_pkey_ecd_digestverify25519()
1304 s390x_flip_endian32(param.ed25519.sig + 32, sig + 32); in s390x_pkey_ecd_digestverify25519()
1305 s390x_flip_endian32(param.ed25519.pub, edkey->pubkey); in s390x_pkey_ecd_digestverify25519()
1308 ¶m.ed25519, tbs, tbslen) == 0 ? 1 : 0; in s390x_pkey_ecd_digestverify25519()
1323 } param; in s390x_pkey_ecd_digestverify448() local
1334 memset(¶m, 0, sizeof(param)); in s390x_pkey_ecd_digestverify448()
1335 memcpy(param.ed448.sig, sig, 57); in s390x_pkey_ecd_digestverify448()
1336 s390x_flip_endian64(param.ed448.sig, param.ed448.sig); in s390x_pkey_ecd_digestverify448()
1337 memcpy(param.ed448.sig + 64, sig + 57, 57); in s390x_pkey_ecd_digestverify448()
1338 s390x_flip_endian64(param.ed448.sig + 64, param.ed448.sig + 64); in s390x_pkey_ecd_digestverify448()
1339 memcpy(param.ed448.pub, edkey->pubkey, 57); in s390x_pkey_ecd_digestverify448()
1340 s390x_flip_endian64(param.ed448.pub, param.ed448.pub); in s390x_pkey_ecd_digestverify448()
1343 ¶m.ed448, tbs, tbslen) == 0 ? 1 : 0; in s390x_pkey_ecd_digestverify448()