Return codes
The current libica functions use the standard Linux® return codes listed in this topic.
- 0
- Success
- EFAULT
- The message authentication (for GCM) or the signature verification (for ECDSA), or the RSA key generation (via OpenSSL) failed.
- EINVAL
- Incorrect parameter
- EIO
- I/O error
- EPERM
- Operation not permitted by hardware or software restrictions.
- ENODEV
- No such device
- ENOMEM
- Not enough memory
- errno
- When libica calls open, close, begin_sigill_section, the error codes of these programs are returned.