Lines Matching refs:tag
434 unsigned char *tag, size_t tag_len) in mbedtls_ccm_finish() argument
462 if (tag != NULL) { in mbedtls_ccm_finish()
463 memcpy(tag, ctx->y, tag_len); in mbedtls_ccm_finish()
477 unsigned char *tag, size_t tag_len) in ccm_auth_crypt() argument
499 if ((ret = mbedtls_ccm_finish(ctx, tag, tag_len)) != 0) { in ccm_auth_crypt()
513 unsigned char *tag, size_t tag_len) in mbedtls_ccm_star_encrypt_and_tag() argument
516 add, add_len, input, output, tag, tag_len); in mbedtls_ccm_star_encrypt_and_tag()
523 unsigned char *tag, size_t tag_len) in mbedtls_ccm_encrypt_and_tag() argument
526 add, add_len, input, output, tag, tag_len); in mbedtls_ccm_encrypt_and_tag()
555 const unsigned char *tag, size_t tag_len) in ccm_auth_decrypt() argument
566 if ((ret = mbedtls_ccm_compare_tags(tag, check_tag, tag_len)) != 0) { in ccm_auth_decrypt()
578 const unsigned char *tag, size_t tag_len) in mbedtls_ccm_star_auth_decrypt() argument
582 input, output, tag, tag_len); in mbedtls_ccm_star_auth_decrypt()
589 const unsigned char *tag, size_t tag_len) in mbedtls_ccm_auth_decrypt() argument
593 input, output, tag, tag_len); in mbedtls_ccm_auth_decrypt()