Lines Matching refs:ARIA_VALIDATE_RET

53 #define ARIA_VALIDATE_RET( cond )                                       \  macro
452 ARIA_VALIDATE_RET( ctx != NULL ); in mbedtls_aria_setkey_enc()
453 ARIA_VALIDATE_RET( key != NULL ); in mbedtls_aria_setkey_enc()
508 ARIA_VALIDATE_RET( ctx != NULL ); in mbedtls_aria_setkey_dec()
509 ARIA_VALIDATE_RET( key != NULL ); in mbedtls_aria_setkey_dec()
546 ARIA_VALIDATE_RET( ctx != NULL ); in mbedtls_aria_crypt_ecb()
547 ARIA_VALIDATE_RET( input != NULL ); in mbedtls_aria_crypt_ecb()
548 ARIA_VALIDATE_RET( output != NULL ); in mbedtls_aria_crypt_ecb()
623 ARIA_VALIDATE_RET( ctx != NULL ); in mbedtls_aria_crypt_cbc()
624 ARIA_VALIDATE_RET( mode == MBEDTLS_ARIA_ENCRYPT || in mbedtls_aria_crypt_cbc()
626 ARIA_VALIDATE_RET( length == 0 || input != NULL ); in mbedtls_aria_crypt_cbc()
627 ARIA_VALIDATE_RET( length == 0 || output != NULL ); in mbedtls_aria_crypt_cbc()
628 ARIA_VALIDATE_RET( iv != NULL ); in mbedtls_aria_crypt_cbc()
685 ARIA_VALIDATE_RET( ctx != NULL ); in mbedtls_aria_crypt_cfb128()
686 ARIA_VALIDATE_RET( mode == MBEDTLS_ARIA_ENCRYPT || in mbedtls_aria_crypt_cfb128()
688 ARIA_VALIDATE_RET( length == 0 || input != NULL ); in mbedtls_aria_crypt_cfb128()
689 ARIA_VALIDATE_RET( length == 0 || output != NULL ); in mbedtls_aria_crypt_cfb128()
690 ARIA_VALIDATE_RET( iv != NULL ); in mbedtls_aria_crypt_cfb128()
691 ARIA_VALIDATE_RET( iv_off != NULL ); in mbedtls_aria_crypt_cfb128()
749 ARIA_VALIDATE_RET( ctx != NULL ); in mbedtls_aria_crypt_ctr()
750 ARIA_VALIDATE_RET( length == 0 || input != NULL ); in mbedtls_aria_crypt_ctr()
751 ARIA_VALIDATE_RET( length == 0 || output != NULL ); in mbedtls_aria_crypt_ctr()
752 ARIA_VALIDATE_RET( nonce_counter != NULL ); in mbedtls_aria_crypt_ctr()
753 ARIA_VALIDATE_RET( stream_block != NULL ); in mbedtls_aria_crypt_ctr()
754 ARIA_VALIDATE_RET( nc_off != NULL ); in mbedtls_aria_crypt_ctr()