Lines Matching refs:tag
1090 unsigned char *tag, size_t tag_len ) in mbedtls_cipher_write_tag() argument
1116 tag, tag_len ) ); in mbedtls_cipher_write_tag()
1128 (mbedtls_chachapoly_context*) ctx->cipher_ctx, tag ) ); in mbedtls_cipher_write_tag()
1136 const unsigned char *tag, size_t tag_len ) in mbedtls_cipher_check_tag() argument
1181 if( mbedtls_ct_memcmp( tag, check_tag, tag_len ) != 0 ) in mbedtls_cipher_check_tag()
1204 if( mbedtls_ct_memcmp( tag, check_tag, tag_len ) != 0 ) in mbedtls_cipher_check_tag()
1319 unsigned char *tag, size_t tag_len ) in mbedtls_cipher_aead_encrypt() argument
1336 if( output == NULL || tag != output + ilen ) in mbedtls_cipher_aead_encrypt()
1359 input, output, tag_len, tag ) ); in mbedtls_cipher_aead_encrypt()
1368 tag, tag_len ) ); in mbedtls_cipher_aead_encrypt()
1383 ilen, iv, ad, ad_len, input, output, tag ) ); in mbedtls_cipher_aead_encrypt()
1399 const unsigned char *tag, size_t tag_len ) in mbedtls_cipher_aead_decrypt() argument
1416 if( input == NULL || tag != input + ilen ) in mbedtls_cipher_aead_decrypt()
1442 tag, tag_len, input, output ); in mbedtls_cipher_aead_decrypt()
1458 input, output, tag, tag_len ); in mbedtls_cipher_aead_decrypt()
1480 iv, ad, ad_len, tag, input, output ); in mbedtls_cipher_aead_decrypt()