mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Define ASN1 bitmask macros in more direct way
This commit is contained in:
		
							parent
							
								
									72705c906c
								
							
						
					
					
						commit
						7786abc16b
					
				@ -99,9 +99,9 @@
 | 
				
			|||||||
 *     | Class | P/C | Tag number |
 | 
					 *     | Class | P/C | Tag number |
 | 
				
			||||||
 *     +-------+-----+------------+
 | 
					 *     +-------+-----+------------+
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#define MBEDTLS_ASN1_TAG_CLASS_MASK          ( 0x03 << 6 )
 | 
					#define MBEDTLS_ASN1_TAG_CLASS_MASK          0xC0
 | 
				
			||||||
#define MBEDTLS_ASN1_TAG_PC_MASK             ( 0x01 << 5 )
 | 
					#define MBEDTLS_ASN1_TAG_PC_MASK             0x20
 | 
				
			||||||
#define MBEDTLS_ASN1_TAG_VALUE_MASK          ( 0x1F << 0 )
 | 
					#define MBEDTLS_ASN1_TAG_VALUE_MASK          0x1F
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* \} name */
 | 
					/* \} name */
 | 
				
			||||||
/* \} addtogroup asn1_module */
 | 
					/* \} addtogroup asn1_module */
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user