Changes

Jump to navigation Jump to search
553 bytes added ,  02:46, 13 April 2020
no edit summary
Line 227: Line 227:  
==== SetVerifyOption ====
 
==== SetVerifyOption ====
 
Takes an input u32 [[#VerifyOption]], no output.
 
Takes an input u32 [[#VerifyOption]], no output.
  −
Originally ssl-sysmodule just wrote the input field to state. With newer sysvers there's now validation for the input.
      
==== SetIoMode ====
 
==== SetIoMode ====
Line 421: Line 419:     
= VerifyOption =
 
= VerifyOption =
This is the "nn::ssl::sf::VerifyOption" enum.
+
This is the "nn::ssl::sf::VerifyOption" enum. This is a bitmask.
 +
 
 +
Originally ssl-sysmodule ([[#SetVerifyOption]]) just wrote the input field to state. With newer sysvers there's now validation for the input, with the value written to state masked with 0x3F. When [[#SetInterfaceVersion|InterfaceVersion]] is >=0x2, the low 2-bits of VerifyOption must be set, unless a state flag is set or {bool [[#SetDebugOption|DebugOption]] state flag]} is set, otherwise an error is thrown. Following that, if VerifyOption bit4 is set, then VerifyOption & 0x15 must match 0x15 otherwise an error is thrown.
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Bit
 +
! Description
 +
|-
 +
| 0 ||
 +
|-
 +
| 1 ||
 +
|-
 +
| 2 ||
 +
|-
 +
| 3 ||
 +
|-
 +
| 4 ||
 +
|-
 +
| 5 ||
 +
|}
    
= IoMode =
 
= IoMode =

Navigation menu