File: 0004-expand_message_xmd.patch

package info (click to toggle)
libopaque 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,064 kB
  • sloc: ansic: 7,701; python: 570; javascript: 379; makefile: 269; java: 195; php: 181; erlang: 121; ruby: 61; sh: 12
file content (11 lines) | stat: -rw-r--r-- 516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/src/opaque.c,	2025-02-23 17:32:09.000000000 +0000
+++ b/src/opaque.c	2025-10-25 12:01:16.489632548 +0000
@@ -130,7 +130,7 @@
   if(0!=sodium_mlock(uniform_bytes,sizeof uniform_bytes)) {
     return -1;
   }
-  if(0!=expand_message_xmd(msg, msg_len, dst, dst_len, crypto_core_ristretto255_HASHBYTES, uniform_bytes)) {
+  if(0!=oprf_expand_message_xmd(msg, msg_len, dst, dst_len, crypto_core_ristretto255_HASHBYTES, uniform_bytes)) {
     sodium_munlock(uniform_bytes,sizeof uniform_bytes);
     return -1;
   }