1
1
镜像自地址 https://github.com/henrydcase/pqc.git 已同步 2024-11-22 07:35:38 +00:00

negative return code

这个提交包含在:
John M. Schanck 2020-09-14 13:19:20 -04:00 提交者 Kris Kwiatkowski
父节点 2f05de259d
当前提交 84005fd23a
共有 12 个文件被更改,包括 12 次插入12 次删除

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQC128_AVX2_crypto_kem_dec(unsigned char *ss, const unsigned char *c
}
return result & 1;
return -(result & 1);
}

查看文件

@ -140,5 +140,5 @@ int PQCLEAN_HQC128_CLEAN_crypto_kem_dec(unsigned char *ss, const unsigned char *
}
return result & 1;
return -(result & 1);
}

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQC192_AVX2_crypto_kem_dec(unsigned char *ss, const unsigned char *c
}
return result & 1;
return -(result & 1);
}

查看文件

@ -140,5 +140,5 @@ int PQCLEAN_HQC192_CLEAN_crypto_kem_dec(unsigned char *ss, const unsigned char *
}
return result & 1;
return -(result & 1);
}

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQC256_AVX2_crypto_kem_dec(unsigned char *ss, const unsigned char *c
}
return result & 1;
return -(result & 1);
}

查看文件

@ -140,5 +140,5 @@ int PQCLEAN_HQC256_CLEAN_crypto_kem_dec(unsigned char *ss, const unsigned char *
}
return result & 1;
return -(result & 1);
}

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQCRMRS128_AVX2_crypto_kem_dec(unsigned char *ss, const unsigned cha
}
return result & 1;
return -(result & 1);
}

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQCRMRS128_CLEAN_crypto_kem_dec(unsigned char *ss, const unsigned ch
}
return result & 1;
return -(result & 1);
}

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQCRMRS192_AVX2_crypto_kem_dec(unsigned char *ss, const unsigned cha
}
return result & 1;
return -(result & 1);
}

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQCRMRS192_CLEAN_crypto_kem_dec(unsigned char *ss, const unsigned ch
}
return result & 1;
return -(result & 1);
}

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQCRMRS256_AVX2_crypto_kem_dec(unsigned char *ss, const unsigned cha
}
return result & 1;
return -(result & 1);
}

查看文件

@ -136,5 +136,5 @@ int PQCLEAN_HQCRMRS256_CLEAN_crypto_kem_dec(unsigned char *ss, const unsigned ch
}
return result & 1;
return -(result & 1);
}