mbedTLS + 0/1 examples
SourceVu will show references to mbedtls_cipher_set_iv() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedExamplesReferencesCall TreeData Use

Return value

\c 0 on success. #MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA on parameter-verification failure.

Notes

Some ciphers do not use IVs nor nonce. For these ciphers, this function has no effect. For #MBEDTLS_CIPHER_CHACHA20, the nonce length must be 12, and the initial counter value is 0. For #MBEDTLS_CIPHER_CHACHA20_POLY1305, the nonce length must be 12.

References

from 0/1 examples