Lines Matching refs:param
1057 } param; in s390x_ed25519_digestsign() local
1059 memset(¶m, 0, sizeof(param)); in s390x_ed25519_digestsign()
1060 memcpy(param.ed25519.priv, edkey->privkey, sizeof(param.ed25519.priv)); in s390x_ed25519_digestsign()
1062 rc = s390x_kdsa(S390X_EDDSA_SIGN_ED25519, ¶m.ed25519, tbs, tbslen); in s390x_ed25519_digestsign()
1063 OPENSSL_cleanse(param.ed25519.priv, sizeof(param.ed25519.priv)); in s390x_ed25519_digestsign()
1067 s390x_flip_endian32(sig, param.ed25519.sig); in s390x_ed25519_digestsign()
1068 s390x_flip_endian32(sig + 32, param.ed25519.sig + 32); in s390x_ed25519_digestsign()
1082 } param; in s390x_ed448_digestsign() local
1084 memset(¶m, 0, sizeof(param)); in s390x_ed448_digestsign()
1085 memcpy(param.ed448.priv + 64 - 57, edkey->privkey, 57); in s390x_ed448_digestsign()
1087 rc = s390x_kdsa(S390X_EDDSA_SIGN_ED448, ¶m.ed448, tbs, tbslen); in s390x_ed448_digestsign()
1088 OPENSSL_cleanse(param.ed448.priv, sizeof(param.ed448.priv)); in s390x_ed448_digestsign()
1092 s390x_flip_endian64(param.ed448.sig, param.ed448.sig); in s390x_ed448_digestsign()
1093 s390x_flip_endian64(param.ed448.sig + 64, param.ed448.sig + 64); in s390x_ed448_digestsign()
1094 memcpy(sig, param.ed448.sig, 57); in s390x_ed448_digestsign()
1095 memcpy(sig + 57, param.ed448.sig + 64, 57); in s390x_ed448_digestsign()
1109 } param; in s390x_ed25519_digestverify() local
1111 memset(¶m, 0, sizeof(param)); in s390x_ed25519_digestverify()
1112 s390x_flip_endian32(param.ed25519.sig, sig); in s390x_ed25519_digestverify()
1113 s390x_flip_endian32(param.ed25519.sig + 32, sig + 32); in s390x_ed25519_digestverify()
1114 s390x_flip_endian32(param.ed25519.pub, edkey->pubkey); in s390x_ed25519_digestverify()
1117 ¶m.ed25519, tbs, tbslen) == 0 ? 1 : 0; in s390x_ed25519_digestverify()
1131 } param; in s390x_ed448_digestverify() local
1133 memset(¶m, 0, sizeof(param)); in s390x_ed448_digestverify()
1134 memcpy(param.ed448.sig, sig, 57); in s390x_ed448_digestverify()
1135 s390x_flip_endian64(param.ed448.sig, param.ed448.sig); in s390x_ed448_digestverify()
1136 memcpy(param.ed448.sig + 64, sig + 57, 57); in s390x_ed448_digestverify()
1137 s390x_flip_endian64(param.ed448.sig + 64, param.ed448.sig + 64); in s390x_ed448_digestverify()
1138 memcpy(param.ed448.pub, edkey->pubkey, 57); in s390x_ed448_digestverify()
1139 s390x_flip_endian64(param.ed448.pub, param.ed448.pub); in s390x_ed448_digestverify()
1142 ¶m.ed448, tbs, tbslen) == 0 ? 1 : 0; in s390x_ed448_digestverify()