mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	Integrate CLSAGs into monero
They are allowed from v12, and MLSAGs are rejected from v13.
This commit is contained in:
		
							parent
							
								
									8cd1d6df8f
								
							
						
					
					
						commit
						82ee01699c
					
				
					 31 changed files with 1083 additions and 195 deletions
				
			
		| 
						 | 
				
			
			@ -60,7 +60,7 @@ public:
 | 
			
		|||
    P[l] = rct::scalarmultBase(p);
 | 
			
		||||
    C[l] = rct::scalarmultBase(z);
 | 
			
		||||
    
 | 
			
		||||
    sig = CLSAG_Gen(rct::identity(),P,p,C,z,l,NULL);
 | 
			
		||||
    sig = CLSAG_Gen(rct::identity(),P,p,C,z,l);
 | 
			
		||||
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			@ -70,7 +70,7 @@ public:
 | 
			
		|||
    if (ver)
 | 
			
		||||
      return CLSAG_Ver(rct::identity(),P,C,sig);
 | 
			
		||||
    else
 | 
			
		||||
      CLSAG_Gen(rct::identity(),P,p,C,z,l,NULL);
 | 
			
		||||
      CLSAG_Gen(rct::identity(),P,p,C,z,l);
 | 
			
		||||
    return true;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue