Lines Matching refs:tag_len
547 * cipher.auth_tag([ tag_len ] -> string
552 * ciphertext against changes. If the optional integer parameter +tag_len+ is
553 * given, the returned tag will be +tag_len+ bytes long. If the parameter is
564 int nid, tag_len;
567 tag_len = 16;
569 tag_len = NUM2INT(vtag_len);
576 return ossl_get_gcm_auth_tag(ctx, tag_len);
584 ossl_set_gcm_auth_tag(EVP_CIPHER_CTX *ctx, unsigned char *tag, int tag_len)
586 if (!EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_TAG, tag_len, tag))
608 int tag_len;
612 tag_len = RSTRING_LENINT(vtag);
618 ossl_set_gcm_auth_tag(ctx, tag, tag_len);